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
nytimes.com
Example
JSON 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 / run

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)