Ahrefs Rank Tracker API

Rank tracker.

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rank-tracker/overview Get the Rank Tracker overview · Overview #
Ask an LLM
“How is my site performing in Rank Tracker for a given date?”
“Can I compare my Rank Tracker metrics to a date in the past?”
Tell an agent
Get the Rank Tracker overview for project {project_id} on {date} for {device}.
Show Rank Tracker metrics for {project_id} on {date} by {device}, comparing to {date_compared}.
GET /rank-tracker/competitors-overview Compare competitors ranking in a project · Competitors overview #
Ask an LLM
“How do my site's rankings compare with competitors on mobile vs desktop?”
“Can I see how competitors' traffic changed over time for a project?”
Tell an agent
Get the competitors overview for project {project_id} on {date} for {device}.
Compare my competitors' rankings to {date_compared}.
GET /rank-tracker/competitors-pages Get a competitor's top pages · Competitors pages #
Ask an LLM
“What pages of my competitors rank for my keywords?”
“Can I see only the pages of tracked competitors?”
Tell an agent
Get the top pages of competitors for Rank Tracker project {project_id} on {date} for {device}.
Show competitor pages for {project_id} on {date} by {device}, target and tracked competitors only {target_and_tracked_competitors_only}.
GET /rank-tracker/competitors-domains Get a competitor's domains · Competitors domains #
Ask an LLM
“Which competitor domains rank for my keywords?”
“Can I limit competitor domains to tracked competitors?”
Tell an agent
Get the competitor domains for Rank Tracker project {project_id} on {date} for {device}.
Show competitor domains for {project_id} on {date} by {device}, target and tracked competitors only {target_and_tracked_competitors_only}.
GET /rank-tracker/serp-overview Get a keyword's SERP overview · SERP Overview #
Ask an LLM
“What does the SERP look like for a tracked keyword?”
“Can I see the top positions for a keyword in a specific location?”
Tell an agent
Get the SERP overview for keyword {keyword} in project {project_id} in {country} on {device}.
Show the top {top_positions} SERP positions for {keyword} in {country} for {device} in project {project_id}.
GET /rank-tracker/competitors-stats Get competitors' traffic metrics · Competitors metrics #
Ask an LLM
“How much traffic do my competitors get compared with my site?”
“Can I get competitors' rankings and traffic values for a date?”
Tell an agent
Get competitors' stats for project {project_id} on {date} for {device}.
Show traffic values for my site's competitors.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ahrefs:ahrefs-rank-tracker-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ahrefs-rank-tracker-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ahrefs Rank Tracker API
  description: Ahrefs API v3 gives programmatic access to Ahrefs' SEO, marketing, and AI-search data — backlinks, organic and paid traffic, keywords, SERPs, rank tracking, site audits, brand/AI-search visibility, web and social analytics, and account management. This is the full spec for every tool; each tool also has its own spec under /reference/.
  termsOfService: https://ahrefs.com/terms
  contact:
    name: Ahrefs
    url: https://ahrefs.com/
    email: support@ahrefs.com
  version: 3.0.0
servers:
- url: https://api.ahrefs.com/v3
  description: Ahrefs API v3
security:
- http:
  - read
tags:


# --- truncated at 32 KB (108 KB total) ---
# Full source: https://artifacts.apis.io/ahrefs/openapi/ahrefs-rank-tracker-api-openapi.yml