What AI models answer, and which sources they cite.
Send a prompt to an AI model and get its answer with the sources it cited. Use it to sample answers at scale, or set up trackers that check whether answers mention and cite your brand.
Endpoints and prices
/v1/. Mirrors: DataForSEO AI Optimization.- ChatGPT responsesper response, plus model tokens at the model's list priceIn buildOur priceQueued$0.00018Live$0.00054plus model tokens at listPublished elsewhere
- Claude responsesper response, plus model tokens at the model's list priceIn buildOur priceQueued$0.00018Live$0.00054plus model tokens at listPublished elsewhere
- Visibility tracker: Perplexityper successful answerAvailableOur price$0.01Published elsewhereOur own endpoint
- Visibility tracker: ChatGPTper successful answerAvailableOur price$0.05Published elsewhereOur own endpoint
- Visibility tracker: Claudeper successful answerAvailableOur price$0.10Published elsewhereOur own endpoint
What each endpoint returns
ChatGPT responses
DataForSEO formatThe model's answer text, the URLs and domains it cited, and token usage.
- POST /v1/ai/chat_gpt/llm_responses/live
- POST /v1/ai/chat_gpt/llm_responses/task_post
- POST /v1/ai/chat_gpt/llm_responses/task_get/{id}
Claude responses
DataForSEO formatThe model's answer text, the URLs and domains it cited, and token usage.
- POST /v1/ai/claude/llm_responses/live
- POST /v1/ai/claude/llm_responses/task_post
- POST /v1/ai/claude/llm_responses/task_get/{id}
Visibility tracker: Perplexity
Our own formatFor each saved prompt: whether the answer mentions your brand, cites your domains, and which other sources it names.
- POST /v1/visibility/trackers
Visibility tracker: ChatGPT
Our own formatThe same tracker fields, answered by ChatGPT.
- POST /v1/visibility/trackers
Visibility tracker: Claude
Our own formatThe same tracker fields, answered by Claude.
- POST /v1/visibility/trackers
How AI answers are billed
AI answers don't use fetch levels. A response is billed its base fee plus the model's tokens at that model's list price, and a failed response costs $0.
Queued tasks run in batches and return within hours, which is why their base fee is lower than live.
Freshness and caching
Migrating an existing integration
dg_ API key as the password, or send it as a Bearer token. Request bodies and response parsing stay as they are.| You call today | Call instead |
|---|---|
| https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_responses/live | https://api.dataforgaio.com/v1/ai/chat_gpt/llm_responses/live |
curl -u "any-login:$DATAFORGAIO_API_KEY" \
-H "Content-Type: application/json" \
https://api.dataforgaio.com/v1/ai/chat_gpt/llm_responses/live \
-d '[{
"user_prompt": "What are good trail running shoes for wide feet?",
"model_name": "gpt-4o-mini",
"web_search": true
}]'{
"status_code": 20000,
"tasks": [{
"status_code": 20000,
"cost": 0.01254,
"receipt_id": "rcpt_…",
"result": [{
"model_name": "gpt-4o-mini",
"items": [{ "type": "message", "text": "…" }],
"annotations": [{ "url": "https://…", "title": "…" }]
}]
}]
}Other families
Run the AI answers API on your own inputs.
Start with no deposit. Each task reports its cost and comes with a receipt.