Backlinks API
The backlinks API for the new link intelligence stack.
Link authority was captured by SaaS dashboards — Ahrefs at $129/mo, Semrush at $139.95/mo, Majestic at $99/mo. All repackage the same upstream backlink data (Majestic, DataForSEO) through per-seat subscriptions. We unbundled the data layer. Call the endpoint, get total backlinks, referring domains, domain rank, spam score, and link type breakdown in one POST. $0.025 per domain. Your agent does the rest.
POST /v1/backlinks/summary · 5 credits per domain
"Austin's top-rated plumbers"
"ABC Plumbing"
"Visit website"
"best plumbers in austin"
"ABC Plumbing - BBB"
These prompts are the new link authority workflow.
Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent runs the research. Replace bracketed domains with your own.
Compare backlink profiles for [mycompany.com] vs [competitor1.com] and [competitor2.com]. Flag who has the most referring domains and the lowest spam score.
Pull backlink summary for a prospect's domain [prospectsite.com]. Tell me their total backlinks, referring domains, and domain rank. Are they link-poor or link-rich?
Run backlink summaries for 20 local competitor domains in [Denver, Colorado]. Flag any with 50+ referring domains and <15 spam score — they're likely open to outreach.
Pull monthly backlink snapshots for our top 5 commercial keywords' ranking domains. Trend the referring domain count month-over-month. Who's gaining links fastest?
What you get back
Live response for a sample plumbing company domain. Real API response, May 2026.
{
"status": "success",
"credits_used": 5,
"data": {
"domain": "abcplumbing.com",
"rank": 342,
"backlinks_total": 1240,
"referring_domains": 87,
"referring_domains_nofollow": 12,
"broken_backlinks": 3,
"spam_score": 8,
"backlinks_by_type": {
"anchor": 980,
"image": 160,
"redirect": 100
}
}
}The link metrics that determine domain authority
Full link count and domain rank
Total number of backlinks pointing to this domain, plus a domain rank score (0-100, higher = more authoritative). Rank is calculated from referring domain quality and velocity.
Unique linking domains and nofollow breakdown
How many unique domains link to this site — more important than total backlinks. Includes nofollow ratio so you can distinguish between high-authority links and brand mentions.
Link health indicator (0-100)
Probability this domain has toxic or artificial backlinks. Scores above 30 suggest manual link-buying or Penguin penalties. Use to assess whether a competitor's link profile is at risk.
Anchor text links, image, and redirects
How backlinks are distributed by type. Anchor-text (named) links carry more ranking weight than image or redirect links. Pair with Backlink Gap API to find similar link sources you're missing.
What link operators ship with this endpoint
Competitive link benchmarking
Agencies pull backlink summaries for all local competitors monthly. Agent flags who gained/lost links, who has the highest domain rank, and whose spam score is rising. Detect link-building threats early.
→ For agenciesPre-pitch link assessment for consultants
Before the sales call, pull backlink data for 5-10 competitors in the prospect's market. Walk in knowing 'you have 50 referring domains, your top 3 competitors have 100+, and you're rank 342 — here's the link strategy gap.' Closes deals with data.
→ For consultantsAcquisition diligence for buyers
Due diligence teams pull backlink summaries for sites under consideration. High spam score (>40) may indicate past Penguin penalties or manual link-buying. Low domain rank relative to content quality suggests growth opportunity.
→ For acquisitionsLink-building target prioritization
Pair this endpoint with [Backlink Gap API](/backlink-gap-api) to find competitor link sources. Your agent runs both: pull your competitors' backlink summary, fetch gap analysis, and build a list of 'who links to them but not us.' Prioritize outreach to high-authority, low-spam sites.
→ Backlink Gap APIWhy not use Ahrefs, Semrush, Majestic, or Moz Link Explorer?
Link authority tools were monopolized by SaaS dashboards. Here's why the API model is fundamentally better for agents.
| Tool | Cost model | Bulk domains | Link freshness | AI-agent ready |
|---|---|---|---|---|
| Ahrefs Starter ($129/mo) | $129–299/mo per seat, $1,548–3,588/year | Yes, via dashboard | Updated monthly | API available but dashboard-first |
| Semrush ($139.95/mo) | $139.95–499.95/mo per seat, $1,679–5,999/year | Yes, via dashboard | Updated monthly | API available but dashboard-first |
| Majestic ($99/mo) | $99–399/mo per seat | Limited batching | Updated monthly | API but no MCP |
| Moz Link Explorer ($99/mo) | $99–599/mo (Moz Standard+) | Limited | Updated monthly | No MCP integration |
| SE Ranking ($159/mo Core) | $159/mo for 1M credits | Yes, up to 5,000 | Updated monthly | API but credit system opaque |
| Monitor Backlinks ($25/mo) | $25–250/mo per user | Limited per plan | Real-time alerts | Dashboard only |
| DataForSEO raw API ($0.05 per domain) | $0.05 per domain + base cost | Yes, unlimited | Updated weekly | REST-only, no MCP |
| LocalSEOData Backlinks API | $0.025 per domain, no seats | Unlimited, one call per domain | Updated weekly | Native MCP + REST, agent-first |
Use it from your agent
Two integration surfaces: MCP for clients that speak MCP, REST API for everything else.
Direct MCP integration
Drop-in support in Claude Desktop, OpenClaw, Hermes Agent, and any MCP-aware client.
Add to your client's MCP config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"localseodata": {
"url": "https://mcp.localseodata.com",
"headers": {
"Authorization": "Bearer sk_live_..."
}
}
}
}REST API
For Perplexity Computer, ChatGPT Custom GPTs, custom agents, and any platform that calls REST endpoints directly.
Base URL:
api.localseodata.comSee the docs for endpoint reference and auth.
Your first call in three lines
Single parameter: `domain` (required). Pass any domain you want to analyze — your own, competitors, prospects, or acquisition targets. One call returns backlink count, referring domains, domain rank, spam score, and link type breakdown. One call = 5 credits (~$0.025).
curl -X POST https://api.localseodata.com/v1/backlinks/summary \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"domain": "abcplumbing.com"
}'$0.025 per domain
5 credits per backlink summary. Free tier on signup includes 50 credits (10 domain checks). Monthly plans start at $19 and never expire. No per-seat fees, no domain caps.
Common questions
What is the Backlinks API?+
POST /v1/backlinks/summary; one call costs 5 credits (~$0.025). This is the data layer underneath competitive link analysis, link-building opportunity detection, and domain acquisition diligence.How big is the backlink index? Does it compare to Ahrefs?+
Where does the backlink data come from?+
How fresh is the backlink data?+
How does this compare to Ahrefs ($129/mo) or Semrush ($139.95/mo)?+
Is Ahrefs Domain Rank the same as your domain rank metric?+
What is spam score? Should I worry if my domain has a high score?+
What is 'referring domains' vs 'total backlinks'?+
Can I analyze my competitors' backlinks with this endpoint?+
Can AI agents use this directly?+
claude_desktop_config.json (or any MCP-compatible client like OpenClaw or Hermes Agent), and Claude calls this endpoint from your prompt without you writing integration code. You just say 'pull backlinks for my competitors' and it happens. REST: Any agent that can make HTTPS calls (ChatGPT Custom GPTs, Perplexity Computer, custom Python agents) hits api.localseodata.com with Authorization: Bearer sk_live_.... The agent receives structured JSON and can reason about it — comparing domain ranks, flagging high-spam competitors, ranking targets by link authority. This is why the MCP integration matters: it's the bridge between human intent ('assess link opportunities') and automated research.What changed in 2026 that made this category exist?+
Which is better: Ahrefs, Semrush, or Majestic?+
Does this work for batch analysis across 100+ domains?+
How does this compare to free tools like Google Search Console or MozBar?+
Often used in the same agent prompt
Backlink Gap API
Sites linking to competitors but not you. Your best link-building targets.
POST /v1/pages/auditPage Audit API
On-page SEO scores, Core Web Vitals, schema markup.
POST /v1/report/competitor-gapCompetitor Gap API
Rankings, reviews, and links vs your local competitors.
GET /v1/keywords/siteKeywords for Site API
What keywords a competitor ranks for. Reverse-engineer their link targets.
Your agent can audit 100 competitor domains faster than you can open Ahrefs.
50 free credits on signup. 10 domain checks included. Batch analyze your competitive set in your first agent prompt.