All sites
Data API
ChatGPT Data API
Structured answers and shared-conversation data from ChatGPT.
4endpointsCloudflare · turnstile · Rate Limit handled for you
Example
nytimes.com
ExampleJSON responseclick the page to trace a field
{
"prompt": "best noise cancelling earbuds under $300",
"answer": "The top picks are the Sony WF-1000XM5 for the best overall noise cancellation and the Bose QuietComfort Ultra for comfort...",
"markdown": "The top picks are the **Sony WF-1000XM5** for the best overall noise cancellation and the **Bose QuietComfort Ultra** for comfort...",
"model": "auto",
"web_search_used": true,
"language": "en",
"sources": [
{
"title": "Best noise cancelling earbuds 2026 — Wirecutter",
"url": "https://www.nytimes.com/wirecutter/reviews/best-earbuds/"
}
],
"created": "2026-08-15T07:00:00+00:00"
}
POST
/v1/data/chatgpt/ask1 credit / runAsk
Query ChatGPT and get a structured answer with markdown, model, web-search flag, sources, and a timestamp. Single-shot Q&A (no pagination).
Handled for you:CloudflareturnstileRate Limit
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| prompt | string | yes | The question or prompt to send. |
| Advanced filters | |||
| country | string | no | Egress country. (default: us) |
| model | string | no | Model to answer with. See /chatgpt/models. Default auto. (default: auto) |
| temperature | number | no | Sampling temperature 0.0-2.0. Lower is more focused. |
| language | string | no | Preferred answer language as an ISO code, e.g. en, de, fr. |
| web_search | boolean | no | Force web search. (default: false) |