Skip to Content

Backlinks

Get the inbound links pointing to a domain, with optional filters and per-link quality scoring.

GEThttps://api.rankparse.com/v1/backlinks2 credits (3 credits with score=true)API key

Returns 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

domainstringrequired

Domain to query, for example stripe.com. No scheme or path. Must contain a dot.

limitintegerdefault 100

Number 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 importance

importance or recent. Any other value returns 400 invalid_sort.

from_domainstring

Only return links whose linking domain is exactly this domain.

link_typestring

Only 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 false

Send 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

domainstring

The normalized (lowercased) domain you queried.

dataarray

Backlink rows. Empty when the domain has no data.

Show properties
from_domainstring

Domain of the linking page.

from_urlstring

URL of the linking page.

to_urlstring

URL on your domain that is linked to.

anchor_textstring | null

Anchor text, or null when there is none (images, for example).

relstring | null

The link rel attribute, such as nofollow, or null.

link_typestring

hyperlink, image, script, stylesheet, iframe or other. Aggregated rows use aggregate (see below).

crawled_atstring

Date the link was crawled. Empty string on aggregated rows.

domain_host_countinteger

Only on aggregated rows: the number of links from that referring domain.

from_domain_scoreinteger

Only with score=true. Authority score (0 to 100) of the linking domain, 0 when unknown. See Domain Authority.

anchor_typestring

Only with score=true. One of branded, partial, naked, generic, image.

link_qualitystring

Only with score=true. One of high, medium, low, derived from the linking domain score, anchor type and rel.

totalinteger

Number of rows returned in data. It is not the all-time link count for the domain.

limitinteger

The limit value you sent, echoed back as received (the query itself is clamped to 1000).

coverageobject

What 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_usedinteger

2, or 3 with score=true.

credits_remaininginteger

Your 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_domain and invalid_link_type are returned before any charge.
  • Scoring: with score=true the 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_domain and link_type. A cache hit is billed the same as a fresh lookup.
  • Empty results: a domain with no data returns 200 with data: [], never 404.
  • Rate limit: 60 requests per minute per key. See Rate limiting.

Errors

HTTPCodeWhen
400invalid_domaindomain is missing or not a valid domain.
400invalid_sortsort is not importance or recent.
400invalid_from_domainfrom_domain is not a valid domain.
400invalid_link_typelink_type has disallowed characters or is longer than 32 characters.
401invalid_api_keyMissing, invalid or revoked API key.
402insufficient_creditsBalance is lower than the call cost.
402spend_cap_reachedYour monthly spend cap is reached.
429rate_limitedMore than 60 requests in a minute.
503query_timeout, upstream_errorTransient data store problem. Retry after the Retry-After header. Credits are refunded.

See Errors for the error body format.

MCP tool: get_backlinks (accepts domain, limit, score, sort, from_domain, link_type).