subscription_info - Ahrefs API

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.

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"
  }
}