{"slug": "querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and", "title": "Querying Domain Authority and Backlinks Across 223.9M Domains Over REST, MCP, and x402 (Plus a Free 10K CC BY 4.0 Dataset)", "summary": "SpecStream founder and CEO Tarek Etman released a REST and MCP interface, plus an x402 pay-per-call option, for querying authority scores, referring domains and anchor texts across 223.9 million scored domains from the company's web index. The API returns results in a single request without a live crawl, with authority lookups priced at $0.50 per 1,000 calls for batches of up to 10 domains, and SpecStream published a free CC BY 4.0 dataset of the 10,000 most linked commercial domains.", "body_md": "*By Tarek Etman, Founder & CEO, SpecStream*\n\nMost link data lives behind SEO suite seats: a dashboard, a monthly plan, and an API add on priced for agencies. If all you need is \"how authoritative is this domain\" or \"who links to it\" inside a script, a pipeline or an agent, that is a lot of machinery for one number.\n\nThis post shows how to read authority, referring domains and anchor texts for any of **223.9 million scored domains** from SpecStream's own web index, three ways: plain REST with a key, MCP for agents, and x402 pay per call with no account at all. At the end there is a free, CC BY 4.0 dataset of the 10,000 most linked commercial domains you can load in one line of pandas.\n\nFour routes, all read from the index (no live crawl, so a call comes back in one request):\n\n| Route | What it returns | Price | \n|---|---|---|\n| `GET /v1/authority?domains=a.com,b.com` | authority 0 to 100, global rank, referring domain count, outbound host count, up to 100 domains | $0.50 per 1,000 calls of 1 to 10 domains, $2 per 1,000 of 11 to 100 | \n| `GET /v1/backlinks?target=a.com` | inbound or outbound referring domains or linking pages (`mode=domains\\ | pages `,` direction=inbound\\ | \n| {% raw %} `GET /v1/anchors?target=a.com` | anchor texts and most linked pages, ordered by referring domains | $3 per 1,000 calls | \n| `GET /v1/site-intel?domain=a.com` | authority, rank, site profile, published contacts, schema items, outbound hosts and top anchors in one bundle | $10 per 1,000 calls | \n\nEvery route also accepts `POST` with a JSON body.\n\n```\nexport SPECSTREAM_API_KEY=your_key\n\ncurl -s \"https://api.specstream.ai/v1/authority?domains=stripe.com,notion.com,linear.app\" \\\n  -H \"Authorization: Bearer $SPECSTREAM_API_KEY\" | jq '.data.results'\n```\n\nEach result carries `domain`, `known`, `domain_authority` (0 to 100), `authority_raw` (0 to 65535), `global_rank`, `referring_domains` and `outbound_hosts`.\n\nReferring domains for one target, strongest first:\n\n```\ncurl -s \"https://api.specstream.ai/v1/backlinks?target=stripe.com&mode=domains&direction=inbound&limit=20\" \\\n  -H \"Authorization: Bearer $SPECSTREAM_API_KEY\" \\\n  | jq '.data.counts, [.data.referring_domains[] | {domain, domain_authority}]'\n```\n\nThe same response also holds `top_anchors`, so one call gives you the profile and the words people use to link to the site.\n\nBatches of up to 10 domains stay in the cheapest tier, so 10,000 domains cost 1,000 calls, which is $0.50.\n\n``` python\nimport os, requests\n\nAPI = \"https://api.specstream.ai/v1\"\nH = {\"Authorization\": f\"Bearer {os.environ['SPECSTREAM_API_KEY']}\"}\n\ndef authority(domains):\n    out = {}\n    for i in range(0, len(domains), 10):\n        chunk = domains[i:i + 10]\n        r = requests.get(f\"{API}/authority\", params={\"domains\": \",\".join(chunk)}, headers=H, timeout=30)\n        r.raise_for_status()\n        for row in r.json()[\"data\"][\"results\"]:\n            out[row[\"domain\"]] = row\n    return out\n\ndef top_referrers(target, n=10):\n    r = requests.get(f\"{API}/backlinks\",\n                     params={\"target\": target, \"mode\": \"domains\", \"limit\": n},\n                     headers=H, timeout=30)\n    r.raise_for_status()\n    d = r.json()[\"data\"]\n    return d[\"counts\"][\"referring_domains\"], [x[\"domain\"] for x in d[\"referring_domains\"]]\n\nscores = authority([\"stripe.com\", \"adyen.com\", \"paddle.com\", \"lemonsqueezy.com\"])\nfor dom, row in sorted(scores.items(), key=lambda kv: -kv[1][\"domain_authority\"]):\n    print(f\"{dom:20} DA {row['domain_authority']:6.2f}  rank {row['global_rank']}  ref domains {row['referring_domains']}\")\n\ntotal, names = top_referrers(\"paddle.com\")\nprint(total, names)\n```\n\nTypical uses: tier CRM accounts by real web presence, filter outreach lists by authority before anyone writes a note, track a competitor's referring domain count every week, or give an agent a cheap \"is this source credible\" signal.\n\nThe SpecStream MCP server can be narrowed to only the link tools, so the agent's context stays small:\n\n```\n{\n  \"mcpServers\": {\n    \"specstream-links\": {\n      \"url\": \"https://api.specstream.ai/mcp?tools=links\",\n      \"headers\": { \"Authorization\": \"Bearer YOUR_SPECSTREAM_API_KEY\" }\n    }\n  }\n}\n```\n\n`?tools=links` exposes `check_domain_authority`, `get_backlinks`, `get_anchor_texts` and `get_site_intelligence`, and refuses every other tool. Ask Claude, Cursor or any MCP client \"compare the referring domains of linear.app and height.app\" and it calls the index directly.\n\nFor an agent that holds a wallet but no API key, the same four calls take an x402 payment instead:\n\n| Route | Body | Price per call | \n|---|---|---|\n| `POST /v1/x402/authority` | `{\"domain\": \"stripe.com\"}` or`{\"domains\": [...]}` up to 100 | $0.002 | \n| `POST /v1/x402/backlinks` | `{\"target\": \"stripe.com\", \"mode\": \"domains\", \"direction\": \"inbound\", \"limit\": 50}` | $0.01 | \n| `POST /v1/x402/anchors` | `{\"target\": \"stripe.com\", \"limit\": 50}` | $0.01 | \n| `POST /v1/x402/site-intel` | `{\"domain\": \"stripe.com\"}` | $0.025 | \n\nThe first request returns `402 Payment Required` with the payment terms; the client pays and repeats the call. Every route, with its terms, is listed for machines at `https://api.specstream.ai/.well-known/x402`, and the guide with a client example is at [specstream.ai/x402](https://specstream.ai/x402).\n\nIf you want the data offline, for a notebook, a model feature or a chart, we released the 10,000 most linked commercial domains under **CC BY 4.0**:\n\nColumns: `domain`, `authority_rank`, `authority_score` (0 to 65535), `authority_0_100`, `server_platform`, `country`, `org_count`, `product_count`, `job_count`. Government, military and education domains are removed.\n\n``` python\nimport pandas as pd\n\ndf = pd.read_parquet(\"hf://datasets/SpecStreamAI/open-web-authority-10k/data.parquet\")\n\n# Which server platforms do the most linked commercial sites run on?\nprint(df[\"server_platform\"].value_counts().head(6))\n\n# Top 10 most linked domains by country\nprint(df[df[\"country\"] == \"DE\"].nsmallest(10, \"authority_rank\")[[\"domain\", \"authority_0_100\"]])\n```\n\nIn this release Cloudflare fronts 3,069 of the 10,000, nginx 2,261 and Apache 1,782. The build script ships in the repository, so you can see exactly how the sample was cut.\n\nIf you build something on the dataset, I would like to see it. Drop a link in the comments.", "url": "https://wpnews.pro/news/querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and", "canonical_source": "https://dev.to/specstream/querying-domain-authority-and-backlinks-across-2239m-domains-over-rest-mcp-and-x402-plus-a-free-2c5h", "published_at": "2026-12-03 00:40:56+00:00", "updated_at": "2026-12-03 00:46:34.014650+00:00", "lang": "en", "topics": ["agent-protocols", "ai-agents", "developer-tools"], "entities": ["SpecStream", "Tarek Etman", "Stripe", "Notion", "Linear", "Paddle", "Adyen", "Lemon Squeezy"], "also_reported_by": [], "takeaway": "SpecStream exposes authority, backlink and anchor data for 223.9M domains over REST, MCP and x402 pay-per-call, with batches of up to 10 domains staying in the $0.50-per-1,000-calls tier so 10,000 domains cost $0.50.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and", "markdown": "https://wpnews.pro/news/querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and.md", "text": "https://wpnews.pro/news/querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and.txt", "jsonld": "https://wpnews.pro/news/querying-domain-authority-and-backlinks-across-223-9m-domains-over-rest-mcp-and.jsonld"}}