Prerequisites
- A Bright Data account with an active API key
- Completed the Quickstart
Request structure
Every synchronous request follows the same pattern:url field is always https://chatgpt.com/. The prompt field contains your search query.
The
/scrape endpoint is built for real-time, single-URL requests. Bright Data recommends 20 inputs or fewer per request, a best practice rather than a hard limit, and the endpoint waits up to 1 minute. If collection takes longer, the response is HTTP 202 with a snapshot_id instead of data, and collection continues asynchronously. Fetch the result with async requests or have it pushed to you with webhook delivery.How to scrape ChatGPT Search
Dataset ID:gd_m7aof0k82r803d5bjm
How to send a basic search
Send a prompt and get a structured answer with citations:200 response. Processing time varies with target-site conditions and scraper workload.
Example response
Example response
Search with country targeting
Use thecountry field to get location-specific results:
Example response
Example response
Search with follow-up prompt
Use theadditional_prompt field to ask a follow-up question in the same session:
Example response
Example response
Which output fields does the ChatGPT Search scraper return?
The ChatGPT Search scraper (gd_m7aof0k82r803d5bjm, collect_by_url) returns 32 output fields.
Output fields (32)
Output fields (32)
/scrapers/gd_m7aof0k82r803d5bjm.json
Quick reference: dataset ID
Input fields
Output formats
Control the response format with theformat query parameter:
These are the
format values for /scrape. The full list, NDJSON (default), JSON, JSON lines, CSV and Parquet, and where each applies is in output formats.
Related
Async batch requests
Search ChatGPT with hundreds of prompts in a single batch job.
API reference
Full parameter and response field reference.