Skip to content
MrKeyword
Data API · Backlinks

Backlink API with referring domains

Page-level backlinks, anchors, follow status and referring domains for any domain, as JSON. 2 credits a call, metered and labelled, on a free developer plan to start.

500 free credits a month on the Developer plan. No credit card.
White website tiles linked by lavender cables into one central website on a pedestal
What you get

Every field a backlink
tool needs.

Two endpoints cover the link profile of any public domain: the links themselves and the domains they come from.

Page-level links

Source URL, target URL and anchor text for each link, newest first, up to 500 per call with offset paging.

Link attributes

Follow, nofollow, sponsored and UGC flags on every link, plus whether it is a text or image link.

First and last seen

When MrKeyword first found each link and when it last saw it, so you can show new and lost links honestly.

Referring domains

Every linking domain with its link count, follow count and authority, strongest first, up to 500 per call.

Gained and lost

Referring domains gained or lost between web-graph releases, ready for a link-monitoring alert.

Totals and anchors

Backlink, follow, nofollow, new-in-30-days and lost totals, plus the 25 most common anchor texts.

Your first call in minutes

Key, call, ship.

  1. A woman holding a large golden key beside an open padlock

    Create a key.

    Sign in free, open Data API in the menu and press Create API key. Keys start mkd_ and are shown once.

  2. A paper plane flying from a terminal to a server and a checked response coming back

    Call an endpoint.

    Send the key as a Bearer header with ?domain=. Every answer says what it charged, and failed calls cost nothing.

  3. A woman watering a shelf of growing plants

    Scale when ready.

    Move to a bigger API plan or add a credit pack in the app. API plans are separate from app plans.

Get a free API key Free to start. No credit card needed.
Example

One request, the whole link list.

GET /domains/backlinks returns page-level links with their attributes and dates. 2 credits per call, whatever the limit.

Request

Send your key as a Bearer header.

curl "https://app.mrkeyword.io/api/v1/domains/backlinks?domain=example.com&limit=100" \
  -H "Authorization: Bearer mkd_your_key"

Response

Field names as the API returns them. The numbers are illustrative.

{
  "data": {
    "domain": "example.com",
    "total": 1840,
    "totals": {
      "backlinks": 1240,
      "follow": 1010,
      "nofollow": 230,
      "referringDomains": 312,
      "new30d": 41,
      "lost": 17,
      "combined": 1840,
      "combinedFollow": 1490,
      "combinedNofollow": 350
    },
    "label": "Measured",
    "asOf": "2026-12-01T06:12:44.000Z",
    "topAnchors": [
      {
        "anchor": "example",
        "links": 220,
        "domains": 96
      },
      {
        "anchor": "(no anchor text)",
        "links": 140,
        "domains": 51
      }
    ],
    "links": [
      {
        "source_url": "https://blog.sample.org/best-tools",
        "source_domain": "blog.sample.org",
        "target_url": "https://example.com/",
        "anchor_text": "Example",
        "nofollow": false,
        "sponsored": false,
        "ugc": false,
        "kind": "text",
        "first_seen": "2026-09-14T10:02:11.000Z",
        "last_seen": "2026-11-28T04:40:09.000Z"
      }
    ],
    "limit": 100,
    "offset": 0,
    "hasMore": true,
    "source": "MrKeyword data",
    "note": "1,840 backlinks in MrKeyword data; 1,240 of them are listed individually."
  },
  "meta": {
    "endpoint": "domains.backlinks",
    "creditsCharged": 2,
    "creditsRemaining": 19998,
    "plan": "starter",
    "generatedAt": "2026-12-04T09:30:00.000Z"
  }
}

total is the headline count in MrKeyword data; links lists the links MrKeyword has individually, newest first. Page with offset while hasMore is true.

Referring domains

Who links, strongest first.

GET /domains/referring-domains returns each linking domain with its link counts and authority, plus what changed between releases. 2 credits per call.

Request

Send your key as a Bearer header.

curl "https://app.mrkeyword.io/api/v1/domains/referring-domains?domain=example.com&limit=100" \
  -H "Authorization: Bearer mkd_your_key"

Response

Field names as the API returns them. The numbers are illustrative.

{
  "data": {
    "domain": "example.com",
    "total": 312,
    "asOf": "2026-11-28T04:40:09.000Z",
    "domains": [
      {
        "domain": "sample.org",
        "ourLinks": 14,
        "follow": 12,
        "firstSeen": "2026-03-02T08:15:00.000Z",
        "lastSeen": "2026-11-28T04:40:09.000Z",
        "position": 48210,
        "authority": 61,
        "own": null
      }
    ],
    "changes": {
      "gained": {
        "total": 9,
        "domains": [
          "newsite.net"
        ]
      },
      "lost": {
        "total": 3,
        "domains": [
          "oldblog.info"
        ]
      }
    },
    "note": "Found in MrKeyword data; not the complete web."
  },
  "meta": {
    "endpoint": "domains.referring",
    "creditsCharged": 2,
    "creditsRemaining": 19998,
    "plan": "starter",
    "generatedAt": "2026-12-04T09:30:00.000Z"
  }
}

position is the linking domain's place in MrKeyword's web graph and authority its MrKeyword Link Authority. own flags a linking domain that shares the checked domain's name, so you can leave out links that were not earned.

Use case

Build your own backlink checker.

Put a domain box on your site and answer it with two calls: the referring domains for the headline and the strongest links, the backlinks list for the detail table.

  • One lookup costs 4 credits (both endpoints)
  • 1,000 lookups a month is 4,000 credits: API Starter at $29 a month
  • Cache answers by domain for a day; links do not change between two visitors
Read the backlink API guide
A code window sending stacked data blocks down a tube into a box with a green check
Use case

Find link prospects.

Pull the referring domains of three competitors, subtract the domains that already link to you, and sort what is left by authority. That is a link-gap list in a few calls.

  • 8 credits for three competitors and your own domain
  • authority on every referring domain, so sorting needs no extra call
  • Score the list in bulk with the domain authority API
A magnifying glass lifting three highlighted website cards out of a grid
Endpoints and credits

Priced per call, in credits.

Base URL https://app.mrkeyword.io/api/v1. The backlink endpoints, plus the ones a link tool usually pairs with them.

Endpoints and credit costs, base URL https://app.mrkeyword.io/api/v1. Prices from the same table GET /catalog serves.
EndpointWhat it returnsCredits
GET /domains/backlinks
domain, limit≤500, offset
Page-level backlinks: source URL, target URL, anchor text, follow, nofollow, sponsored or UGC, first and last seen, plus the top anchors.2
GET /domains/referring-domains
domain, limit≤500
Referring domains with link counts and each one's authority, strongest first, plus domains gained or lost between web-graph releases.2
GET|POST /domains/authority
domain · { domains: [≤100] }
MrKeyword Link Authority 0–100 with its confidence and date, referring-domain and backlink totals, and the domain's web-graph position.1 per domain
GET /domains/overview
domain
Authority, traffic estimate, top referring domains, backlinks and anchors, indexed pages, registration date and hosting in one call.3
Plans

Plans and credit packs.

Buy them from Data API inside MrKeyword. Every workspace starts on the free plan.

Plan

Developer

Free

  • 500 credits a month
  • 60 calls a minute

No card. Enough to build and test.

Plan

API Starter

$29/month

  • 20,000 credits a month
  • 300 calls a minute

A small tool, a browser extension or an agency's internal dashboards.

Plan

API Scale

$299/month

  • 400,000 credits a month
  • 1,500 calls a minute

High volume, or a data feed: contact us for more.

Top up any plan with 10,000 credits for $20, valid 12 months and spent after the month's allowance. API plans are separate from MrKeyword's app plans, so a free workspace can buy any of them.

Know the limits

What the backlink data is, and is not.

  • Not every link on the web

    Backlinks are the links MrKeyword's index has found. No index sees the whole web, so counts are lower than the largest link databases report for big sites.

  • Headline total vs listed links

    total can be larger than the links you can page through: some links are counted at domain level without a page-level record. The note field says so.

  • Freshness varies

    A link counts as lost only after its page was read again without it. A link whose page has not been re-read stays listed with its last_seen date.

  • Estimates are labelled

    Counts are labelled Measured; authority is Derived. Nothing is filled in when MrKeyword has no data for a domain.

Reference

How answers look.

Response shape, labels, errors and rate limits.

Shape
Every success is { data, meta }. meta carries the endpoint, the credits charged and left, your plan and the time. The same numbers come back in the x-mrkeyword-credits-charged and x-mrkeyword-credits-remaining headers.
Honest labels
Each figure says what it is: Measured, Derived, Estimated, Predicted or Not available, with a confidence and an asOf date. A domain or keyword MrKeyword has no data for answers with nulls and a reason, never an invented number.
Errors
400 bad input (the message says what to fix) · 401 missing or revoked key · 402 not enough credits, with required and remaining · 429 over the plan's rate limit, with Retry-After · 500 MrKeyword could not answer, never charged.
Rate limits
Per key: 60, 300, 600 or 1,500 calls a minute depending on the plan. A batch call counts as one call, so sending many items at once is the cheap way through the limit.
Keys
Keys start mkd_, are shown once and can be revoked at any time. Responses allow any origin, but a key in a browser is visible to anyone: call the API from your server.
Your usage
GET /usage is free and shows what is used and left. The Data API screen in MrKeyword shows the same per key, per endpoint and per day, with the last 50 requests.
Good questions

Questions about
the backlink API.

The quick answers before you build.

Get a free API key

Still wondering? Ask us anything

Is there a free backlink API?

Yes. The Developer plan gives 500 credits a month with no card, which is 250 backlinks calls at 2 credits each.

What does a backlinks call return?

Up to 500 page-level links per call with source URL, target URL, anchor text, follow, nofollow, sponsored and UGC flags, link kind, and first and last seen dates, plus totals and the top anchors.

How much does the backlink API cost?

2 credits per backlinks call and 2 credits per referring-domains call. Paid API plans start at $29 a month, and a pack of 10,000 credits is $20.

How fresh is the link data?

Each link carries first_seen and last_seen. A link is reported lost only after its page was read again without it, so a stale link is visible from its last_seen date rather than silently dropped.

Does it count nofollow links?

Yes, and it labels them. Every link has nofollow, sponsored and ugc flags, and the totals split follow from nofollow so you can count either way.

Is it as big as Ahrefs or Majestic?

No. Those companies run some of the largest link indexes there are. MrKeyword's index is smaller and its own, priced for building tools rather than for the deepest counts. Check a few domains you know on the free plan before you build.

Can I resell the data in my own tool?

Yes, building a public tool on the API is what it is for. Call it from your server, show the labels, and contact us for bigger volumes or a data feed.

Learn more

Go deeper in the guides

More guides: The full Data API · Free backlink checker

Your next chapter starts here

Get a key and check
your first backlinks.

Create a free account, open Data API and press Create API key.

Get a free API key 500 credits a month to build with. No credit card.