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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
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.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
DataForSEO | Od $0.02436 za wywołanie | JSON |
DataForSEO | Od $0.0102 za wywołanie | JSON |
DataForSEO | Od $0.000724 za wywołanie | JSON |
DataForSEO | $0.004 za wywołanie | JSON |
DataForSEO | Od $0.00162 za wywołanie | JSON |
DataForSEO | Od $0.001105 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.02436 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: targets (object), limit (integer) i exclude_targets (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. DataForSEO Backlinks Domain Intersection działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API DataForSEO.