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.
Documentation - subscription_info
Contains user subscription information.
Each request to subscription_info costs 0 row.
Each result in the response costs 0 rows.
• info
Column | Type | Where | Having | Description |
---|---|---|---|---|
rows_left | int | − | − | Number of rows available for making API requests. |
rows_limit | int | − | − | Total number of rows available for the subscription plan. |
subscription | string | − | − | Name of the API subscription plan. |
Examples
Request
https://apiv2.ahrefs.com?from=subscription_info&output=json
Response
{ "info": { "rows_left":497323, "rows_limit":500000, "subscription":"Enterprise Subscription" } }