Every report on this site is available as JSON, with CORS enabled (Access-Control-Allow-Origin: *). Domain Rating, link counts and domain statistics (domain, overview, stats, suggest) are free. The other actions need an API key and are charged per call from your balance.
Per-domain reports are served from a pre-aggregated distillate (millisecond lookups); deep pagination and heavy filters fall back to the raw link store.
Data: Own web link index · refreshed roughly monthly · 798,560,911,485 backlinks · 181,132,097 domains.
| URL | key | answers |
|---|---|---|
| https://apibacklinks.com/api/v1/<action>?q=… | header X-API-Key: … or Authorization: Bearer … | the report JSON plus _balance (cost and remaining balance in dollars); errors are HTTP 4xx and are not charged |
| https://apibacklinks.com/api.php?action=<action>&q=… | the same headers, or ?key=… in the URL | the old URL, kept for existing integrations: the report JSON plus _credits (cost and balance in its old units of $0.0001); free actions work without a key |
Machine-readable: OpenAPI · Postman · MCP server. Both return the same report fields. /api/v1/account shows your balance; /api/v1/ping is a free uptime check without a key and checks the key when you send one.
Sign up to get an API key and $100 on your balance for free (no card). Each call is charged from your dollar balance; there is no subscription and no monthly minimum. Top up any amount in your account.
| actions | cost per call | key |
|---|---|---|
| domain, overview, stats, suggest | free | not needed on /api.php |
| bulk_dr (authority), compare, top, dr_distribution, tld_breakdown | $0.0001 | required |
| refdomains, backlinks (refpages), anchors, toppages, anchor_cloud, intersect, linkgap | $0.0002 | required |
| search, keyword | $0.0003 | required |
| export (CSV) | the report's price per started 1,000 rows | required |
Each call is billed once, whatever the number of rows (up to 1,000 per call; deep pagination is capped at 50,000 rows). bulk_dr takes up to 2,000 domains in one call. An empty balance returns HTTP 402, a missing or invalid key HTTP 401. A call the index fails to answer, or one rejected as invalid, is not charged. Top-ups of $500 and more get a volume bonus: +5 % from $500, +10 % from $2,000, +15 % from $5,000.
Answers are kept for a day (the index is rebuilt roughly monthly), so asking the same thing again answers at once; the header X-Cache: HIT marks such an answer. On very big domains (over 300 million backlinks) the "contains" filters of backlinks — target, anchor, title, src, rel, atype — and, over 2 billion, grouping are refused at once with HTTP 400 too_broad (not charged): they would have to read every link. src_exact always works.
Every response is JSON with an ok boolean. List endpoints add rows, total, page, per. Errors: {"ok":false,"error":"…"}.
{ "ok": true, "domain": "moz.com", "summary": { "backlinks": 5681074, "ref_domains": 81774, "dr": 67, ... } }
| action | params | returns |
|---|---|---|
| overview | q | full dashboard: summary (backlinks, ref_domains, dofollow, DR, dates), top-5 referring domains / anchors / pages, DR & TLD distributions |
| domain | q | compact metrics for one domain (DR, backlinks, ref_domains, dofollow) — ideal for programmatic lookups |
| refdomains | q, sort, order, page, per, follow, min_dr, max_dr, min_links, tld, domain, from, to | top-100 referring domains with links, dofollow, donor DR, first/last seen |
| backlinks | q, group=domain|page, sort, order, page, per, follow, rel, ltype, atype, oneper, anchor, src, src_exact, target, title, tld, min_dr, from, to | individual backlinks (or grouped by referring domain / page) |
| anchors | q, sort, order, page, per, anchor, follow, min_links | top-50 anchor texts with counts, dofollow, share % |
| anchor_cloud | q, per | top anchors with share % (fast, distillate) |
| toppages | q, sort, order, page, per, url, follow, min_backlinks | top-50 most-linked target pages with backlinks and dofollow |
| dr_distribution | q | referring-domain count per DR bucket (0-14 … 70-100) |
| tld_breakdown | q | referring domains grouped by TLD |
| action | params | returns |
|---|---|---|
| bulk_dr (alias: authority) | domains — up to 2000, comma/space/newline separated (GET ?domains= or POST body) | DR + backlinks + ref_domains for every domain in one call (missing domains returned with zeros) |
| compare | q — up to 20 domains, comma separated | side-by-side DR, backlinks, ref_domains, dofollow |
| intersect | q — 2 to 10 domains, comma separated | referring domains shared by ≥2 targets (link intersect), ranked by overlap & links |
| linkgap | q — your domain, vs — 1 to 10 competitors, comma separated; min_hits, min_dr, sort=hits|dr|links, per | referring domains of the competitors that do not link to you, with how many competitors each links to and which (from the top-100 referring domains of each domain) |
# Bulk DR — POST a list (best for scoring thousands of domains) curl -s 'https://apibacklinks.com/api/v1/bulk_dr' -H 'X-API-Key: YOUR_KEY' --data-binary $'github.com\nmoz.com\nnytimes.com' # Bulk DR — GET, the old URL with the key in the query curl -s 'https://apibacklinks.com/api.php?action=bulk_dr&domains=github.com,moz.com,ahrefs.com&key=YOUR_KEY' # Link intersect — who links to all three curl -s 'https://apibacklinks.com/api/v1/intersect?q=moz.com,ahrefs.com,semrush.com' -H 'X-API-Key: YOUR_KEY' # Link gap — donors of two competitors that do not link to moz.com, linking to both curl -s 'https://apibacklinks.com/api/v1/linkgap?q=moz.com&vs=ahrefs.com,semrush.com&min_hits=2' -H 'X-API-Key: YOUR_KEY'
Any report as a CSV file in one request: report is the action, then that action's own parameters. backlinks streams up to limit rows (default 10,000, at most 100,000) straight from the index; the other reports give their full list (at most 1,000 rows). The price is the report's price for every started 1,000 rows: the full limit is reserved first, and what was not sent goes back to your balance at the end. A failed export is not charged.
# all dofollow backlinks of moz.com from DR 30+, newest first, up to 50,000 rows curl -s 'https://apibacklinks.com/api/v1/export?report=backlinks&q=moz.com&follow=dofollow&min_dr=30&limit=50000' -H 'X-API-Key: YOUR_KEY' -o moz_backlinks.csv # the old URL works too curl -s 'https://apibacklinks.com/api.php?action=export&report=refdomains&q=moz.com&key=YOUR_KEY' -o moz_refdomains.csv
Google Sheets, n8n, Make, Zapier and webhooks of backlink monitoring: Integrations.
| action | params | returns |
|---|---|---|
| search | q (query), field=anchor|title|url, follow, ltype, tld, domain, sort=seen_date, page, per | full-text search across a sample of backlinks (Elasticsearch) |
| keyword | kw (exact anchor text), sort=rel|links|dr, page, per | sites that receive links with this exact anchor, ranked by DR × links |
| top | page, per, order | domains with Domain Rating 90 and above |
| suggest | q | domain autocomplete |
| stats | — | dataset totals |
The same /api/v1 endpoints, described for tools and AI agents. Prices and refunds are exactly as above.
| what | address | use it for |
|---|---|---|
| OpenAPI 3.1 | https://apibacklinks.com/openapi.json | client generators, Swagger UI, ChatGPT actions, API gateways |
| Postman | https://apibacklinks.com/postman.json | Import → Link in Postman; set the apiKey variable |
| MCP server | https://apibacklinks.com/mcp | Claude, Cursor, VS Code and other MCP clients: 16 tools (overview, DR, bulk DR, referring domains, backlinks, anchors, link intersect, link gap, search …) |
The MCP server speaks Streamable HTTP and takes your API key in the X-API-Key header (or Authorization: Bearer). Each tool call is one API request charged from your balance; get_account and the overview tools are free.
# Claude Code
claude mcp add --transport http apibacklinks https://apibacklinks.com/mcp --header "X-API-Key: YOUR_KEY"
# Claude Desktop, Cursor, VS Code … (mcp.json / claude_desktop_config.json)
{
"mcpServers": {
"apibacklinks": {
"type": "http",
"url": "https://apibacklinks.com/mcp",
"headers": { "X-API-Key": "YOUR_KEY" }
}
}
}
round(100·log(ref_domains+1)/log(2·10⁷)).page (1-based) & per (10–1000). Sorting: sort + order=asc|desc.www. stripped) before lookup./api/v1.