Ahrefs
SEO: backlinks, keywords and site audits (API v3)
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API v3 keySecretRequired
Where to find them
In Ahrefs go to “Account settings” → “API keys” and create an API v3 key (only owners and admins can). Ahrefs “MCP keys” are refused here: Ahrefs does not allow them through a gateway, so connect Ahrefs' own MCP server to your agent for those.
Tools (1)
Ahrefs API request
AHREFS_SEND_REQUESTAuthenticated call to the Ahrefs API (https://api.ahrefs.com/v3). Any endpoint of the API is allowed. Examples: GET /site-explorer/domain-rating?target=example.com&date=2026-10-01, GET /subscription-info/limits-and-usage.
Required scopes
No scopes required
Input
Ahrefs API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

