Ahrefs API v2 has been deprecated
This documentation is for the legacy version of our API (v2), which was discontinued on March 1st, 2024. Existing API v2 integration apps are not affected and continue to work as before, but new submissions are no longer accepted.
To switch to API v3, please contact our Enterprise team. Read about API v3.
Customers with access to Ahrefs API via API subscription or Integrations must comply to the Ahrefs Terms and Conditions. Please carefully review the stipulations below before using our API services:
Do note that we will continue to update this page as more API specifications and functionalities will be added.