Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

DataForSEO Google Competitors Domain

API 文件
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/competitors_domain/live

Returns Google organic search competitor domains and comparative ranking metrics for a specified domain, enabling competitive research and market analysis.

價格
自 $0.0126 起美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 4 個選填

Playground

輸入
Target domain or page, e.g. "nike.com".
Maximum number of results (up to 100).
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
輸出範例
回應outputs · 731 B · 33 行
[
  {
    "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"
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

DataForSEO Google Competitors Domain API

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.

Use cases

  • Find which domains rank for the same Google keywords as your site and sort them by overlap.
  • Compare the estimated organic traffic value of a brand against its closest search rivals.
  • Check how many of a competitor's keywords are shared with your domain before planning content.
  • Spot large general sites such as video or marketplace domains that compete for the same queries.

Request

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].

Parameters

NameTypeRequiredDescription
language_codestringNoLanguage code, e.g. "en".
limitintegerNoMaximum number of results (up to 100).
location_codeintegerNoLocation code, e.g. 2840 for the United States.
targetstringNoTarget domain or page, e.g. "nike.com".

Example response

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"
}

Response fields

FieldMeaning
tasks[].result[].items[].domainThe competitor domain found for the target.
tasks[].result[].items[].avg_positionAverage Google ranking position of the competitor across the shared keywords.
tasks[].result[].items[].intersectionsNumber of keywords where both the target and this competitor rank.
tasks[].result[].items[].sum_positionSum 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.etvNumber 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.etvOrganic 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_costEstimated 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_lostCounts of organic rankings that moved down and rankings that were lost for the whole domain.
tasks[].result[].total_countTotal number of competitor domains found for the target.
tasks[].result[].items_countNumber of competitor items returned in this response.

Notes

  • Set limit to control how many competitors come back, up to 100.
  • location_code 2840 is the United States and language_code en is English.
  • Fields such as clickstream_etv and featured_snippet can be null when no data exists for that domain.
  • The first item can be the target domain itself, as nike.com is in the sample response.

Pricing

Billed at the actual cost of each call, about $0.0126 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
DataForSEO每次呼叫 $0.0126 起JSON
DataForSEO每次呼叫 $0.0102 起JSON
DataForSEO每次呼叫 $0.000724 起JSON
DataForSEO每次呼叫 $0.004JSON
DataForSEO每次呼叫 $0.00162 起JSON
DataForSEO每次呼叫 $0.001105 起JSON

問題

常見問題

我要如何使用 DataForSEO Google Competitors Domain API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/competitors_domain/live。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

DataForSEO Google Competitors Domain API 的費用是多少?

每次起 $0.0126,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

DataForSEO Google Competitors Domain API 接受哪些參數?

不需要任何參數。 選填:target (string), limit (integer), location_code (integer) 和 language_code (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

DataForSEO Google Competitors Domain API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 DataForSEO 開發者帳號或 API 金鑰嗎?

不需要。DataForSEO Google Competitors Domain 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。