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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
DataForSEO | $0.102 प्रति कॉल से | JSON |
DataForSEO | $0.0102 प्रति कॉल से | JSON |
DataForSEO | $0.000724 प्रति कॉल से | JSON |
DataForSEO | $0.004 प्रति कॉल | JSON |
DataForSEO | $0.00162 प्रति कॉल से | JSON |
DataForSEO | $0.001105 प्रति कॉल से | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/llm_mentions/multi_target_metrics/live पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.102 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: targets (array), location_code (integer), language_code (string) और platform (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। DataForSEO LLM Mentions Multi-Target Metrics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से DataForSEO API access के लिए आवेदन करने की आवश्यकता नहीं है।