Backlinks
Get the inbound links pointing to a domain, with optional filters and per-link quality scoring.
https://api.rankparse.com/v1/backlinks2 credits (3 credits with score=true)API keyReturns links found on other sites that point to the domain you query. Data comes from the link graph snapshot RankParse has pre-processed (see Response format for how snapshots and freshness work), so a lookup is a fast read, not a live crawl.
Query parameters
domainstringrequiredDomain to query, for example stripe.com. No scheme or path. Must contain a dot.
limitintegerdefault 100Number of rows to return. Clamped to 1 to 1000. A non-numeric value falls back to 100. There is no offset: to see more rows, raise limit or narrow the result with from_domain and link_type.
sortstringdefault importanceimportance or recent. Any other value returns 400 invalid_sort.
from_domainstringOnly return links whose linking domain is exactly this domain.
link_typestringOnly return links of this type, lowercased and matched exactly. Stored values are hyperlink, image, script, stylesheet, iframe and other. Allowed characters are a-z, 0-9, _ and - (up to 32).
scorebooleandefault falseSend score=true to add from_domain_score, anchor_type and link_quality to every row. Costs 3 credits instead of 2. Only the exact value true enables it.
Response
domainstringThe normalized (lowercased) domain you queried.
dataarrayBacklink rows. Empty when the domain has no data.
Show propertiesHide properties
from_domainstringDomain of the linking page.
from_urlstringURL of the linking page.
to_urlstringURL on your domain that is linked to.
anchor_textstring | nullAnchor text, or null when there is none (images, for example).
relstring | nullThe link rel attribute, such as nofollow, or null.
link_typestringhyperlink, image, script, stylesheet, iframe or other. Aggregated rows use aggregate (see below).
crawled_atstringDate the link was crawled. Empty string on aggregated rows.
domain_host_countintegerOnly on aggregated rows: the number of links from that referring domain.
from_domain_scoreintegerOnly with score=true. Authority score (0 to 100) of the linking domain, 0 when unknown. See Domain Authority.
anchor_typestringOnly with score=true. One of branded, partial, naked, generic, image.
link_qualitystringOnly with score=true. One of high, medium, low, derived from the linking domain score, anchor type and rel.
totalintegerNumber of rows returned in data. It is not the all-time link count for the domain.
limitintegerThe limit value you sent, echoed back as received (the query itself is clamped to 1000).
coverageobjectWhat the data covers, so you can judge how fresh and how complete it is. source is Public web data; crawl_release, crawl_period (for example January to March 2026) and data_through name the release and its last day, and nothing crawled after that day is included. latest_crawled_at is the newest crawl date among the rows returned (null when the rows carry none). sparse is true when the result has fewer than 25 rows, which makes an incomplete picture more likely. note says in words that the data is a crawl sample, so the counts are a lower bound, and that Search Console or Bing Webmaster Tools hold the links to your own website. Results cached before this field existed carry the release and period but no latest_crawled_at.
credits_usedinteger2, or 3 with score=true.
credits_remainingintegerYour balance after this call.
Row shape depends on the data path that serves your request. With sort=importance, a request may be answered with one aggregated row per referring domain (link_type: "aggregate", anchor_text: null, from_url set to the domain home page, and domain_host_count holding the link count) instead of URL-level rows. sort=recent always returns URL-level rows, newest first. Write client code that tolerates both shapes.
Behavior and limits
- Credits: 2 per call, 3 with
score=true. The charge happens before the lookup. If the lookup fails with a server error, the credits are refunded. - Validation first:
invalid_domain,invalid_sort,invalid_from_domainandinvalid_link_typeare returned before any charge. - Scoring: with
score=truethe linking domains in the page of results are scored in a single extra lookup, so the response may take a little longer. - Caching: results are cached for 30 days per crawl release and per combination of
domain,limit,sort,score,from_domainandlink_type. A cache hit is billed the same as a fresh lookup. - Empty results: a domain with no data returns
200withdata: [], never404. - Rate limit: 60 requests per minute per key. See Rate limiting.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_domain | domain is missing or not a valid domain. |
| 400 | invalid_sort | sort is not importance or recent. |
| 400 | invalid_from_domain | from_domain is not a valid domain. |
| 400 | invalid_link_type | link_type has disallowed characters or is longer than 32 characters. |
| 401 | invalid_api_key | Missing, invalid or revoked API key. |
| 402 | insufficient_credits | Balance is lower than the call cost. |
| 402 | spend_cap_reached | Your monthly spend cap is reached. |
| 429 | rate_limited | More than 60 requests in a minute. |
| 503 | query_timeout, upstream_error | Transient data store problem. Retry after the Retry-After header. Credits are refunded. |
See Errors for the error body format.
Related
MCP tool: get_backlinks (accepts domain, limit, score, sort, from_domain, link_type).