{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"4000","max_cost_micro_usd":"4000","quantities":[{"id":"task_errors","label":"任务错误数必须为零","max_quantity":"0","measure":"value","pointer":"/tasks_error","price_micro_usd":"0","quantity_scale":0,"source":"response","unit":"task_error","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"86ee9511-c482-4c93-a55c-c272d2862936","catalogType":"api","categories":["search-research","seo-aeo","data","ai-generation"],"dataPlatform":"dataforseo","dataPlatformLogoUrl":"https://dataforseo.com/wp-content/uploads/2022/04/cropped-favicon_512-1-32x32.png","dataPlatformTranslations":{"ar":"dataforseo","ja":"dataforseo","zh":"dataforseo"},"dataProduct":"general","description":"Get DataForSEO Gemini Response HTML data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.","descriptionTranslations":{"ar":"استخدم Ai Optimization / Gemini / Llm Scraper / Live / Html API عبر OpenAny، مع تقديم JSON payload بصيغة طلب POST الموثقة، لدعم واجهات البحث ومراجعة المصادر. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から Ai Optimization  API を利用し、POST リクエスト形式で JSON payload を指定して、検索画面と出典の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 Ai Optimization  API，按所选实现的 POST 请求格式提供 JSON payload，用于搜索界面和来源核对。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"817b0516-2db2-4004-a6b7-e8b70e782aa5","includedContentHtml":"","inputs":[{"description":"‌ Live Gemini LLM Scraper API HTML provides a raw HTML page of the results for the specified keyword, language (see the List of Languages), and location (see the List of Locations).","json_schema":{"example":[{"keyword":"albert einstein","language_code":"en","location_code":2840}],"items":{"example":[{"keyword":"albert einstein","language_code":"en","location_code":2840}],"nullable":true,"properties":{"expand_citations":{"default":false,"description":"return expanded citation bar in HTML results optional field when enabled, the endpoint will return HTML data from the expanded citation bar; default value: false","nullable":true,"type":"boolean","x-constraints-from-official-description":["default"],"x-required-status":"optional"},"keyword":{"description":"keyword required field you can specify up to 2000 characters in the keyword field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your keyword, please specify it as “%25”; if you need to use the “+” character for your keyword, please specify it as “%2B” learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article","type":"string","x-original-openapi-description":"keyword required field you can specify up to 2000 characters in the keyword field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your keyword , please specify it as “%25”; if you need to use the “+” character for your keyword , please specify it as “%2B” learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article","x-required-status":"required"},"language_code":{"description":"search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/languages example: en","type":"string","x-original-openapi-description":"search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code _by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/languages example: en n","x-required-status":"conditional"},"language_name":{"description":"full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/languages example: English","type":"string","x-required-status":"conditional"},"location_code":{"description":"search engine location code required field if you don't specify location_name or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations of the search engines with their location_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/locations example: 2840","type":"integer","x-required-status":"conditional"},"location_coordinate":{"description":"GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\": 7 the minimum value for \"radius\": 199 (mm) the maximum value for \"radius\": 199999 (mm) example: 53.476225,-2.243572,200","type":"string","x-original-openapi-description":"GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\" : 7 the minimum value for \"radius\" : 199 (mm) the maximum value for \"radius\" : 199999 (mm) example: 53.476225,-2.243572,200","x-required-status":"conditional"},"location_name":{"description":"full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/locations example: United States","type":"string","x-required-status":"conditional"},"tag":{"description":"user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response","nullable":true,"type":"string","x-required-status":"optional"}},"required":["keyword"],"type":"object","x-required-origin":"official_required_array_plus_explicit_unconditional_required_field_prose"},"maxItems":1,"minItems":1,"type":"array","x-openany-retail-scope":"single_native_task_per_sale_execution","x-openapi-version":"3.0.1","x-schema-origin":"official_openapi_with_local_refs_rebased"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"array"}],"logoUrl":"https://dataforseo.com/wp-content/uploads/2022/04/cropped-favicon_512-1-32x32.png","method":"POST","name":"DataForSEO — Ai Optimization / Gemini / Llm Scraper / Live / Html","nameTranslations":{"ar":"DataForSEO — Ai Optimization / Gemini / Llm Scraper / Live / Html","ja":"DataForSEO — Ai Optimization / Gemini / Llm Scraper / Live / Html","zh":"DataForSEO — Ai Optimization / Gemini / Llm Scraper / Live / Html"},"overviewHtml":"\u003ch2\u003eDataForSEO Gemini Response HTML API\u003c/h2\u003e\n\u003cp\u003eRetrieve ai Optimization Gemini Llm Scraper Live Html with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003ebody: body\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edataforseo · DataForSEO — Ai Optimization / Gemini / Llm Scraper / Live / Html\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eSearch interfaces and source review\u003c/strong\u003e: Keep returned sources and query context together.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecost\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned cost field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estatus_code\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned status code field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estatus_message\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned status message field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etasks[].data\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBusiness payload\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etasks[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eIdentifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etasks[].result\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned result\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etasks[].cost\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned cost field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etasks[].path\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned path field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/gemini/llm_scraper/live/html\u0026#39; \\\n  -X POST \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-raw \u0026#39;[\n  {\n    \u0026#34;keyword\u0026#34;: \u0026#34;albert einstein\u0026#34;,\n    \u0026#34;language_code\u0026#34;: \u0026#34;en\u0026#34;,\n    \u0026#34;location_code\u0026#34;: 2840\n  }\n]\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/817b0516-2db2-4004-a6b7-e8b70e782aa5\"\u003ePublished DataForSEO Gemini Response HTML API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eHow should I structure the JSON body?\u003c/h3\u003e\n\u003cp\u003eSend the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.\u003c/p\u003e\n\u003ch3\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\u003c/p\u003e\n\u003ch3\u003eCan I reuse request parameters from another endpoint?\u003c/h3\u003e\n\u003cp\u003eUse the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/dataforseo/dataforseo-serp-youtube-organic-live-advanced\"\u003eDataForSEO — Serp / Youtube / Organic / Live / Advanced\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/dataforseo/dataforseo-keywords-data-bing-search-volume-history-live\"\u003eDataForSEO — Keywords Data / Bing / Search Volume History / Live\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/dataforseo/dataforseo-dataforseo-labs-amazon-ranked-keywords-live\"\u003eDataForSEO — Dataforseo Labs / Amazon / Ranked Keywords / Live\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/dataforseo/dataforseo-ai-optimization-gemini-llm-scraper-live-html?offering=817b0516-2db2-4004-a6b7-e8b70e782aa5","providerId":"dataforseo","publicPath":"/v1/agent-apis/dataforseo/v3/ai_optimization/gemini/llm_scraper/live/html","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Official example · 官方历史成对样例（未运行） (HTTP assumed)","request":{"body":[{"keyword":"albert einstein","language_code":"en","location_code":2840}],"headers":{},"path":{},"query":{}},"response_body":{"cost":0.004,"status_code":20000,"status_message":"Ok.","tasks":[{"cost":0.004,"data":{"api":"ai_optimization","device":"desktop","function":"live","keyword":"albert einstein","language_code":"en","location_code":2840,"os":"windows","se":"gemini"},"id":"02171353-0696-0631-0000-79179632944f","path":["v3","ai_optimization","gemini","llm_scraper","live","html"],"result":[{"datetime":"2026-02-17 11:53:46 +00:00","items":[{"date":"2026-02-17 11:53:47 +00:00","html":"\u003c!DOCTYPE html\u003e\u003c/html\u003e","page":1}],"items_count":1,"keyword":"albert einstein","language_code":"en","location_code":2840}],"result_count":1,"status_code":20000,"status_message":"Ok.","time":"25.1468 sec."}],"tasks_count":1,"tasks_error":0,"time":"25.1849 sec.","version":"0.1.20260209"}}],"seoDescription":"Get DataForSEO Gemini Response HTML data via REST or MCP powered by DataForSEO. Pay per call, no subscription. Get structured JSON with one API key.","updatedAt":"2026-12-03T02:50:39.908Z","usageInstructionsHtml":""}}