Ahrefs API
Ahrefs SEO metrics with stable schemas: keyword difficulty, SERP snapshots, keyword rank checks, website authority and broken links.
Product overview and use cases
Endpoints
Each page carries the full contract — parameters, response fields, errors — with request samples in six languages and a console that sends real requests.
- GET
/v1/ahrefs/keyword-difficultyCheck keyword difficulty · Keyword Difficulty API500 points - GET
/v1/ahrefs/serpGet a SERP snapshot · SERP Analysis API500 points - GET
/v1/ahrefs/keyword-rankCheck a keyword rank · Keyword Rank Checker API500 points - GET
/v1/ahrefs/authorityCheck website authority · Domain Rating API500 points - GET
/v1/ahrefs/broken-linksFind broken links · Broken Link Checker API1,000 points
Base URL and OpenAPI
Every endpoint lives under https://api.endpointry.com/v1/ahrefs and takes the same bearer key. The schemas on these pages are the ones the gateway enforces on every response, and they are published as an OpenAPI 3 document for client generators: /v1/ahrefs/openapi.json for this API, or /v1/openapi.json for the whole catalog.
Conventions
What holds for every endpoint is documented once:
- Authentication — One bearer key for every API.
- Responses — Every success is { meta, data }.
- Errors — RFC 9457 problem+json with stable codes.
- Pagination — Lists page through meta.pagination.
- Rate limits and points — What a call spends and when.