Citations
Find which sources AI models cite for a query, with per-model counts; optionally check a specific URL.
Overview
Aggregate the URLs the models cite for a query, ranked by how many models cited each. Pass an optional url and the response adds a lookup telling you whether that specific URL was cited and by which models.
Reference
POST
/v1/citations$0.05/model · billed per model queried, so all 5 models = $0.25. Pass models to query fewer.
Parameters
queryrequired | string | The query to look up cited sources for. |
urloptional | string | Optional URL to check for. When set, the response reports whether it was cited. |
modelsoptional | array of enum (chatgpt | claude | perplexity | gemini | google_ai_overview) | Models to query. Defaults to all. |
Request
curl https://api.cite42.dev/v1/citations \
-X POST \
-H "Authorization: Bearer $CITE42_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "how to optimize for AI search", "url": "yourbrand.com/blog/aeo" }'Response
{
"query": "how to optimize for AI search",
"sources": [
{ "url": "https://…", "title": "…", "citedBy": ["chatgpt", "perplexity"], "count": 2 }
],
"lookup": { "url": "yourbrand.com/blog/aeo", "cited": true, "citedBy": ["chatgpt"] },
"requestId": "…",
"billing": { "cost": { "usd": "0.20" }, "balance": { "usd": "13.92" } }
}