targetstring
Target domain or page, e.g. "nike.com".
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/competitors_domain/liveReturns Google organic search competitor domains and comparative ranking metrics for a specified domain, enabling competitive research and market analysis.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "dataforseo_labs",
"function": "competitors_domain",
"se_type": "google"
},
"id": "08200930-2190-0386-0000-f5e2b497d476",
"path": [
"v3",
"dataforseo_labs",
"google",
"… 2 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0576 sec.",
"version": "0.1.20260806"
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns Google organic and paid search competitors for a target domain, with keyword overlap and traffic metrics for each competitor. It needs a target domain, and you can set location_code, language_code and limit.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/competitors_domain/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target": "nike.com", "limit": 5, "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
language_code | string | No | Language code, e.g. "en". |
limit | integer | No | Maximum number of results (up to 100). |
location_code | integer | No | Location code, e.g. 2840 for the United States. |
target | string | No | Target domain or page, e.g. "nike.com". |
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": "dataforseo_labs",
"function": "competitors_domain",
"language_code": "en",
"limit": 5,
"location_code": 2840,
"se_type": "google",
"target": "nike.com"
},
"id": "11030829-1614-0386-0000-2ae0341339fd",
"path": [
"v3"
],
"result": [
{
"items": [
{
"avg_position": 13.995931809376211,
"competitor_metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 665888,
"estimated_paid_traffic_cost": 5818161.501292778,
"etv": 8815052.876410568,
"is_down": 124703,
"is_lost": 0
},
"paid": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 10,
"estimated_paid_traffic_cost": 155.61605195701122,
"etv": 196.75402009487152,
"is_down": 1,
"is_lost": 0
}
},
"domain": "nike.com",
"full_domain_metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 665888,
"estimated_paid_traffic_cost": 5818161.501292776,
"etv": 8815052.876410566,
"is_down": 124703,
"is_lost": 386977
},
"paid": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 10,
"estimated_paid_traffic_cost": 155.61605195701122,
"etv": 196.75402009487152,
"is_down": 1,
"is_lost": 17
}
},
"intersections": 665898,
"metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 665888,
"estimated_paid_traffic_cost": 5818161.501292778,
"etv": 8815052.876410568,
"is_down": 124703,
"is_lost": 0
},
"paid": {
"clickstream_age_distribution": null,
"clickstream_etv": null,
"clickstream_gender_distribution": null,
"count": 10,
"estimated_paid_traffic_cost": 155.61605195701122,
"etv": 196.75402009487152,
"is_down": 1,
"is_lost": 0
}
},
"se_type": "google",
"sum_position": 9319863
}
],
"items_count": 5,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"target": "nike.com",
"total_count": 617048
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "19.7067 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "19.7647 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].items[].domain | The competitor domain found for the target. |
tasks[].result[].items[].avg_position | Average Google ranking position of the competitor across the shared keywords. |
tasks[].result[].items[].intersections | Number of keywords where both the target and this competitor rank. |
tasks[].result[].items[].sum_position | Sum of the competitor's ranking positions across the shared keywords. Dividing it by intersections gives avg_position. |
tasks[].result[].items[].metrics.organic.count / tasks[].result[].items[].metrics.organic.etv | Number of organic keywords and estimated traffic value (etv) for the competitor, counted only over the shared keyword set. |
tasks[].result[].items[].full_domain_metrics.organic.count / tasks[].result[].items[].full_domain_metrics.organic.etv | Organic keyword count and estimated traffic value for the competitor's whole domain, not only the shared keywords. |
tasks[].result[].items[].metrics.organic.estimated_paid_traffic_cost | Estimated cost of buying the same organic traffic through paid ads. |
tasks[].result[].items[].full_domain_metrics.organic.is_down / tasks[].result[].items[].full_domain_metrics.organic.is_lost | Counts of organic rankings that moved down and rankings that were lost for the whole domain. |
tasks[].result[].total_count | Total number of competitor domains found for the target. |
tasks[].result[].items_count | Number of competitor items returned in this response. |
limit to control how many competitors come back, up to 100.location_code 2840 is the United States and language_code en is English.clickstream_etv and featured_snippet can be null when no data exists for that domain.nike.com is in the sample response.Billed at the actual cost of each call, about $0.0126 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/dataforseo_labs/google/competitors_domain/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 5,
"target": "nike.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 न करें।
targetstringTarget domain or page, e.g. "nike.com".
limitintegerMaximum number of results (up to 100).
location_codeintegerLocation code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "dataforseo_labs",
"function": "competitors_domain",
"se_type": "google"
},
"id": "08200930-2190-0386-0000-f5e2b497d476",
"path": [
"v3",
"dataforseo_labs",
"google",
"… 2 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0576 sec.",
"version": "0.1.20260806"
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
DataForSEO | $0.0126 प्रति कॉल से | 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/dataforseo_labs/google/competitors_domain/live पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0126 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: target (string), limit (integer), location_code (integer) और language_code (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। DataForSEO Google Competitors Domain SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से DataForSEO API access के लिए आवेदन करने की आवश्यकता नहीं है।