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 |
问题
向 https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
起价每次调用 $0.02436,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:targets (object), limit (integer) 和 exclude_targets (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。DataForSEO Backlinks Domain Intersection 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。