BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO API

Backlink History

A domain's backlinks month by month, from January 2023.

POST /api/v1/backlink/history$0.02 / requestAuth: X-API-Key header
seonio / rest apiFrom the API docs
RequestPOST /api/v1/backlink/history
curl -X POST https://seonio.com/api/v1/backlink/history \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $SEONIO_API_KEY" \
  -d '{"target": "moz.com"}'
Response200 OK
{
  "domain_name": "moz.com",
  "history": [
    {
      "type": "backlinks_history",
      "date": "2026-08-31 00:00:00 +00:00",
      "rank": 703,
      "backlinks": 41270350,
      "new_backlinks": 812044,
      "lost_backlinks": 905317,
      "new_referring_domains": 2711,
      "lost_referring_domains": 2390,
      "referring_domains": 182410,
      "referring_main_domains": 139872,
      "broken_backlinks": 521337
    },
    {
      "type": "backlinks_history",
      "date": "2026-09-30 00:00:00 +00:00",
      "rank": 702,
      "backlinks": 41177077,
      "new_backlinks": 798120,
      "lost_backlinks": 891393,
      "new_referring_domains": 2584,
      "lost_referring_domains": 2463,
      "referring_domains": 182531,
      "referring_main_domains": 139950,
      "broken_backlinks": 519804
    }
  ],
  "created_at": "2026-03-04T10:12:40",
  "updated_at": "2026-10-02T07:55:13"
}
Contract

What to send and what comes back

A domain's monthly backlink history from January 2023 to now, one snapshot per month, oldest first. Each month has totals as of that month (backlinks, referring domains) and the changes during it (new and lost backlinks and referring domains). A subdomain counts as its site (news.example.com is example.com). A domain without history is an empty list (still charged).

Request body

Request body
FieldTypeRequiredDescription
target string required Bare domain, e.g. "moz.com".

Response

Response fields
FieldTypeDescription
domain_name string The site the history is for.
history[] object[] One snapshot per month, oldest first; the main fields are below.
history[].date string The snapshot's month, as its last day ("2026-09-30 00:00:00 +00:00").
history[].rank integer Domain rank, 0-1000 (higher = stronger); not Moz domain authority.
history[].backlinks integer Total backlinks as of that month.
history[].referring_domains integer Total referring domains (subdomains counted separately) as of that month.
history[].referring_main_domains integer Total referring root domains as of that month.
history[].new_backlinks integer Backlinks found during the month.
history[].lost_backlinks integer Backlinks lost during the month.
history[].new_referring_domains integer Referring domains gained during the month.
history[].lost_referring_domains integer Referring domains lost during the month.
created_at string | null When the history was first stored (ISO 8601).
updated_at string | null When it was last fetched (ISO 8601).
Code

Copy, paste, add your key

The same request in cURL, Python and Node.js.

cURL
curl -X POST https://seonio.com/api/v1/backlink/history \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"target": "moz.com"}'
Python
import requests

resp = requests.post(
    "https://seonio.com/api/v1/backlink/history",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"target": "moz.com"},
)
print(resp.json())
Node.js
const resp = await fetch("https://seonio.com/api/v1/backlink/history", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
  body: JSON.stringify({"target": "moz.com"}),
});
console.log(await resp.json());
Playground

Run a real request

Send this request from your browser with your API key, or leave the key empty to see the sample response.

A successful run costs $0.02 / request. With no key, you see the sample response and nothing is charged.

POST /api/v1/backlink/historySample response
{
  "created_at": "2026-03-04T10:12:40",
  "domain_name": "moz.com",
  "history": [
    {
      "backlinks": 41270350,
      "broken_backlinks": 521337,
      "date": "2026-08-31 00:00:00 +00:00",
      "lost_backlinks": 905317,
      "lost_referring_domains": 2390,
      "new_backlinks": 812044,
      "new_referring_domains": 2711,
      "rank": 703,
      "referring_domains": 182410,
      "referring_main_domains": 139872,
      "type": "backlinks_history"
    },
    {
      "backlinks": 41177077,
      "broken_backlinks": 519804,
      "date": "2026-09-30 00:00:00 +00:00",
      "lost_backlinks": 891393,
      "lost_referring_domains": 2463,
      "new_backlinks": 798120,
      "new_referring_domains": 2584,
      "rank": 702,
      "referring_domains": 182531,
      "referring_main_domains": 139950,
      "type": "backlinks_history"
    }
  ],
  "updated_at": "2026-10-02T07:55:13"
}
Use cases

What developers build with it

  • Link-growth monitoring month by month.
  • Spotting link losses or spikes after a migration or campaign.
Status codes

The same contract on every endpoint

Error responses are JSON with a "detail" field. It is a message string unless the row above says otherwise.

Status codes
CodeWhen
200Success. The lookup completed and was charged, even if the response is empty. /keywords/global charges only the keywords it looked up.
401Missing or unknown API key.
402Not enough balance. "detail" is an object with "error", "message", "balance_required" and "balance_available". Requests still running hold their price until they finish, so a retry can succeed once they do.
403The account is not verified yet, or it is locked.
409Another AI Visibility Report of this account is running, or a start sent with free_only found no free report or site audit left; the detail says which. Not charged.
422Invalid request (wrong shape or types, a keyword over 200 characters, a URL the page checker cannot audit, a domain that does not exist, or a bare public suffix such as co.uk that groups many websites) — never charged. "detail" is usually a list of validation errors; an answer that retrying cannot change (such as a domain without a DNS record) is a message string with an X-Outcome header naming it: missing, unsupported, too_large or refused_input.
429Rate limit exceeded, never charged. Requests per second per account by plan: 5 on a free account, 10 on Starter, 15 on Pro and 20 on Business; retry after the Retry-After header. Also the page checker's provider limit and the AI Visibility Report's hourly limit on new reports.
503A data provider failed or timed out (X-Outcome: temporary). Nothing was charged; retry after the seconds in the Retry-After header.
FAQ

Questions, answered

Simple answers for developers using the API.

How is API usage priced?

Every endpoint has a published USD price or formula. Requests draw from the same testing, included and Extra Usage balance as website and MCP actions: testing first, then included usage, then Extra Usage expiring soonest.

How do I authenticate API requests?

API actions require a verified account with a free $1 balance or an active subscription balance. Create and manage API keys from your account, then send the key in the X-API-Key header.

Can I monitor API usage and spend?

Yes. Your account shows API usage and remaining balance, so you can track costs while building and running automated workflows.

What are the API rate limits and how do I handle them?

REST API and MCP requests per second depend on your plan: 5 on a free account, 10 on Starter, 15 on Pro and 20 on Business. Website data requests from the same account count toward the same second. Requests above the limit return HTTP 429 with a Retry-After header and are not charged; wait a second and retry.

Free $1 to test · No card required

Turn search insights into measurable growth

Start your SEO research in seconds.

SEO researchREST APIMCP