Ahrefs API v2 has been discontinued
This documentation is for the legacy version of our API (v2), which you can no longer subscribe to. If you already have an active API v2 subscription, it will still work as before. Read about our latest 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" } }