Ahrefs Organic search API

Organic search data

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 3

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 /organic-keywords Get a site's organic keywords · Organic keywords #
Ask an LLM
“Which keywords is a website ranking for organically?”
“Can I compare a site's organic keywords to a previous date?”
Tell an agent
Get organic keywords for {target} on {date}.
Show {select} for {target} in {country} on {date}.
GET /organic-competitors Find a site's organic competitors · Organic competitors #
Ask an LLM
“Who are the top competitors for a website in a given country?”
“Can I compare a site's competitors to a date in the past?”
Tell an agent
Find organic competitors for {target} in {country} on {date}.
List {select} for {target}'s competitors in {country} on {date}.
GET /top-pages List a site's top organic pages · Top pages #
Ask an LLM
“Which pages on a website get the most organic traffic?”
“Can I see the top pages for a site in a specific country?”
Tell an agent
List top pages for {target} on {date}.
Show {select} for {target}'s top pages in {country} on {date}.

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-organic-search-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-organic-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Site Explorer Organic search API
  description: Fetch data from Site Explorer reports
  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/site-explorer
  description: Ahrefs Site Explorer
security:
- http:
  - read
tags:


# --- truncated at 32 KB (114 KB total) ---
# Full source: https://artifacts.apis.io/ahrefs/openapi/ahrefs-organic-search-api-openapi.yml