A

Ahrefs API v3

REST discovered

Details
URL
https://api.ahrefs.com/v3
Docs
https://docs.ahrefs.com/en/api/docs/introduction
Authentication
Ahrefs API key bearer discovered Get token ↗
Authorization: Bearer <credential>

In Account settings / API keys, create a new API key for your Ahrefs workspace. Only workspace owners and admins can access this section. Use the key as a bearer token in the Authorization header: Authorization: Bearer YOUR_API_KEY. You can also set expiration and per-key usage limits on the same page.