How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ahrefs Site Explorer API

Fetch data from Site Explorer reports

Ahrefs Site Explorer API is one of 43 APIs that Ahrefs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Site Explorer. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 28 operations across 28 paths, and defines 29 schemas. It is described by OpenAPI 3.2.0, at version 3.0.0.

Requests are made against a single base URL, https://api.ahrefs.com/v3.

28 operations 28 paths 29 schemas 28 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.0.0
Base URL
https://api.ahrefs.com/mcp/mcp
Authentication
HTTP Bearer
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

Ahrefs Site Explorer API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (http). By default, every request must be authenticated.

Paths & Operations 28

Across 28 paths, the API surfaces 28 operations — 28 GET. Each is listed below with its method, path, parameters, and response codes.

Site Explorer 28

Fetch data from Site Explorer reports

GET
/site-explorer/domain-rating
Domain rating
site-explorer.domain-rating 3 params → 200400401403429500
GET
/site-explorer/backlinks-stats
Backlinks stats
site-explorer.backlinks-stats 5 params → 200400401403429500
GET
/site-explorer/outlinks-stats
Outlinks stats
site-explorer.outlinks-stats 4 params → 200400401403429500
GET
/site-explorer/metrics
Metrics
site-explorer.metrics 8 params → 200400401403429500
GET
/site-explorer/ai-responses-count
AI Responses Count
site-explorer.ai-responses-count 7 params → 200400401403429500
GET
/site-explorer/refdomains-history
Refdomains history
site-explorer.refdomains-history 7 params → 200400401403429500
GET
/site-explorer/domain-rating-history
Domain Rating history
site-explorer.domain-rating-history 5 params → 200400401403429500
GET
/site-explorer/url-rating-history
URL Rating history
site-explorer.url-rating-history 5 params → 200400401403429500
GET
/site-explorer/pages-history
Pages history
site-explorer.pages-history 9 params → 200400401403429500
GET
/site-explorer/metrics-history
Metrics history
site-explorer.metrics-history 11 params → 200400401403429500
GET
/site-explorer/keywords-history
Keywords history
site-explorer.keywords-history 9 params → 200400401403429500
GET
/site-explorer/metrics-by-country
Metrics by country
site-explorer.metrics-by-country 8 params → 200400401403429500
GET
/site-explorer/pages-by-traffic
Pages by traffic
site-explorer.pages-by-traffic 7 params → 200400401403429500
GET
/site-explorer/all-backlinks
Backlinks
site-explorer.all-backlinks 11 params → 200400401403429500
GET
/site-explorer/broken-backlinks
Broken Backlinks
site-explorer.broken-backlinks 10 params → 200400401403429500
GET
/site-explorer/refdomains
Refdomains
site-explorer.refdomains 10 params → 200400401403429500
GET
/site-explorer/anchors
Anchors
site-explorer.anchors 10 params → 200400401403429500
GET
/site-explorer/linkeddomains
Linked Domains
site-explorer.linkeddomains 9 params → 200400401403429500
GET
/site-explorer/linked-anchors-external
Outgoing external anchors
site-explorer.linked-anchors-external 9 params → 200400401403429500
GET
/site-explorer/linked-anchors-internal
Outgoing internal anchors
site-explorer.linked-anchors-internal 9 params → 200400401403429500
GET
/site-explorer/organic-keywords
Organic keywords
site-explorer.organic-keywords 14 params → 200400401403429500
GET
/site-explorer/organic-competitors
Organic competitors
site-explorer.organic-competitors 14 params → 200400401403429500
GET
/site-explorer/top-pages
Top pages
site-explorer.top-pages 14 params → 200400401403429500
GET
/site-explorer/paid-pages
Paid pages
site-explorer.paid-pages 13 params → 200400401403429500
GET
/site-explorer/pages-by-backlinks
Best pages by backlinks
site-explorer.pages-by-backlinks 10 params → 200400401403429500
GET
/site-explorer/pages-by-internal-links
Best pages by internal links
site-explorer.pages-by-internal-links 9 params → 200400401403429500
GET
/site-explorer/total-search-volume-history
Total search volume history
site-explorer.total-search-volume-history 10 params → 200400401403429500
GET
/site-explorer/crawled-pages
Crawled pages
site-explorer.crawled-pages 8 params → 200400401403429500

Schemas 29

The contract defines 29 schemas that model the data the API accepts and returns. The most detailed are site-explorer.total-search-volume-history (1 property), site-explorer.pages-history (1 property), site-explorer.url-rating-history (1 property), site-explorer.Error_response (1 property). Each schema is shown below with its type and property counts.

site-explorer.total-search-volume-history
object
1 property
site-explorer.broken-backlinks
object
1 property
site-explorer.pages-by-traffic
object
1 property
site-explorer.ai-responses-count
object
1 property
site-explorer.pages-by-backlinks
object
1 property
site-explorer.domain-rating-history
object
1 property
site-explorer.metrics-by-country
object
1 property
site-explorer.domain-rating
object
1 property
site-explorer.organic-competitors
object
1 property
site-explorer.refdomains
object
1 property
site-explorer.refdomains-history
object
1 property
site-explorer.linked-anchors-external
object
1 property
site-explorer.organic-keywords
object
1 property
site-explorer.linkeddomains
object
1 property
site-explorer.keywords-history
object
1 property
site-explorer.backlinks-stats
object
1 property
site-explorer.metrics-history
object
1 property
site-explorer.paid-pages
object
1 property
site-explorer.linked-anchors-internal
object
1 property
site-explorer.all-backlinks
object
1 property
site-explorer.top-pages
object
1 property
site-explorer.pages-by-internal-links
object
1 property
site-explorer.metrics
object
1 property
site-explorer.anchors
object
1 property
site-explorer.crawled-pages
object
1 property
site-explorer.Error_response
object
1 property
site-explorer.url-rating-history
object
1 property
site-explorer.pages-history
object
1 property
site-explorer.outlinks-stats
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ahrefs-site-explorer-api-openapi.yml Raw ↑

Other APIs Ahrefs publishes across the network.

Ahrefs MCP Server
Ahrefs AI visibility API
Ahrefs Anonymous queries API
Ahrefs Backlinks profile API
Ahrefs Batch Analysis API
Ahrefs Brand Radar prompts API
Ahrefs Brand radar reports API
Ahrefs Channels API
Ahrefs Competitors API
Ahrefs Competitors Overview API
Ahrefs Crawler API
Ahrefs Domain Rating API
Where this information came from

This is an independent, third-party profile of Ahrefs Site Explorer API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.