Ahrefs
Ahrefs is an SEO data platform: who links to a site, what it ranks for, what its competitors rank for, what a keyword is worth, and what a crawl of your own site found wrong.
Authentication
- API key
Actions
Generic API request. Call any Ahrefs API v3 endpoint on this connection, for the case where no shipped action covers it yet - Brand Radar, Batch Analysis, SERP Overview, Web Analytics, GSC Insights, Social Media or the keyword-list and project write endpoints under management. The connection supplies the base URL, the authentication and…
- Get backlinks statsRead the four headline backlink counters for a domain or URL on one date: how many live backlinks and unique referring domains it has now, and how many it has ever had.
- Get domain ratingRead Domain Rating - Ahrefs' 0-100 logarithmic score for the strength of a site's backlink profile - for one domain or URL on one date.
- Get keywords overviewRead Keywords Explorer metrics for keywords you already have - search volume, Keyword Difficulty, cost per click, traffic potential and parent topic.
- Get limits and usageRead how many API units this key and its workspace have spent this billing month, what they are allowed, when the counters reset and when the key expires.
- Get site metricsRead a target's organic and paid search totals for one date: how many keywords it ranks for, the visits those rankings are worth, and what that traffic would cost to buy.
- Get URL rating historyRead the URL Rating time series for one page - Ahrefs' 0-100 score for the strength of that page's own backlink profile, as opposed to the whole site's Domain Rating.
- List backlinksList the individual backlinks pointing at a domain or URL, with the referring page, anchor text and the strength of the site behind each one.
- List matching termsExpand a few seed keywords into every term Ahrefs knows that contains them, with the same volume and difficulty metrics.
- List organic competitorsList the sites competing with a target for the same organic keywords, ranked by how much their keyword sets overlap.
- List organic keywordsList the keywords a site or page already ranks for in organic search, with its position, the ranking URL and what the keyword is worth.
- List projectsList the Ahrefs projects this key can see, with the project id that every Rank Tracker and Site Audit report is keyed by.
- List rank tracker overviewList the keywords a Rank Tracker project follows, with today's position, the ranking URL and the movement since a comparison date.
- List referring domainsList the domains that link to a target, one row per domain, with how many links each sends and how strong it is.
- List site audit issuesList every technical issue a Site Audit crawl found for one project, with how many URLs each affects and how that moved since the previous crawl.
- List site audit projectsList the Site Audit projects this key can see, each with its health score and the counts of crawled URLs carrying errors, warnings and notices.
Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.