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 GSC Insights API

Fetch data from GSC Insights reports

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

Tagged areas include GSC Insights. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 12 operations across 12 paths, and defines 13 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.

12 operations 12 paths 13 schemas 12 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 GSC Insights API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (http). By default, every request must be authenticated.

Paths & Operations 12

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

GSC Insights 12

Fetch data from GSC Insights reports

GET
/gsc/performance-history
Performance history
gsc.performance-history 10 params → 200400401403429500
GET
/gsc/positions-history
Positions history
gsc.positions-history 10 params → 200400401403429500
GET
/gsc/pages-history
Pages history
gsc.pages-history 10 params → 200400401403429500
GET
/gsc/performance-by-device
Performance by device
gsc.performance-by-device 8 params → 200400401403429500
GET
/gsc/metrics-by-country
Metrics by country
gsc.metrics-by-country 9 params → 200400401403429500
GET
/gsc/ctr-by-position
CTR by position
gsc.ctr-by-position 7 params → 200400401403429500
GET
/gsc/performance-by-position
Performance by position
gsc.performance-by-position 9 params → 200400401403429500
GET
/gsc/keyword-history
Keyword history
gsc.keyword-history 10 params → 200400401403429500
GET
/gsc/keywords
Keywords
gsc.keywords 12 params → 200400401403429500
GET
/gsc/page-history
Page history
gsc.page-history 9 params → 200400401403429500
GET
/gsc/pages
Pages
gsc.pages 10 params → 200400401403429500
GET
/gsc/anonymous-queries
Anonymous queries
gsc.anonymous-queries 9 params → 200400401403429500

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are gsc.pages-history (1 property), gsc.keywords (1 property), gsc.performance-by-device (1 property), gsc.page-history (1 property). Each schema is shown below with its type and property counts.

gsc.pages-history
object
1 property
gsc.performance-by-position
object
1 property
gsc.keyword-history
object
1 property
gsc.ctr-by-position
object
1 property
gsc.positions-history
object
1 property
gsc.performance-history
object
1 property
gsc.pages
object
1 property
gsc.Error_response
object
1 property
gsc.anonymous-queries
object
1 property
gsc.page-history
object
1 property
gsc.performance-by-device
object
1 property
gsc.keywords
object
1 property
gsc.metrics-by-country
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ahrefs-gsc-insights-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 GSC Insights 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.