targetsarray
Array of 2 to 10 objects, each with a `key` label and a `target` array of domain or keyword entities.
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/liveMention metrics for 2 to 10 domains or keywords side by side, for share-of-voice comparisons in AI answers.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns LLM mention counts and AI search volume for 2 to 10 targets in one call. Each target is a labeled group of domains or keywords, and the response gives totals plus a per-target breakdown by platform, language, location, source domain and brand entity.
mentions and ai_search_volume values.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targets": [{"key": "nike", "target": [{"domain": "nike.com"}]}, {"key": "adidas", "target": [{"domain": "adidas.com"}]}], "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
language_code | string | No | Language code; default "en". |
location_code | integer | No | Location code; default 2840 (United States). |
platform | string | No | Optional: "google" (AI Overviews) or "chat_gpt". Omit for both. |
targets | array | No | Array of 2 to 10 objects, each with a key label and a target array of domain or keyword entities. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "ai_optimization",
"function": "multi_target_metrics",
"language_code": "en",
"location_code": 2840,
"targets": [
{
"key": "nike",
"target": [
{
"domain": "nike.com"
}
]
}
]
},
"id": "11030828-2190-0652-0000-69973a20683e",
"path": [
"v3"
],
"result": [
{
"aggregated_metrics": {
"brand_entities_category": [
{
"ai_search_volume": 135562,
"key": "product",
"mentions": 5788
}
],
"brand_entities_title": [
{
"ai_search_volume": 8580,
"key": "Nike",
"mentions": 935
}
],
"language": [
{
"ai_search_volume": 137745073,
"key": "en",
"mentions": 216373
}
],
"location": [
{
"ai_search_volume": 137745073,
"key": 2840,
"mentions": 216373
}
],
"platform": [
{
"ai_search_volume": 136695320,
"key": "google",
"mentions": 185713
}
],
"search_results_domain": [
{
"ai_search_volume": 701873,
"key": "www.nike.com",
"mentions": 18950
}
],
"sources_domain": [
{
"ai_search_volume": 101825425,
"key": "www.nike.com",
"mentions": 148275
}
],
"total": {
"ai_search_volume": 137745073,
"mentions": 216373
}
},
"items": [
{
"brand_entities_category": [
{
"ai_search_volume": 112090,
"key": "product",
"mentions": 4795
}
],
"brand_entities_title": [
{
"ai_search_volume": 8292,
"key": "Nike",
"mentions": 905
}
],
"key": "nike",
"language": [
{
"ai_search_volume": 102075470,
"key": "en",
"mentions": 156932
}
],
"location": [
{
"ai_search_volume": 102075470,
"key": 2840,
"mentions": 156932
}
],
"platform": [
{
"ai_search_volume": 101220080,
"key": "google",
"mentions": 132043
}
],
"search_results_domain": [
{
"ai_search_volume": 701873,
"key": "www.nike.com",
"mentions": 18950
}
],
"sources_domain": [
{
"ai_search_volume": 101825425,
"key": "www.nike.com",
"mentions": 148275
}
]
}
],
"items_count": 2,
"offset": 0,
"total_count": 2
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0764 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1111 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].items[].key | The label you gave the target in the request, such as nike or adidas. Use it to match each row to its target. |
tasks[].result[].items[].platform[] | Mentions and AI search volume for that target on each platform, such as google and chat_gpt. The platform name is in key. |
tasks[].result[].items[].sources_domain[] | Domains that AI answers cited as sources for this target. Each row has the domain in key, with mentions and ai_search_volume. |
tasks[].result[].items[].search_results_domain[] | Domains found in search results tied to this target, with mentions and ai_search_volume for each. |
tasks[].result[].items[].brand_entities_title[] | Brand or entity names that appear alongside this target, with their mentions and ai_search_volume. Rival brands can show up here. |
tasks[].result[].items[].brand_entities_category[] | The same brand entities grouped by category, such as product, brand and athlete. |
tasks[].result[].items[].language[] / tasks[].result[].items[].location[] | The same metrics split by language code and location code. The code is in key. |
tasks[].result[].aggregated_metrics.total | Combined mentions and ai_search_volume across all targets in the request. |
tasks[].result[].aggregated_metrics.platform[] / tasks[].result[].aggregated_metrics.sources_domain[] | The same breakdowns as the per-target rows, but combined across all targets. |
tasks[].result[].items_count / tasks[].result[].total_count | Number of target rows returned and the total number of targets. |
targets needs a key label and a target array, for example [{"domain": "nike.com"}]. The key comes back unchanged in items[].key.platform to google or chat_gpt to limit the metrics to one platform. Leave it out to get both.location rows use the numeric code in key, such as 2840. The language rows use the code, such as en.Billed at the actual cost of each call, about $0.102 for the request above. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
{
"key": "nike",
"target": [
{
"domain": "nike.com"
}
]
},
{
"key": "adidas",
"target": [
{
"domain": "adidas.com"
}
]
}
],
"language_code": "en",
"location_code": 2840
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
targetsarrayArray of 2 to 10 objects, each with a `key` label and a `target` array of domain or keyword entities.
location_codeintegerLocation code; default 2840 (United States).
language_codestringLanguage code; default "en".
platformstringOptional: "google" (AI Overviews) or "chat_gpt". Omit for both.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
DataForSEO | A partir de $0.102 por chamada | JSON |
DataForSEO | A partir de $0.0102 por chamada | JSON |
DataForSEO | A partir de $0.000724 por chamada | JSON |
DataForSEO | $0.004 por chamada | JSON |
DataForSEO | A partir de $0.00162 por chamada | JSON |
DataForSEO | A partir de $0.001105 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/live com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.102 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: targets (array), location_code (integer), language_code (string) e platform (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. DataForSEO LLM Mentions Multi-Target Metrics funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do DataForSEO separadamente.