Ahrefs API

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.

API Clients

Ahrefs API Client is a good starting point to develop an application utilizing the power of Ahrefs.

3rd-party clients