Upon signing up as an Enterprise user, you will automatically have access to our API v3.
💡 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.
Eligibility
Ahrefs API is only available on the Enterprise plan. On all other plans you'll also have an option to test the API for free by using ahrefs.com or wordcount.com as your targets. Note you still need to create an API key to run free test queries.
Pricing
All requests and endpoints consume API units (come included into the Enterprise package). 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.