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

ChatGPT Data API overview

Extract answers and shared conversations from ChatGPT as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.

/v1/chatgpt/… Open playground

Key Features

Structured JSON

Clean, normalized records for answers and shared conversations. No HTML parsing on your side.

4 endpoints

Across 2 categories, all under one base path.

Anti-bot handled

Cloudflare, turnstile, Rate Limit cleared for you behind the scenes.

Fresh or cached

Serve instantly from the warm store, or force a live scrape per request.

Regions & Languages

Target specific markets and languages with these parameters:

countrydefault us

Pagination

These endpoints return a single result set (no pagination needed).

Quick Start

Use your dedicated Data API key. Follow this endpoint's method and parameters.

data_api.py
# Install: pip install requests
import json
import os
import requests

params = json.loads("{\"prompt\":\"What is the capital of France?\"}")
response = requests.request(
    "POST", "https://api.capzy.ai/v1/chatgpt/ask",
    headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
    json=params,
    timeout=120,
)
response.raise_for_status()
print(response.json())

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/chatgpt/askAskChat1 credit / run
/v1/data/chatgpt/brand-visibilityBrand VisibilityChat1 credit / run
/v1/data/chatgpt/healthHealthReference1 credit / run
/v1/data/chatgpt/modelsList ModelsReference1 credit / run