targetsobject
Object of up to 20 targets keyed "1", "2", ... (domains or subdomains).
https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/liveReferring domains that link to all (or some) of up to 20 target domains, for link-gap analysis.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
This API returns referring domains that link to several target domains at once. It needs a targets object with up to 20 domains or subdomains, and it reports link stats per target for each referring domain.
nike.com and adidas.com but not to your own site.rank and backlinks_spam_score of each referring domain.first_seen.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targets": {"1": "nike.com", "2": "adidas.com"}, "limit": 10}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
exclude_targets | string | No | Optional array of domains whose referrers are excluded. |
limit | integer | No | Maximum number of referring domains to return. |
targets | object | No | Object of up to 20 targets keyed "1", "2", ... (domains or subdomains). |
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": "backlinks",
"function": "domain_intersection",
"limit": 10,
"targets": {
"1": "nike.com",
"2": "adidas.com"
}
},
"id": "11030828-2190-0268-0000-9d9add018aa7",
"path": [
"v3"
],
"result": [
{
"items": [
{
"domain_intersection": {
"1": {
"backlinks": 22221,
"backlinks_spam_score": 0,
"broken_backlinks": 719,
"broken_pages": 715,
"first_seen": "2019-01-22 20:39:27 +00:00",
"lost_date": null,
"rank": 312,
"referring_domains": 1
},
"2": {
"backlinks": 4,
"backlinks_spam_score": 0,
"broken_backlinks": 2,
"broken_pages": 2,
"first_seen": "2021-12-04 09:36:33 +00:00",
"lost_date": null,
"rank": 0,
"referring_domains": 1
}
},
"summary": {
"intersections_count": 2
}
}
],
"items_count": 10,
"targets": {
"1": "nike.com",
"2": "adidas.com"
},
"total_count": 3807
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "1.7381 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "1.7502 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].total_count | Total number of referring domains that match the intersection. Use it to see how many rows exist beyond your limit. |
tasks[].result[].items_count | Number of referring domains returned in this response. |
tasks[].result[].items[].domain_intersection | Object keyed by the same "1", "2" keys you used in targets. Each entry holds the link stats between one referring domain and that target. |
tasks[].result[].items[].domain_intersection.1.backlinks / tasks[].result[].items[].domain_intersection.2.backlinks | Number of backlinks from this referring domain to the target with that key. |
tasks[].result[].items[].domain_intersection.1.broken_backlinks / tasks[].result[].items[].domain_intersection.1.broken_pages | Count of broken backlinks and broken pages for this referring domain and target. Broken links can point to reclaim opportunities. |
tasks[].result[].items[].domain_intersection.1.rank | Rank value of the referring domain for that target. Higher values appear on stronger domains in this sample. |
tasks[].result[].items[].domain_intersection.1.backlinks_spam_score | Spam score for the backlinks from this domain to that target. 0 is the lowest value in the sample. |
tasks[].result[].items[].domain_intersection.1.first_seen / tasks[].result[].items[].domain_intersection.1.lost_date | When the link was first seen, as a UTC timestamp like 2019-01-22 20:39:27 +00:00. lost_date is null when the link has not been marked lost. |
tasks[].result[].items[].summary.intersections_count | Number of targets this referring domain links to. |
"1", "2", and so on. The same keys label the per-target stats in domain_intersection.limit to set how many referring domains come back. Compare it with total_count to see how many matches exist.exclude_targets to drop referring domains that already link to your own site.Billed at the actual cost of each call, about $0.02436 for the request above. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"targets": {
"1": "nike.com",
"2": "adidas.com"
}
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
targetsobjectObject of up to 20 targets keyed "1", "2", ... (domains or subdomains).
limitintegerMaximum number of referring domains to return.
exclude_targetsstringOptional array of domains whose referrers are excluded.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
DataForSEO | 每次呼叫 $0.02436 起 | JSON |
DataForSEO | 每次呼叫 $0.0102 起 | JSON |
DataForSEO | 每次呼叫 $0.000724 起 | JSON |
DataForSEO | 每次呼叫 $0.004 | JSON |
DataForSEO | 每次呼叫 $0.00162 起 | JSON |
DataForSEO | 每次呼叫 $0.001105 起 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次起 $0.02436,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:targets (object), limit (integer) 和 exclude_targets (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。DataForSEO Backlinks Domain Intersection 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。