Developers

SEO Portals API

The SEO Portals API gives you programmatic access to our own link index (authority, referring domains, spam risk and link gap) and to quick on-page SEO checks. It's a simple JSON REST API authenticated with an API key.

How do I get an API key?

The API is included in the Pro (1,000 calls a day) and Agency (10,000 calls a day) plans. Sign in, open Account → API keys and create a key. Keys are shown once, so store them safely.

Authentication

Send your key in the Authorization header on every request:

Authorization: Bearer sp_your_api_key

Base URL: https://seoportals.com/api/v1/. All responses are JSON. Errors return a non-2xx status and {"error": "message"}.

GET /api/v1/domain

Authority (0–100), referring domains and link spam risk for any domain, plus its strongest linking sites.

curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/domain?domain=example.com&limit=10"
{
  "domain": "example.com", "found": true, "authority": 71,
  "referring_domains": 18342, "quality_referring_domains": 9120,
  "spam_risk": { "score": 12, "level": "low", "reasons": [] },
  "top_referring_domains": [{ "domain": "wikipedia.org", "authority": 99 }],
  "index_release": "cc-main-2026-sep-oct-nov"
}

GET /api/v1/linkgap

Websites that link to your competitors but not to you, ranked by how many competitors they link to.

curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/linkgap?domain=yoursite.com&competitors=rival1.com,rival2.com"

GET /api/v1/page

On-page SEO data for one URL: title, meta description, canonical, robots, headings, structured data types and pass/fail checks, plus the domain's authority.

curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/page?url=https://example.com/pricing"

GET /api/v1/usage

Your plan's daily limit and how many calls you've used today. Doesn't count towards the limit.

What are the rate limits?

Where does the data come from?

Authority, referring domains and link gap come from our own index of the web's links, built from Common Crawl's web graph (about 145 million websites) and refreshed when a new graph is published. Page data is fetched live by SEOPortalsBot.

Is there a browser extension?

Yes. The SEO Portals Bar Chrome extension uses this API to show any page's authority and on-page SEO as you browse. Download it from your dashboard under Account → API keys.