All sites
Data API
ChatGPT Data API
Structured answers and shared-conversation data from ChatGPT.
4endpointsCloudflare · turnstile · Rate Limit handled for you
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 playgroundKey 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 usPagination
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.
# 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| Endpoint | Category | Price / 1k results |
|---|---|---|
/v1/data/chatgpt/askAsk | Chat | 1 credit / run |
/v1/data/chatgpt/brand-visibilityBrand Visibility | Chat | 1 credit / run |
/v1/data/chatgpt/healthHealth | Reference | 1 credit / run |
/v1/data/chatgpt/modelsList Models | Reference | 1 credit / run |