Ahrefs Management API

Project management.

GitHub OpenAPI

Operations 22

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 /management/projects List my projects · Projects #
Ask an LLM
“Which projects do I have in Ahrefs?”
“Can I list only the projects I own?”
Tell an agent
List my projects.
Show projects I own with access {access}.
POST /management/projects Create a project · Projects #
Ask an LLM
“How do I create a new project for a website?”
“Can I set the project's access and folder when creating it?”
Tell an agent
Create a {mode} project for {url} on {protocol} named {project_name}.
Create project {project_name} for {url} ({protocol}) in folder {folder_id}.
DELETE /management/projects Delete projects · Projects #
Ask an LLM
“How do I delete projects I no longer need?”
“Can I remove several projects at once?”
Tell an agent destructive · confirm first
Delete projects {project_ids}.
Remove the projects {project_ids} from my account.
PATCH /management/update-project Change a project's access or folder · Update Project #
Ask an LLM
“How do I change who can see a project?”
“Can I move a project to a different folder?”
Tell an agent
Set project {project_id} access to {access}.
Move project {project_id} to folder {folder}.
GET /management/project-keywords List keywords in a project · Keywords #
Ask an LLM
“Which keywords are tracked in a project?”
“Can I see the keywords of one Rank Tracker project?”
Tell an agent
List the keywords in project {project_id}.
Show tracked keywords for project {project_id}.
PUT /management/project-keywords Add keywords to a project · Keywords #
Ask an LLM
“How do I add new keywords to a Rank Tracker project?”
“Can I assign locations to keywords when adding them?”
Tell an agent
Add keywords {keywords} to project {project_id} in locations {locations}.
Track {keywords} for {locations} in project {project_id}.
PUT /management/project-keywords-delete Remove keywords from a project · Delete Keywords #
Ask an LLM
“How do I stop tracking keywords in a project?”
“Can I delete keywords from a Rank Tracker project?”
Tell an agent destructive · confirm first
Delete keywords {keywords} from project {project_id}.
Stop tracking {keywords} in project {project_id}.
PUT /management/project-keywords-tags Tag keywords in a project · Add Keywords Tags #
Ask an LLM
“How do I tag keywords in a Rank Tracker project?”
“Can I replace a keyword's tags instead of adding to them?”
Tell an agent
Add tags {tags} to keywords {keywords} in project {project_id}.
Set keyword tags in project {project_id} to {tags} for {keywords}, mode {update_mode}.
PUT /management/project-keywords-tags-delete Untag keywords in a project · Delete Keywords Tags #
Ask an LLM
“How do I remove tags from keywords in a project?”
“Can I clear a keyword's tags?”
Tell an agent destructive · confirm first
Remove tags {tags} from keywords {keywords} in project {project_id}.
Untag {keywords} in project {project_id}, keeping tags {tags}.
GET /management/keyword-list-keywords List keywords in a keyword list · Keywords list #
Ask an LLM
“Which keywords are in a keyword list?”
“Can I see the keywords of a saved keyword list?”
Tell an agent
List the keywords in keyword list {keyword_list_id}.
Show keyword list {keyword_list_id}.
PUT /management/keyword-list-keywords Add keywords to a keyword list · Keywords list #
Ask an LLM
“How do I add keywords to a keyword list?”
“Can I grow a keyword list by appending keywords?”
Tell an agent
Add keywords {keywords} to keyword list {keyword_list_id}.
Append {keywords} to keyword list {keyword_list_id}.
PUT /management/keyword-list-keywords-delete Remove keywords from a keyword list · Keywords list #
Ask an LLM
“How do I remove keywords from a keyword list?”
“Can I shrink a keyword list by deleting keywords?”
Tell an agent destructive · confirm first
Delete keywords {keywords} from keyword list {keyword_list_id}.
Remove {keywords} from keyword list {keyword_list_id}.
GET /management/project-competitors List competitors of a project · Competitors #
Ask an LLM
“Who are the competitors tracked in a project?”
“Can I see a project's competitors?”
Tell an agent
List the competitors of project {project_id}.
Show competitors tracked in project {project_id}.
POST /management/project-competitors Add competitors to a project · Competitors #
Ask an LLM
“How do I add competitors to a Rank Tracker project?”
“Can I add several competitors at once?”
Tell an agent
Add competitors {competitors} to project {project_id}.
Track {competitors} as competitors of project {project_id}.
POST /management/project-competitors-delete Remove competitors from a project · Delete competitors #
Ask an LLM
“How do I stop tracking competitors in a project?”
“Can I delete competitors from a Rank Tracker project?”
Tell an agent destructive · confirm first
Delete competitors {competitors} from project {project_id}.
Stop tracking {competitors} as competitors of project {project_id}.
GET /management/locations List locations and languages · Locations and languages #
Ask an LLM
“Which countries and languages can I target keywords in?”
“Can I get the location ID for a country code?”
Tell an agent
List locations and languages for country {country_code}.
Show location {country_code} with state {us_state}.
GET /management/brand-radar-prompts List Brand Radar prompts · Brand Radar prompts #
Ask an LLM
“What custom prompts are saved in a Brand Radar report?”
“Can I see the Brand Radar prompts for a report?”
Tell an agent
List the Brand Radar prompts for report {report_id}.
Show custom Brand Radar prompts in report {report_id}.
POST /management/brand-radar-prompts Add Brand Radar prompts · Brand Radar prompts #
Ask an LLM
“How do I add custom Brand Radar prompts?”
“Can I add prompts for several countries at once?”
Tell an agent
Add Brand Radar prompts {prompts} to report {report_id} for countries {countries}.
Create custom Brand Radar prompts {prompts} in report {report_id}.
PUT /management/brand-radar-prompts-delete Delete Brand Radar prompts · Delete Brand Radar prompts #
Ask an LLM
“How do I remove Brand Radar prompts?”
“Can I delete prompts for specific countries?”
Tell an agent destructive · confirm first
Delete Brand Radar prompts {prompts} from report {report_id}.
Remove prompts {prompts} for countries {countries} in report {report_id}.
GET /management/brand-radar-reports List Brand Radar reports · Brand Radar Reports #
Ask an LLM
“Which Brand Radar reports do I have?”
“Can I list my Brand Radar reports?”
Tell an agent
List my Brand Radar reports.
Show Brand Radar reports.
POST /management/brand-radar-reports Request a Brand Radar report · Brand Radar Reports #
Ask an LLM
“How do I get a Brand Radar report for my brand?”
“Can I request a Brand Radar report for several competitors at once?”
Tell an agent
Request a Brand Radar report named {name} for {brand}.
Request a Brand Radar report for {brand} against competitors {competitors}.
PATCH /management/brand-radar-reports Update a Brand Radar report · Brand Radar Reports #
Ask an LLM
“Can I change the prompts frequency of an existing Brand Radar report?”
“How do I edit a Brand Radar report I already requested?”
Tell an agent
Set the prompts frequency of Brand Radar report {report_id} to {prompts_frequency}.
Update Brand Radar report {report_id} with prompts frequency {prompts_frequency}.

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-management-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-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ahrefs Management 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 (104 KB total) ---
# Full source: https://artifacts.apis.io/ahrefs/openapi/ahrefs-management-api-openapi.yml