keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advancedGet ChatGPT's answer to a query as a signed-out user would see it. ChatGPT (chatgpt.com) response for a keyword, location, and language as the public web UI shows it.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Returns ChatGPT's answer to a search query as a signed-out user sees it on chatgpt.com. Send a keyword, a location_code and a language_code. The response lists the answer blocks in order, with the brands and source pages ChatGPT shows.
best running shoes 2026.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "best running shoes 2026", "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search query. |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | Location code, e.g. 2840 for the United States. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "ai_optimization",
"device": "desktop",
"function": "live",
"keyword": "best running shoes 2026",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "chat_gpt"
},
"id": "11030828-2190-0629-0000-168fbde78531",
"path": [
"v3"
],
"result": [
{
"brand_entities": [
{
"category": "product",
"markdown": "ASICS Superblast 3",
"title": "ASICS Superblast 3",
"type": "chat_gpt_brand_entity",
"urls": null
}
],
"check_url": "https://chatgpt.com/?prompt=best%20running%20shoes%202026",
"datetime": "2026-11-03 08:28:50 +00:00",
"fan_out_queries": [
"best running shoes 2026 reviews daily trainers stability race shoes"
],
"item_types": [
"chat_gpt_text"
],
"items": [
{
"brand_entities": null,
"markdown": "The best running shoes of **2026** depend on whether you want comfort, speed, cu…",
"rank_absolute": 1,
"rank_group": 1,
"sources": null,
"type": "chat_gpt_text"
}
],
"items_count": 17,
"keyword": "best running shoes 2026"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "16.7166 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "16.8346 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].items[] | Answer blocks in the order ChatGPT shows them. Each block has a type such as chat_gpt_text, chat_gpt_images or chat_gpt_products. |
tasks[].result[].items[].markdown | The text of the block in Markdown. Product blocks can include a price and a short list of pros. |
tasks[].result[].items[].rank_absolute / rank_group | rank_absolute is the block position in the whole answer. rank_group is its position among blocks of the same group. |
tasks[].result[].items[].sources[].title / domain / source_name | Title, domain and publisher name of a page cited for that block. |
tasks[].result[].items[].sources[].publication_date | Publication date of the cited page, when ChatGPT shows one. It is null otherwise. |
tasks[].result[].brand_entities[].title / category | Name and category (for example product) of each brand or product mentioned in the answer. |
tasks[].result[].fan_out_queries | Related search queries ChatGPT used to build the answer. |
tasks[].result[].check_url | A chatgpt.com link that opens the same prompt in the web UI. |
tasks[].result[].item_types / items_count | The block types present in the answer and the total number of items. |
tasks[].result[].datetime | Time the answer was captured, in the format 2026-11-03 08:28:50 +00:00. |
tasks[].result. Each call returns one task with its own id.brand_entities[].urls, sources, and markdown values are null, so check for null before you read them.location_code 2840 for the United States and language_code en for English.$0.004 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "best running shoes 2026",
"language_code": "en",
"location_code": 2840
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
keywordstringSearch query.
location_codeintegerLocation code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
DataForSEO ChatGPT Search AnswerDiese API DataForSEO | $0.004 pro Aufruf | JSON |
DataForSEO | Ab $0.0102 pro Aufruf | JSON |
DataForSEO | Ab $0.000724 pro Aufruf | JSON |
DataForSEO | Ab $0.00162 pro Aufruf | JSON |
DataForSEO | Ab $0.001105 pro Aufruf | JSON |
DataForSEO | $0.004 pro Aufruf | JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advanced mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.004 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: keyword (string), location_code (integer) und language_code (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. DataForSEO ChatGPT Search Answer läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für DataForSEO API beantragen.