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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
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.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
DataForSEO | À partir de $0.02436 par appel | JSON |
DataForSEO | À partir de $0.0102 par appel | JSON |
DataForSEO | À partir de $0.000724 par appel | JSON |
DataForSEO | $0.004 par appel | JSON |
DataForSEO | À partir de $0.00162 par appel | JSON |
DataForSEO | À partir de $0.001105 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/dataforseo/v3/backlinks/domain_intersection/live avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
À partir de $0.02436 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Aucun paramètre n’est requis. Facultatif : targets (object), limit (integer) et exclude_targets (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. DataForSEO Backlinks Domain Intersection fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API DataForSEO séparément.