Ahrefs API v2 will stop working on March 1st, 2024
This documentation is for the legacy version of our API (v2), which has been discontinued. All active API v2 subscriptions will stop working on March 1st, 2024. Existing Integration apps will continue to work as before until further notice, but new submissions are no longer accepted.
To switch from API v2 to v3, please contact our Enterprise team. Read about API v3.
Your API consumption is charged by rows of data of returned results. Each request consumes one row + number of results * price of each result.
For price of each result, please look it up in documentation for each function.
Most of requests will cost one row for the request itself + number of rows of returned results for the said request.
There are, however, additional costs for some features like "where" and "having".
Applications working through Integrations interface consume Integrations rows, thereby rows consumption will be determined under Ahrefs Subscriptions.
If you work directly with Ahrefs API without Integrations interface , API Rows will be consumed instead. API Rows consumption is determined under API Subscriptions.