Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ahrefs-subscription-information-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
OpenAPI Specification
openapi: 3.2.0
info:
title: Ahrefs Subscription Information API
description: Ahrefs API v3 gives programmatic access to Ahrefs' SEO, marketing, and AI-search data — backlinks, organic and paid traffic, keywords, SERPs, rank tracking, site audits, brand/AI-search visibility, web and social analytics, and account management. This is the full spec for every tool; each tool also has its own spec under /reference/.
termsOfService: https://ahrefs.com/terms
contact:
name: Ahrefs
url: https://ahrefs.com/
email: support@ahrefs.com
version: 3.0.0
servers:
- url: https://api.ahrefs.com/v3
description: Ahrefs API v3
security:
- http:
- read
tags:
- name: Subscription Information
description: Subscription information.
paths:
/subscription-info/limits-and-usage:
get:
tags:
- Subscription Information
summary: Limits and usage
description: '>Requests to this endpoint are free and do not consume any API units.'
operationId: subscription-info.limits-and-usage
parameters:
- $ref: '#/components/parameters/subscription-info.output'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.limits-and-usage'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.limits-and-usage'
'400':
$ref: '#/components/responses/subscription-info.error_400'
'401':
$ref: '#/components/responses/subscription-info.error_401'
'403':
$ref: '#/components/responses/subscription-info.error_403'
'429':
$ref: '#/components/responses/subscription-info.error_429'
'500':
$ref: '#/components/responses/subscription-info.error_500'
components:
schemas:
subscription-info.limits-and-usage:
properties:
limits_and_usage:
properties:
api_key_expiration_date:
type: string
format: date-time
title: api_key_expiration_date
description: Date on which this API key will expire and stop working.
subscription:
type: string
title: subscription
description: Ahrefs subscription plan.
units_limit_api_key:
type:
- integer
- 'null'
title: units_limit_api_key
description: Limit for the number of API units that can be consumed via this API key per billing month (null = unlimited).
units_limit_workspace:
type:
- integer
- 'null'
title: units_limit_workspace
description: Total number of API units available to the workspace.
units_usage_api_key:
type: integer
title: units_usage_api_key
description: Number of API units consumed by this API key in the current billing month.
units_usage_workspace:
type:
- integer
- 'null'
title: units_usage_workspace
description: Number of API units consumed by the workspace in the current billing month.
usage_reset_date:
type: string
format: date
title: usage_reset_date
description: Start date of the next billing period when the API units usage will be reset.
type: object
type: object
xml:
name: AhrefsApiResponse
subscription-info.Error_response:
properties:
error:
type: string
type: object
xml:
name: AhrefsApiResponse
responses:
subscription-info.error_500:
description: Internal Error
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
subscription-info.error_401:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
subscription-info.error_429:
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
subscription-info.error_400:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
subscription-info.error_403:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
application/xml:
schema:
$ref: '#/components/schemas/subscription-info.Error_response'
parameters:
subscription-info.output:
description: The output format.
required: false
explode: false
schema:
type: string
enum:
- json
- csv
- xml
- php
name: output
in: query
securitySchemes:
http:
type: http
scheme: bearer