
One call queries what ChatGPT returns for a keyword in a specific language and location, returning the full AI overview page with text blocks, tables, product recommendations, and source citations. Each item is a content block (text, table, or product section) from the AI answer. The answer contained 5 items on the first page; use `search_after_token` in the next request to get the next page.
1 live route on DataForSEO, from $0.004 per call. Every route below answered our last live test on 2026-10-07; the gateway re-tests them daily.
The upstream price you are metered at, cheapest first. A route without a published price says so.
| Provider | Endpoint | Price |
|---|---|---|
ChatGPT answer page for a queryPOST ai_optimization/chat_gpt/llm_scraper/live/advanced | $0.004$4.00 / 1k calls |
From a real call to the route: DataForSEO.
result[].items[].typeContent block type (e.g., 'chat_gpt_text', 'chat_gpt_table', 'chat_gpt_products')result[].items[].markdownMarkdown-formatted content of the blockresult[].items[].sources[]Sources cited in this blockresult[].items[].sources[].urlURL of the cited sourceresult[].items[].sources[].titleTitle of the sourceresult[].items[].sources[].domainDomain of the sourceresult[].keywordThe keyword queriedresult[].items_countNumber of content blocks on this pageresult[].search_after_tokenCursor token for pagination; pass to next request to get next pageHTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.
| Parameter | Type | Notes | |
|---|---|---|---|
| keyword | str · body | JSON body field | e.g. "best place to buy pokemon cards online" |
| language_code | str · body | JSON body field | e.g. "en" |
| location_code | int · body | JSON body field | e.g. 2840 |
curl -X POST "https://fetchapi.co/api/gw/dataforseo/ai_optimization/chat_gpt/llm_scraper/live/advanced" \
-H "x-api-key: YOUR_KEY" -H "content-type: application/json" \
-d '[{"keyword": "best place to buy pokemon cards online", "language_code": "en", "location_code": 2840}]'call_endpoint("dataforseo.ai_optimization_chat_gpt_llm_scraper", {}, [{"keyword": "best place to buy pokemon cards online", "language_code": "en", "location_code": 2840}]){
"cost": 0.004,
"time": "13.7431 sec.",
"tasks": [
{
"id": "10040440-2697-0629-0000-9dfca5f162b0",
"cost": 0.004,
"data": {
"os": "windows",
"se": "chat_gpt",
"api": "ai_optimization",
"device": "desktop",
"keyword": "best place to buy pokemon cards online",
"function": "live",
"language_code": "en",
"location_code": 2840
},
"path": [
"v3",
"ai_optimization",
"… 2 more"
],
"time": "13.4896 sec.",
"result": [
{
"items": [
{
"type": "…",
"sources": "…",
"markdown": "…",
"rank_group": "…",
"rank_absolute": "…",
"brand_entities": "…"
},
{
"text": "…",
"type": "…",
"table": "…",
"markdown": "…",
"rank_group": "…",
"rank_absolute": "…",
"brand_entities": "…"
},
"… 2 more"
],
"model": "gpt-5-6",
"keyword": "best place to buy pokemon cards online",
"sources": [
{
"url": "…",
"type": "…",
"title": "…",
"domain": "…",
"snippet": "…",
"markdown": "…",
"thumbnail": "…",
"source_name": "…",
"publication_date": "…"
},
{
"url": "…",
"type": "…",
"title": "…",
"domain": "…",
"snippet": "…",
"markdown": "…",
"thumbnail": "…",
"source_name": "…",
"publication_date": "…"
},
"… 1 more"
],
"datetime": "2026-10-04 04:40:25 +00:00",
"markdown": "If you're in the U.S., **TCGplayer is my #1 recommendation for Pokémon cards online**, especially if you're buying individual cards. It has a huge selection, co…",
"check_url": "https://chatgpt.com/?prompt=best%20place%20to%20buy%20pokemon%20cards%20online",
"item_types": [
"chat_gpt_text",
"chat_gpt_table",
"… 1 more"
],
"items_count": 5,
"language_code": "en",
"location_code": 2840,
"brand_entities": null,
"search_results": [
{
"url": "…",
"type": "…",
"title": "…",
"domain": "…",
"breadcrumb": "…",
"description": "…"
},
{
"url": "…",
"type": "…",
"title": "…",
"domain": "…",
"breadcrumb": "…",
"description": "…"
},
"… 2 more"
],
"fan_out_queries": [
"best places to buy Pokemon cards online Pokemon Center TCGplayer Cardmarket eBay authenticity 2026"
],
"…": "1 more fields"
}
],
"status_code": 20000,
"result_count": 1,
"status_message": "Ok."
}
],
"version": "0.1.20260917",
"status_code": 20000,
"tasks_count": 1,
"tasks_error": 0,
"status_message": "Ok."
}Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.