Skip to main content
This tutorial walks you through sending synchronous requests to the Bright Data ChatGPT Scraper API. By the end, you’ll have working examples for basic search, country-targeted search, and follow-up prompts.

Prerequisites

Request structure

Every synchronous request follows the same pattern:
The url field is always https://chatgpt.com/. The prompt field contains your search query.
Synchronous requests support up to 20 inputs and have a 1-minute timeout. If the request takes longer, the API automatically returns a snapshot_id instead. See async requests.
Dataset ID: gd_m7aof0k82r803d5bjm Send a prompt and get a structured answer with citations:
You should see a 200 response. This takes 15-45 seconds.

Search with country targeting

Use the country field to get location-specific results:

Search with follow-up prompt

Use the additional_prompt field to ask a follow-up question in the same session:
Full ChatGPT Search response schema

Quick reference: dataset ID

Input fields

Output fields (web search signals)

Do not use prompt-derived output fields like is_map, citations, or shopping_visible as proof that a web search ran. Those fields depend on the prompt and the model’s response format. Use web_search_triggered as the canonical signal. Full rules in Query fan-out and web search control.

Output formats

Control the response format with the format query parameter:

Next steps

Async batch requests

Search ChatGPT with hundreds of prompts in a single batch job.

API reference

Full parameter and response field reference.