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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
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.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
DataForSEO | Da $0.102 per chiamata | JSON |
DataForSEO | Da $0.0102 per chiamata | JSON |
DataForSEO | Da $0.000724 per chiamata | JSON |
DataForSEO | $0.004 per chiamata | JSON |
DataForSEO | Da $0.00162 per chiamata | JSON |
DataForSEO | Da $0.001105 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/live con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.102 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: targets (array), location_code (integer), language_code (string) e platform (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. DataForSEO LLM Mentions Multi-Target Metrics funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API DataForSEO.