> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatGPT Scraper API

> Use the Bright Data [ChatGPT Scraper API](https://brightdata.com/products/web-scraper/chatgpt) to extract structured search results, citations and answers. Handles up to 20 inputs per request.

Send a prompt, get structured search results back. The Bright Data ChatGPT Scraper API handles proxies, browser automation, and parsing so you can focus on your data pipeline.

<Tip>
  New to Bright Data? [Create a free account](https://brightdata.com/products/web-scraper/chatgpt?hs_signup=1\&utm_source=docs) and get **5,000 free credits every month**, no credit card required. That's up to **5,000 ChatGPT records** to start scraping. See the [free tier](/general/account/billing-and-pricing/free-tier).
</Tip>

## How it works

You send a prompt to the Bright Data ChatGPT Scraper API. Bright Data handles the scraping infrastructure and returns clean, structured JSON with the answer, citations, and sources.

```text theme={null}
Your app  -->  Bright Data API  -->  Structured JSON
           POST /datasets/v3/scrape
           Authorization: Bearer YOUR_API_KEY
```

All requests use the `dataset_id` for ChatGPT Search and return results in JSON, NDJSON, or CSV.

## What the response looks like

A single record returned by the Bright Data ChatGPT Scraper API. Run the request yourself in the [quickstart](/products/scrapers/chatgpt/quickstart).

```json theme={null}
{
  "url": "https://chatgpt.com/",
  "prompt": "Top hotels in New York",
  "answer_text": "Here are some of the top-rated hotels in New York City...",
  "model": "gpt-4o",
  "web_search_triggered": true,
  "citations": [
    {
      "title": "Best Hotels in NYC - Travel Guide",
      "url": "https://example.com/nyc-hotels",
      "position": 1
    }
  ],
  "search_sources": [
    {
      "url": "https://example.com/nyc-hotels",
      "title": "Best Hotels in NYC - Travel Guide"
    }
  ],
  "prompt_sent_at": "2026-04-08T12:00:00.000Z"
}
```

## Which capabilities are supported

<CardGroup cols={2}>
  <Card title="Search with Citations" icon="quote-right" href="/api-reference/scrapers/ai-search-apis/chatgpt-search-by-prompt">
    Get structured answers with source citations, positions, and linked references from ChatGPT web search.
  </Card>

  <Card title="Follow-up Prompts" icon="comments" href="/api-reference/scrapers/ai-search-apis/chatgpt-search-by-prompt">
    Send an additional prompt to get follow-up answers within the same search context.
  </Card>

  <Card title="Shopping and Map Results" icon="store" href="/api-reference/scrapers/ai-search-apis/chatgpt-search-by-prompt">
    Detect when ChatGPT returns shopping product cards or map-based results for location queries.
  </Card>

  <Card title="Web Search Control" icon="globe" href="/products/scrapers/concepts/query-fan-out">
    Use `web_search` to allow or disable live web search and `web_search_triggered` to know whether a search actually ran.
  </Card>
</CardGroup>

## Request methods

The Bright Data Scraper API supports two request methods. Choose based on your volume and latency needs.

| Method           | Endpoint                                                         | Best for                                          |
| :--------------- | :--------------------------------------------------------------- | :------------------------------------------------ |
| **Synchronous**  | `/scrape`                                                        | Real-time lookups, up to 20 URLs                  |
| **Asynchronous** | [`/trigger`](/products/scrapers/scrapers-library/async-requests) | Batch jobs, 20 or more URLs, production pipelines |

Learn more in [Understanding sync vs. async requests](/products/scrapers/concepts/sync-vs-async).

## Capabilities and limits

| Capability                     | Detail                                                                                                                                                                                                                                  |
| :----------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Output formats**             | JSON, NDJSON, CSV                                                                                                                                                                                                                       |
| **Max URLs per sync request**  | 20                                                                                                                                                                                                                                      |
| **Max URLs per async request** | Unlimited, up to 1 GB of input per job                                                                                                                                                                                                  |
| **Data freshness**             | Real-time (scraped on demand)                                                                                                                                                                                                           |
| **Delivery options**           | API download, [webhook](/products/scrapers/scrapers-library/data-delivery), [Amazon S3](/products/scrapers/scrapers-library/data-delivery), Snowflake, Azure, GCS ([all options](/products/scrapers/scrapers-library/delivery-options)) |
| **Pricing**                    | Pay per successful record ([see pricing](https://brightdata.com/pricing/web-scraper))                                                                                                                                                   |

## Common questions

<Accordion title="Is the data scraped in real time?">
  Yes. Each request triggers a live ChatGPT search session. There is no cached or stale data. Response times vary depending on prompt complexity and whether web search is enabled.
</Accordion>

<Accordion title="Can I maintain conversation context across requests?">
  No. Each request starts a fresh ChatGPT session. There is no memory or context carried over between requests. To ask a follow-up question within a single request, use the `additional_prompt` field.
</Accordion>

<Accordion title="How is this different from scraping using proxies or Web Unlocker?">
  When scraping using proxies or Web Unlocker, you still need to write and maintain your own parsing logic and update it whenever the target site changes its page structure. The Bright Data Scraper API handles the entire stack: proxy rotation, anti-bot bypassing and parsing. You send a URL or keyword and get clean, structured JSON back, with no scraping infrastructure or parser maintenance on your end.
</Accordion>

## Next steps

<CardGroup cols={3}>
  <Card title="Quickstart" icon="rocket" href="/products/scrapers/chatgpt/quickstart">
    Search ChatGPT with your first prompt in 5 minutes.
  </Card>

  <Card title="Send your first request" icon="bolt" href="/products/scrapers/chatgpt/send-first-request">
    Full code examples in cURL, Python, and Node.js.
  </Card>

  <Card title="API reference" icon="code" href="/api-reference/scrapers/ai-search-apis/chatgpt-search-by-prompt">
    Endpoint specs, parameters, and response schemas.
  </Card>
</CardGroup>
