Skip to content
All sites
Data API

ChatGPT Data API

Structured answers and shared-conversation data from ChatGPT.

4endpointsCloudflare · turnstile · Rate Limit handled for you
chatgpt.comGET/chatgpt/askGET/chatgpt/brand…GET/chatgpt/health{ } JSON
Example (captured live)
chatgpt.com
Example
JSON responseclick the page to trace a field
{
"prompt": "What is the capital of France?",
"answer": "Something went wrong while generating the response. If this issue persists please contact us through our help center at help.openai.com. Retry",
"markdown": "Something went wrong while generating the response. If this issue persists please contact us through our help center at help.openai.com. Retry",
"model": "auto",
"web_search_used": false,
"language": null,
"sources": [
],
"status": "ok",
"created": "2026-08-21T08:39:20.645997+00:00",
"scraped_at": "2026-08-21T08:39:20.646017+00:00"
}
POST/v1/data/chatgpt/ask1 credit / run Verified

Ask

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
NameTypeReqDescription
promptstringyesThe question or prompt to send.
Advanced filters
countrystringnoEgress country. (default: us)
modelstringnoModel to answer with. See /chatgpt/models. Default auto. (default: auto)
temperaturenumbernoSampling temperature 0.0-2.0. Lower is more focused.
languagestringnoPreferred answer language as an ISO code, e.g. en, de, fr.
web_searchbooleannoForce web search. (default: false)