Direct access to API v3 is available on all paid plans starting from Lite.
Each plan includes a certain number of API units. These units are used when making direct API requests, as well as when using MCP and Ahrefs Connect.
The number of included API units depends on your subscription plan.
Purchasing additional API units is currently available only on the Enterprise plan.
💡 Full details and documentation about our API v3 here: https://docs.ahrefs.com/docs/api/reference/introduction
API Endpoints
Site Explorer
Domain Rating
Backlinks stats
Outlinks stats
Metrics
Referring Domains History
URL Rating history
Pages History
Metrics History
Keywords History
Metrics by Country
Pages by Traffic
Total Search Volume History
Backlinks
Broken Backlinks
Referring Domains
Anchors
Organic Keywords
Organic Competitors
Top Pages
Paid Pages
Best by External Links
Best by Internal Links
Linked Domains
Outgoing External Anchors
Ourgoing Internal Anchors
Keywords Explorer
Metrics for a single keyword or a list of keywords
Volume history
Volume by country
Matching terms
Related terms
Search suggestions
SERP Overview
Top 100 SERP results
Site Audit
Health Score
Project Issues
Page Content
Page Rxplorer
Rank Tracker
Overview
Competitors Overview
Competitors Pages
SERP Overview
Competitors Metrics
Batch Analysis
Brand Radar
AI Responses
Overview - Impressions
More reports and tools are coming soon.
Pricing
All requests and endpoints consume API units. The cost depends on the number of rows in the response and the fields requested. The minimum cost for any request is 50 units.
Related guide: Limits consumption
Frequently Asked Questions
Can I still use API v2 directly or through Integrations?
API v2 has been fully deprecated and can no longer be used, either directly or through Integrations. The new Integrations system is built entirely on API v3. More details can be found here.
I'm building an application and would like to integrate the Ahrefs API. Do I have to purchase the Ahrefs API?
Yes, all new applications require an Enterprise subscription for activation.
Can I request for a new API endpoint to be developed?
We welcome any feature requests for API v3 to our Canny board. You can also upvote any feature requests made by others that you would also like to see developed.