Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

DataForSEO ChatGPT Search Answer

API dokümanları
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advanced

Get 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.

Fiyat
$0.004USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 3 isteğe bağlı

Oynatma Alanı

Girdi
Search query.
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

DataForSEO ChatGPT Search Answer API

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.

Use cases

  • Track which products and brands ChatGPT names for a buying query such as best running shoes 2026.
  • Find which websites ChatGPT cites as sources for a topic, and check whether your domain is one of them.
  • Compare ChatGPT answers for the same keyword across different locations and languages.
  • See the extra queries ChatGPT ran behind the scenes to build its answer.

Request

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].

Parameters

NameTypeRequiredDescription
keywordstringNoSearch query.
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoLocation code, e.g. 2840 for the United States.

Example response

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"
}

Response fields

FieldMeaning
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[].markdownThe text of the block in Markdown. Product blocks can include a price and a short list of pros.
tasks[].result[].items[].rank_absolute / rank_grouprank_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_nameTitle, domain and publisher name of a page cited for that block.
tasks[].result[].items[].sources[].publication_datePublication date of the cited page, when ChatGPT shows one. It is null otherwise.
tasks[].result[].brand_entities[].title / categoryName and category (for example product) of each brand or product mentioned in the answer.
tasks[].result[].fan_out_queriesRelated search queries ChatGPT used to build the answer.
tasks[].result[].check_urlA chatgpt.com link that opens the same prompt in the web UI.
tasks[].result[].item_types / items_countThe block types present in the answer and the total number of items.
tasks[].result[].datetimeTime the answer was captured, in the format 2026-11-03 08:28:50 +00:00.

Notes

  • Results are in tasks[].result. Each call returns one task with its own id.
  • Many brand_entities[].urls, sources, and markdown values are null, so check for null before you read them.
  • Use location_code 2840 for the United States and language_code en for English.
  • To get a plain model answer without the web UI layout, call DataForSEO ChatGPT LLM Response. For the same kind of answer from Gemini, use DataForSEO Gemini Search Answer.

Pricing

$0.004 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
DataForSEO$0.004 çağrı başınaJSON
DataForSEOKullanım başına $0.0102'den itibarenJSON
DataForSEOKullanım başına $0.000724'den itibarenJSON
DataForSEOKullanım başına $0.00162'den itibarenJSON
DataForSEOKullanım başına $0.001105'den itibarenJSON
DataForSEO$0.004 çağrı başınaJSON

Sorular

SSS

DataForSEO ChatGPT Search Answer API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/chat_gpt/llm_scraper/live/advanced adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

DataForSEO ChatGPT Search Answer API'sinin fiyatı nedir?

çağrı başına $0.004, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

DataForSEO ChatGPT Search Answer API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: keyword (string), location_code (integer) ve language_code (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

DataForSEO ChatGPT Search Answer API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir DataForSEO geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. DataForSEO ChatGPT Search Answer, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. DataForSEO API erişimi için ayrıca başvuru yapmanız gerekmez.