Get pages most mentioned in AI answers
Live LLM Mentions Top Mentioned Pages API provides aggregated LLM mentions metrics grouped by the most frequently mentioned pages for the specified target. The results are specific to the selected platform (google for Google’s AI Overview or chat_gpt for ChatGPT), location and language parameters (see the List of Locations & Languages).
/v1/dataforseo/ai_optimization/llm_mentions/top_mentioned_pages/liveRequest parameters
| Parameter | Type | Meaning |
|---|---|---|
| exclude_pagesOptional or conditional | array | array of pages to exclude from the response |
| filtersOptional or conditional | array | array of results filtering parameters |
| include_pagesOptional or conditional | array | array of pages to include in the response |
| initial_dataset_filtersOptional or conditional | array | array of filter expressions applied before aggregation |
| internal_list_limitOptional or conditional | integer | maximum number of elements within internal arrays |
| language_codeOptional or conditional | string | search language code |
| language_nameOptional or conditional | string | full name of search language |
| limitOptional or conditional | integer | maximum number of results in the items array |
| links_scopeOptional or conditional | string | links source scope |
| location_codeOptional or conditional | integer | search location code |
| location_nameOptional or conditional | string | full name of search location |
| offsetOptional or conditional | integer | offset in the results array of the returned mentions data |
| order_byOptional or conditional | array | results sorting rules |
| platformOptional or conditional | string | target platform |
| tagOptional or conditional | string | user-defined task identifier |
| targetRequired | array | array of objects containing target entities |
Response
The JSON response includes status_code, status_message, tasks and task results. Check both the HTTP status and each task's status_code. A depth of 10 can include special search blocks, so it does not always mean ten organic links. The response's cost field is native API data; your final APIMaster fee is shown in the response headers and usage log.
task_post creates a task. Save its task ID, then use the matching tasks_ready and task_get APIs. Task results are private to the account that created them.
Model-restricted API keys must allow dataforseo. Callback URLs are not supported; retrieve asynchronous results with task_get.
Pricing and settlement
$0.1575Estimated priceReference prices use example parameters and default account pricing, checked 2026-12-01. Actual fees vary with parameters, data volume and account pricing; the settled amount is final.
Request a free estimate before running a call. An estimate is not a fixed price or a hard spending cap. Your fee uses the actual settled usage and your account's current group multiplier once. The estimated amount is reserved from your wallet; unused funds are returned after settlement. Model subscriptions and trial credits do not cover these calls.
Use a unique Idempotency-Key for each intended call. Keep the same key and parameters when recovering a call. If the outcome or fee is pending, query /v1/data-requests/{request_id}; do not start another paid call with a new key.
400: invalid parameters; 401: invalid or expired key; 403: key permissions; 402: insufficient wallet or key quota; 409: idempotency conflict or request pending; 429: rate limit; 502/503: request or settlement unavailable. For every failure, preserve the request ID and check settlement before repeating a paid operation.
Code examples
curl --request POST 'https://apimaster.ai/v1/dataforseo/ai_optimization/llm_mentions/top_mentioned_pages/live' \
--header 'Authorization: Bearer YOUR_APIMASTER_KEY' \
--header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY' \
--header 'Content-Type: application/json' \
--data '[
{
"initial_dataset_filters": [
[
"ai_search_volume",
">",
10
]
],
"internal_list_limit": 2,
"language_code": "en",
"limit": 3,
"links_scope": "sources",
"location_code": 2840,
"platform": "chat_gpt",
"target": [
{
"keyword": "bmw",
"search_scope": [
"answer"
]
},
{
"keyword": "auto",
"match_type": "partial_match",
"search_scope": [
"question"
]
}
]
}
]'