Backlinks and Spam Score
backlinksBacklinks of any public domain or page from the DataForSEO Backlinks index: who links to it, how strong and how spammy those links are, and how the profile changed. view overview (default) returns the summary (backlinks, referring domains, referring pages, rank (site strength 0-100: how strong the target website is overall, from all the links pointing to it), backlink spam score 0-100, target spam score, broken backlinks and broken pages, link types and attributes) and the monthly history since January 2019 (backlinks, referring domains, new and lost backlinks and referring domains per month), plus profile: the follow/nofollow split, link types, address endings (TLDs) and countries as shares, and referring IPs and subnets (countries come from the address ending; worldwide endings such as .io and .ai count as no country). view backlinks lists links (source page and domain, target URL, anchor text (the clickable words), link type, dofollow or nofollow, domain_rank (site strength 0-100: how strong the linking website is overall), spam score (0-100: how likely the linking site is spam), first seen (the date the index first found the link) and last seen). sort best (default) puts the links worth the most to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. sort newest puts the links the index found most recently first. Filters: one_per_domain, dofollow_only and max_spam_score. The other tabs: referring_domains (the different websites that link, highest rank first by default; here rank is link value 0-100: how much that website's links are worth to the target, not the website's own site strength, so one website can show a different rank here than its domain_rank in the backlinks view), anchors (the clickable words used, most backlinks first by default; rank is how much the links with those words are worth to the target) and pages (the target's pages that attract most links, most backlinks first; rank is page strength 0-100: how strong that page is); up to 100 rows per call, page with offset. view link_gap is the backlink gap: set target to a competitor's domain and compare_to to your own; it lists the domains that link to the competitor but not to you (your link prospects), highest rank first, where rank is how much that domain's links are worth to the competitor (link value 0-100, not its own site strength), each with its rank, links to the competitor, linking pages, spam score and first seen; one request. By default it leaves out link farms (sites that started linking to the competitor in the last 6 months from 500 or more of their pages) and sites with a spam score above 30; quality_filter in the answer says what was left out. show_link_farms true keeps the farms, max_spam_score 100 keeps every spam score. view audit is the backlink audit: one request per 100 linking sites, the riskiest first (page with offset 0, 100 … 1000; no sort, limit or filters). Its answer adds audit: each site's toxic_score 0-100 (higher is worse) with its reasons in plain words (spam score, spam words in the link text, the link-farm rule, repeated link text, a spam address ending, site strength 0, a burst of new sites in one month; lowered for strong sites), level toxic (60+), review (30-59) or fine, the organization's own saved decision (disavow or keep, set on the workspace Backlinks page), and disavow_file, ready for Google Search Console's disavow tool: toxic sites not marked keep plus every site marked disavow. Google ignores most spam links by itself; a disavow file is only for links known to be spammy or bought. view web_graph is free and never charged: in-house data from Common Crawl's monthly web graph, the target domain's strength (0-100 from its place among about 135 million domains) and the domains linking to it, strongest first (limit and offset page them, 25 rows unless limit says otherwise; a comparison too large for a free question answers too_large; a site on a shared host such as name.github.io is counted as the host as a whole, as Common Crawl counts it, and the answer says so); with compare_to (your own domain) it lists the domains linking to target but not to you; add up to 2 more competitors in targets, and the domains linking to the most of them come first (the best prospects in your niche). It names linking domains only (no individual links, anchors or follow attributes), counts are a lower bound, and many new or small sites are not in it; the overview carries the same free block (web_graph) beside the paid figures. view pages_summary takes targets instead of target (1 to 10 pages or domains, such as the URLs of Google's top 10 for a keyword) and returns each one's link profile in one request: rank (page rank 0-100), backlinks and referring domains; a page the index does not hold has null figures. Credits: 60 per provider request (overview is two: summary and history), charged only when it delivered data (an empty NO_DATA answer is free); an answer any account bought in the last 7 days is served free from the shared cache, with fetched_at naming when it was measured. measure false only reads what is already stored and never charges; refresh true buys a new answer. allow_older true: when no answer from the last 7 days is stored, an older answer DataFluxor kept (kept up to 400 days after it was bought) is shown instead of NOT_MEASURED, free, marked stale true with its fetched_at and age_days and listed in stale_views; credits_to_measure still prices today's figures. With measure, today's figures are still bought, and the older answer stands in only when the purchase is refused or the source fails (purchase_refused says why; nothing charged). A value the index does not hold is null, never zero; NO_DATA means the index has no links for the target. This is a third-party index sample, not a complete list of every link on the web.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "backlinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | The order of a list over the whole index. backlinks view: best (default) puts the links worth the most to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first. referring_domains view: best (most link value), backlinks (most backlinks) or newest. anchors view: best (most backlinks), domains (most referring domains) or newest. pages and link_gap: best only. | best |
| view | No | overview | |
| limit | No | Rows of a list view. | |
| offset | No | Rows of a list view to skip. | |
| target | No | A domain such as example.com (its subdomains included unless subdomains is false) or a full http(s) URL for one page. Required, except with view pages_summary (targets). | |
| measure | No | false: only read stored answers, never charge. | |
| refresh | No | Buy a new answer even when a stored one exists. | |
| targets | No | pages_summary view: 1 to 10 pages (full http(s) URLs) or domains. web_graph view with compare_to: up to 3 competitor domains in all, counting target. | |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. | |
| compare_to | No | link_gap and web_graph views: your own domain, such as example.com; the answer lists domains linking to target but not to it. | |
| subdomains | No | For a domain: include links to its subdomains. | |
| allow_older | No | Show an older kept answer (stale, dated) when none from the last 7 days is stored; free. | |
| dofollow_only | No | backlinks view: only links without nofollow. | |
| max_spam_score | No | backlinks, referring_domains, anchors and link_gap views: leave out rows with a spam score above this (100 keeps all). link_gap uses 30 when it is not sent. | |
| one_per_domain | No | backlinks view: at most one link per referring domain. | |
| idempotency_key | No | Optional. A repeated identical call is answered from the shared cache at no charge. | |
| show_link_farms | No | link_gap view: keep the link farms (sites that started linking in the last 6 months from 500 or more of their pages), which the gap leaves out by default. |