Backlinks API: Backlink Checker for Any Domain
Pricing
from $2.00 / 1,000 backlinks
Backlinks API: Backlink Checker for Any Domain
Get the backlinks of any domain, subdomain or page: linking URL, anchor text, dofollow or nofollow, page and domain rank, spam score, first and last seen. $2.00 per 1,000 backlinks + $0.03 per target; no backlinks, no charge.
Get the backlinks of any domain, subdomain or page: the page that links, the page it links to, anchor text, dofollow or nofollow, page and domain rank, spam score, and when the link was first and last seen. Each target also gets its total backlink count. Live or lost links, all links or one per linking domain. No subscription.
Price: $2.00 per 1,000 backlinks + $0.03 per target. Targets with no backlinks are free.
What you get for each backlink
| Field | What it means |
|---|---|
target | The domain, subdomain or page you asked for |
urlFrom | The page that contains the link |
domainFrom | The domain of that page |
pageFromTitle | Title of the linking page |
urlTo | The page of your target the link points to |
anchor | The clickable text of the link |
linkType | anchor (text link), image, redirect, canonical, alternate or meta |
dofollow | true for dofollow, false for nofollow |
attributes | Link attributes such as nofollow, ugc, sponsored |
rank, pageFromRank, domainFromRank | Strength of the backlink, of the linking page and of the linking domain, 0-100 (DataForSEO's rank, similar to PageRank) |
spamScore | Spam score of the backlink, 0-100 (higher is spammier) |
domainFromCountry, pageFromLanguage | Country of the linking domain and language of the linking page |
textBefore, textAfter | Text right before and after the link |
location | Where on the page the link is (article, footer, nav...) |
linksOnPage | How many identical links that page has |
linksFromDomain | In "one per linking domain" mode: how many backlinks that domain has in total |
isNew, isLost, isBroken | New since the previous check, removed since, or pointing to a page that returns an error |
targetStatusCode | HTTP status of the linked page |
imageUrl | The image, for image links |
firstSeen, lastSeen | When the link was first found and last checked |
Example row (real data, October 2026):
{"target": "apify.com","urlFrom": "https://crawlee.dev/","urlTo": "https://apify.com/","domainFrom": "crawlee.dev","anchor": "Apify platform","linkType": "anchor","dofollow": true,"attributes": ["noopener", "noreferrer"],"spamScore": 0,"domainFromCountry": "US","location": "footer","isNew": false,"isLost": false,"isBroken": false,"targetStatusCode": 200,"firstSeen": "2022-07-14","lastSeen": "2026-10-06"}
Totals per target
One record per target, in the key-value store record TARGETS: totalBacklinks (backlinks matching your filters in the index), backlinksReturned (rows delivered in this run) and hasData (false when there are none; not charged).
Input
{"targets": ["apify.com", "https://example.com/pricing"],"maxBacklinksPerTarget": 100,"mode": "all","status": "live","sortBy": "rank","dofollowOnly": false,"includeSubdomains": true}
- targets: up to 50 per run.
https://,www.and a final/are removed from domains; duplicates are removed before anything is charged.- A domain (
example.com) includes its subdomains (turn offincludeSubdomainsto exclude them). - A page (anything with a path, like
example.com/pricing) gives only the links to that exact URL. - Entries that are not public websites (IP addresses,
localhost, ports) are skipped and listed in the run's status message.
- A domain (
- maxBacklinksPerTarget: 1 to 10,000. Default 100.
- mode:
all(default),onePerDomain(the strongest link from each linking domain: a list of referring domains) oronePerAnchor. - status:
live(default),lostorall. - sortBy:
rank(default, strongest backlinks first),domainRank(strongest linking domains first) ornewest. - dofollowOnly: only dofollow links. Off by default.
- dryRun: returns clearly fake sample rows (marked
sampleData: true) to test an integration. Free.
Pricing, exactly
| One target, backlinks returned | You pay |
|---|---|
| 10 | $0.05 |
| 100 | $0.23 |
| 1,000 | $2.03 |
- $0.03 per target ("Target with backlinks"), charged once per target, only when its first backlinks arrive. Apify may also bill its small standard Actor start fee.
- $0.002 per backlink row ("Backlink").
- Targets with no backlinks, skipped entries and failed requests are never charged.
- Your maximum cost per run is respected before each request: if it covers only part of the work, the rest is not requested and not charged, and the status message tells you.
- Users on the Apify Free plan can look up 1 target and 10 backlinks per run. Any paid Apify plan removes the limit.
Where the data comes from
Backlinks come from the DataForSEO Backlinks API, which runs its own web crawler and link index. Ranks and spam scores are DataForSEO's own metrics: they are not Ahrefs, Moz or Semrush numbers and will not match them. Each row shows lastSeen, the last time the crawler checked that link.
Use it from code or an AI agent
Call it through the Apify API or the Apify MCP server like any Actor. Backlink rows are in the default dataset (view overview for the main columns); totals per target are in the key-value store record TARGETS; a run summary (counts and amount charged) is in the record OUTPUT.
More SEO data from the same publisher: Ranked Keywords & Domain Overview API (touchrock/ranked-keywords) and Keyword Search Volume & Keyword Research API (touchrock/keyword-volume).
Limits
- No historical charts of backlink growth.
- At most 10,000 backlinks per target per run.
Support
Open an issue on the Actor's Issues tab.