Ahrefs API v2 has been deprecated
This documentation is for the legacy version of our API (v2), which was fully discontinued on November 1, 2025. All remaining API v2 integrations and apps built on it no longer have access to Ahrefs data.
To build new integrations, please use Ahrefs API v3 and the Ahrefs Connect program.
Customers with access to Ahrefs API via API subscription or Integrations must comply to the Ahrefs Terms of Service. 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.