Audit Domain Authority and Backlink Gaps Across 223.9M Domains for Free With Claude Code
Ahrefs puts its API on the Enterprise plan at $1,499 a month, billed yearly. Semrush asks $499.92 a month, billed yearly, for its SEO API. Most teams only need three answers: how far behind their rivals they are, which s
Ahrefs puts its API on the Enterprise plan at $1,499 a month, billed yearly. Semrush asks $499.92 a month, billed yearly, for its SEO API. Most teams only need three answers: how far behind their rivals they are, which sites link to the rivals and not to them, and whether their anchor text looks like spam.
We packed those three answers into a free Claude Code skill: github.com/Specstreamai/open-backlink-audit, MIT licensed. It runs on the SpecStream Link Graph, our own web index that scores 223.9M domains. No API key, no account, no card.
Install in two lines
In Claude Code:
/plugin marketplace add Specstreamai/open-backlink-audit
/plugin install open-backlink-audit@specstream
Then ask: "Run a backlink audit for yourbrand.com against rival-one.com and rival-two.com."
Or run the script on its own
scripts/backlink_audit.py is one Python 3 file with no dependencies:
python3 skills/open-backlink-audit/scripts/backlink_audit.py \
--domain yourbrand.com --competitors rival-one.com,rival-two.com \
--brand "Your Brand" --keywords "best crm software"
# see the format first, fictional data, no network
python3 skills/open-backlink-audit/scripts/backlink_audit.py --offline-sample
It writes seo-audit/report.md, seo-audit/gap.csv and seo-audit/badge.md.
What the report finds
- Authority gap. SpecStream DA from 0 to 100, global rank and referring domains for you and each rival, with each one's lead over you in points.
- Referring domain gap. Every domain that links to a rival and not to you, ranked by how many rivals it links to, then by its own authority. This is your outreach list.
- Anchor spam check. Brand, URL, generic and exact match shares, weighted by referring domains. Any single non brand anchor that carries more than 10% of the profile gets flagged, because that is the pattern Google's link spam policy describes.
- Site profile. Pages indexed, outbound hosts, structured data and your most linked pages.
- Fix list. The ranked work, built from the four sections above.
Sample output on fictional data:
| Domain | SpecStream DA | Global rank | Referring domains | Gap vs you |
|----------------------------|--------------:|------------:|------------------:|-----------:|
| rival-one.example | 58.7 | 20,411 | 2,140 | +17.5 |
| rival-two.example | 49.9 | 70,522 | 905 | +8.7 |
| yourbrand.example (you) | 41.2 | 182,340 | 310 | |
Without a key the script uses SpecStream's free tools, 10 runs a day per connection. A full audit of you and three rivals uses 6. Answers are cached in seo-audit/.cache/, so a rerun the same day costs nothing.
A live authority badge for your README
seo-audit/badge.md holds an SVG that renders your current SpecStream DA and global rank, straight from the Link Graph. It is about 1 KB, cached for a day at the edge, and free:
[](https://specstream.ai/backlinks-api)
The open dataset behind it
open-web-authority-10k lists the 10,000 most linked commercial domains with their authority rank and score, under CC BY 4.0. Use it as a benchmark set, a seed list for outreach, or training data.
When you outgrow the free tier
Set SPECSTREAM_API_KEY and the script calls the keyed Link Graph API with no daily cap and up to 100 referring domains per site. Pricing on the Backlinks API:
| Endpoint | Per 1,000 calls |
|---|---|
GET /v1/authority (1 to 10 domains a call) |
$0.50 |
GET /v1/backlinks (up to 100 rows a call) |
$4 |
GET /v1/anchors |
$3 |
No seats, no monthly fee, and $2 of free credit with no card.
Prefer a browser? The free backlink checker compares up to five domains side by side, and domain intel gives one domain's full profile. For the full comparison with Ahrefs, Semrush and Moz, read Backlink and domain authority API without Ahrefs.
Issues and pull requests are welcome on the repo.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.