Get backlink summary in Ahrefs
Site Explorer backlink summary for a target on a date: live, all-time, and broken link counts, referring domains and pages, and text/image/no-follow breakdowns where selected. When analyzing a domain use mode=subdomains. See GET backlinks-stats in the Ahr
Try it → Get metrics in Ahrefs
Site Explorer overview metrics for a target on a given date: organic and paid keyword counts, top-3 organic keywords, organic and paid traffic (10-unit fields per API), and org_cost / paid_cost in USD cents. See GET metrics in the Ahrefs API reference.
Try it → Get organic competitors in Ahrefs
List organic competitors that rank for the same keywords as the target
Try it → Get organic keywords in Ahrefs
List organic keywords that the target ranks for
Try it → Get referring domains in Ahrefs
List referring domains that link to the target
Try it → Get top pages in Ahrefs
List top pages by organic traffic for the target
Try it → Get related terms in Ahrefs
Keywords Explorer related ideas (also rank for, also talk about, or all) with metrics. CPC in USD cents. See Related terms in the Ahrefs API reference.
Try it → Get search suggestions in Ahrefs
Autocomplete-style keyword suggestions with metrics (volume, difficulty, CPC in USD cents, etc.). See Search suggestions in the Ahrefs API reference.
Try it → Get paid pages in Ahrefs
Site Explorer paid pages: URLs ranking in paid search with traffic, keyword, and ad metrics for a target on a date. When analyzing a domain use mode=subdomains. CPC and money fields are in USD cents where applicable. See GET paid-pages in the Ahrefs API r
Try it → Get best pages by external links in Ahrefs
Best pages by number of referring external links (Site Explorer pages-by-backlinks). Use mode=subdomains for full domains. See GET pages-by-backlinks in the Ahrefs API reference.
Try it → Get best pages by internal links in Ahrefs
Pages with the most internal links within the target (Site Explorer pages-by-internal-links). Use mode=subdomains for full domains. See GET pages-by-internal-links in the Ahrefs API reference.
Try it → Get referring domains history in Ahrefs
Historical referring domain counts for a target over a date range (Site Explorer refdomains-history). See GET refdomains-history in the Ahrefs API reference.
Try it → Get URL rating history in Ahrefs
URL Rating (UR) over time for a target (Site Explorer url-rating-history). See GET url-rating-history in the Ahrefs API reference.
Try it → Get pages history in Ahrefs
Historical page counts (indexed pages) for a target by period (Site Explorer pages-history). Use mode=subdomains for full domains. See GET pages-history in the Ahrefs API reference.
Try it → Get keywords history in Ahrefs
Historical organic keyword counts by position buckets for a target (Site Explorer keywords-history). Use mode=subdomains for full domains. See GET keywords-history in the Ahrefs API reference.
Try it → Get search volume history in Ahrefs
Historical totals of search volume for keywords the target ranks for in the top 10 or top 100 (Site Explorer total-search-volume-history). Use mode=subdomains for full domains. See GET total-search-volume-history in the Ahrefs API reference.
Try it → Get matching keyword terms in Ahrefs
Keyword ideas from Keywords Explorer matching your seed keywords (terms or phrase mode), with metrics such as volume, difficulty, CPC (USD cents), CPS, and SERP features. See GET matching terms in the Ahrefs API reference.
Try it → Get traffic summary in Ahrefs
Web Analytics GET /stats: project-level aggregate metrics (visitors, bounce rate, average session duration, etc.) with no dimension breakdown. Optional from/to window, filter, sort, limit, and output format. Base URL https://api.ahrefs.com/v3/web-analytic
Try it → Get traffic sources breakdown in Ahrefs
Web Analytics GET /sources: traffic grouped by referral source (referrer), with visitors, bounce rate, and session duration per source. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Traffic Sources → Sources in the Ahrefs Web
Try it → Get traffic by channel in Ahrefs
Web Analytics GET /source-channels: traffic grouped by channel (e.g. organic search, paid, social, direct), with visitors, bounce rate, and session duration per channel. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Traffic So
Try it → Get browser usage in Ahrefs
Web Analytics GET /browsers: visitors, bounce rate, and session duration grouped by browser. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See User Agents → Browsers in the Ahrefs Web Analytics API reference.
Try it → Get traffic by UTM source in Ahrefs
Web Analytics GET /utm-params: metrics grouped by values of a chosen UTM dimension (utm_source, utm_medium, utm_campaign, utm_term, or utm_content). Requires project_id and utm_param. Defaults in this action target utm_source for “traffic by UTM source” u
Try it → Get traffic by continent in Ahrefs
Web Analytics GET /continents: visitor counts (and related metrics) grouped by continent. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Geography → Continents in the Ahrefs Web Analytics API reference.
Try it → Get entry pages performance in Ahrefs
Web Analytics GET /entry-pages: landing (entry) pages with visitor counts and entry rates. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Pages → Entry pages in the Ahrefs Web Analytics API reference.
Try it → Get exit pages performance in Ahrefs
Web Analytics GET /exit-pages: pages where sessions ended, with visitor counts and exit rates. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Pages → Exit pages in the Ahrefs Web Analytics API reference.
Try it → Get top pages by traffic in Ahrefs
Web Analytics GET /top-pages: most visited pages with pageviews, visitors, bounce rate, and average time on page. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Pages → Top pages in the Ahrefs Web Analytics API reference.
Try it → Get traffic by city in Ahrefs
Web Analytics GET /cities: visitor counts grouped by city. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Geography → Cities in the Ahrefs Web Analytics API reference.
Try it → Get traffic by language in Ahrefs
Web Analytics GET /languages: visitor counts grouped by browser language. Requires project_id. Base URL https://api.ahrefs.com/v3/web-analytics. See Geography → Languages in the Ahrefs Web Analytics API reference.
Try it → Get metrics history in Ahrefs
Get metrics history
Try it → Get keyword overview in Ahrefs
Keywords Explorer GET /overview: metrics for keywords, a target, or a keyword list in a given country—volume, CPC (USD cents), difficulty, traffic potential, intents, and more. Required query parameters: select and country. Provide keywords, target, and/o
Try it → Get ranking summary in Ahrefs
Get ranking summary
Try it → Get project keywords in Ahrefs
Get project keywords
Try it → Get SERP overview in Ahrefs
Returns an overview of top search results (SERP) for a keyword and country, including position, URLs, titles, ratings, backlinks, traffic, and related metrics.
Try it → Get anchors in Ahrefs
List anchor text distribution for backlinks to the target
Try it → Get backlinks in Ahrefs
List all backlinks for a domain or URL
Try it → Get broken backlinks in Ahrefs
List broken backlinks for a domain or URL
Try it → Get competitor pages in Ahrefs
List pages for a target (domain or URL). Use a competitor domain as target to get their crawled pages.
Try it → Get domain rating in Ahrefs
Get domain rating and related metrics for a target
Try it →