site-explorer-domain-rating-history
Retrieves the historical domain rating data for a specified domain or URL over a defined date range and grouping interval. Use doc tool first to get the real input schema.
site-explorer-organic-competitors
Retrieves a list of organic search competitors for a specified website or URL, providing comparative SEO metrics such as common keywords, traffic estimations, and domain strength for a chosen country and date.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
rank-tracker-overview
Provides an overview of tracked keyword rankings and related search metrics for a specified project and date, with support for historical comparison, filtering, column selection, and device type. Use doc tool first to get the real input schema.
brand-radar-mentions-history
Provides the historical number of mentions for your and competitors's brands in an LLM you specify. Use doc tool first to get the real input schema.
brand-radar-impressions-overview
Provides the number of impressions for your and competitors's brands in an LLM you specify, with filters for locations, query text, URL, and more. Use doc tool first to get the real input schema.
web-analytics-source-channels-chart
Returns time-series chart data grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, showing metrics over time. Use doc tool first to get the real input schema.
serp-overview
Returns an overview of the top search results (SERP) for a specified keyword and country, including detailed metrics about each result like position, backlinks, traffic, domain rating, and related keywords. Use doc tool first to get the real input schema.
web-analytics-entry-pages
Returns entry page statistics for a Web Analytics project, showing which pages visitors land on first, including visitor counts and entry rates. Use doc tool first to get the real input schema.
site-explorer-refdomains-history
Provides historical data on referring domains linking to a specified target (domain or URL) over a defined date range, with customizable grouping and analysis scope.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
gsc-metrics-by-country
Returns Google Search Console click metrics grouped by country for a project. Use doc tool first to get the real input schema.
doc
Full documentation for Ahrefs API v3 and the corresponding MCP tools. You must use this tool to get the input schema for any other tool. The documentation is returned in OpenAPI format. It can be used to craft a request to the API v3 directly, or to the MCP server.
Online documentation for the Ahrefs API v3 is also available at https://docs.ahrefs.com/docs/api/reference/introduction
keywords-explorer-volume-history
Retrieves historical search volume data for a specified keyword within a given country and date range. Use doc tool first to get the real input schema.
subscription-info-limits-and-usage
Retrieves subscription information including limits and usage statistics for API units, workspace quotas, and API key details. This endpoint is free and does not consume any API units. Use doc tool first to get the real input schema.
brand-radar-sov-history
Provides the historical share of voice for your and competitors's brands in an LLM you specify. Use doc tool first to get the real input schema.
web-analytics-languages
Returns visitor data grouped by browser language for a Web Analytics project, showing visitor counts for each language. Use doc tool first to get the real input schema.
rank-tracker-competitors-pages
Provides an overview of competitor pages and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data. Use doc tool first to get the real input schema.
brand-radar-cited-pages
Provides the pages cited in AI-generated responses that mention your brand or competitors' brands in an LLM you specify, including how many responses referenced each page (broken down by brand) and estimated monthly search volume where each page was mentioned. Use doc tool first to get the real input schema.
gsc-performance-by-device
Returns Google Search Console performance metrics (clicks, impressions, CTR, position) broken down by device type (desktop, mobile, tablet) for a project. Use doc tool first to get the real input schema.
public-crawler-ips
Returns the list of individual IP addresses currently used by the Ahrefs public web crawler. Use doc tool first to get the real input schema.
web-analytics-countries
Returns visitor data grouped by country for a Web Analytics project, showing visitor counts for each location. Use doc tool first to get the real input schema.
web-analytics-exit-pages
Returns exit page statistics for a Web Analytics project, showing which pages visitors leave from, including visitor counts and exit rates. Use doc tool first to get the real input schema.
site-explorer-pages-by-internal-links
Retrieves a site's or page's internal link metrics, allowing analysis of how pages within the given domain or URL are interconnected and which pages receive the most internal links.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
gsc-performance-by-position
Returns Google Search Console performance metrics (clicks, impressions, keyword count) grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) for a project. Use doc tool first to get the real input schema.
gsc-page-history
Returns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific pages over time, grouped by daily, weekly, or monthly intervals. Use doc tool first to get the real input schema.
site-explorer-outlinks-stats
Retrieves statistical data about the outbound links (outlinks) from a specified URL, domain, or site section.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-cities
Returns visitor data grouped by city for a Web Analytics project, showing visitor counts for each location. Use doc tool first to get the real input schema.
brand-radar-mentions-overview
Provides the number of mentions for your and competitors's brands in an LLM you specify, with filters for locations, query text, URL, and more. Use doc tool first to get the real input schema.
web-analytics-source-channels
Returns traffic grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, including visitor counts, bounce rates, and session durations. Use doc tool first to get the real input schema.
site-audit-issues
Returns all issues from your Site Audit crawl. By default, it provides data from the latest available crawl, but you can also specify a crawl date and time to retrieve historical metrics. Use doc tool first to get the real input schema.
site-explorer-broken-backlinks
Retrieves a list of broken backlinks (i.e., links pointing to non-functioning pages) for a specified domain or URL, with customizable filtering, field selection, and aggregation options.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
rank-tracker-competitors-stats
Provides an overview of competitor metrics for a specified project and date in Ahrefs Rank Tracker. Metrics include: share of voice, share of traffic value, average position, traffic, traffic value, and positions, and counts of SERP features. Use doc tool first to get the real input schema.
web-analytics-utm-params-chart
Returns time-series chart data grouped by a specified UTM param for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
web-analytics-referrers-chart
Returns time-series chart data grouped by referrer for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
web-analytics-continents-chart
Returns time-series chart data grouped by continent for a Web Analytics project, showing visitor counts over time for each region. Use doc tool first to get the real input schema.
web-analytics-entry-pages-chart
Returns time-series chart data for entry pages of a Web Analytics project, showing visitor counts and entry rates over time. Use doc tool first to get the real input schema.
web-analytics-stats
Returns aggregate statistics for a Web Analytics project, including total visitors, bounce rate, and average session duration without any dimension grouping. Use doc tool first to get the real input schema.
site-explorer-backlinks-stats
Provides backlink statistics for a specified URL or domain as of a given date, with options to control protocol and scope.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-operating-systems
Returns operating system statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS. Use doc tool first to get the real input schema.
web-analytics-top-pages
Returns the most visited pages for a Web Analytics project, including pageview counts, visitor counts, bounce rates, and average page visit durations. Use doc tool first to get the real input schema.
brand-radar-ai-responses
Provides questions asked to AI assistants and the corresponding AI-generated responses that mention your brand or competitors’ brands, including cited sources and search volume estimates. Use doc tool first to get the real input schema.
web-analytics-operating-systems-versions-chart
Returns time-series chart data grouped by OS version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
web-analytics-devices-chart
Returns time-series chart data grouped by device type for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
web-analytics-chart
Returns time-series chart data for aggregate statistics of a Web Analytics project, with metrics like pageviews, visitors, visits, bounce rate, and session duration at the specified granularity. Use doc tool first to get the real input schema.
keywords-explorer-overview
Provides an overview of keyword metrics—including search volume, CPC, ranking difficulty, traffic potential, and intent—for specified keywords, domains, or URLs within a given country. Use doc tool first to get the real input schema.
site-explorer-url-rating-history
Retrieves the historical URL rating data for a specified domain or URL over a defined date range, grouped by a chosen time interval. Use doc tool first to get the real input schema.
management-keyword-list-keywords
Retrieves keywords from a keyword list. Requests to this endpoint are free and do not consume any API units. Use doc tool first to get the real input schema.
web-analytics-sources-chart
Returns time-series chart data for traffic sources of a Web Analytics project, showing how visitor counts, bounce rates, and session durations change over time for each referral source. Use doc tool first to get the real input schema.
public-crawler-ip-ranges
Returns the IP ranges used by the Ahrefs public web crawler, typically for allowlisting or firewall configuration. Use doc tool first to get the real input schema.
site-explorer-metrics
Provides SEO performance metrics for a specified domain, URL, or site section as of a given date, with options to customize search scope, protocol, country, and search volume mode.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
site-explorer-referring-domains
Retrieves detailed information about referring domains that link to a specified target domain or URL, with flexible filtering, selection, and sorting of backlink-related metrics.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
gsc-keyword-history
Returns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific keywords over time, grouped by daily, weekly, or monthly intervals. Use doc tool first to get the real input schema.
site-explorer-metrics-by-country
Provides organic and paid search performance metrics for a specified website, broken down by country, for a specific date.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
site-explorer-all-backlinks
Retrieves detailed information about all backlinks pointing to a specified URL or domain, with extensive filtering, sorting, selection, and aggregation options.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-exit-pages-chart
Returns time-series chart data for exit pages of a Web Analytics project, showing visitor counts and exit rates over time. Use doc tool first to get the real input schema.
gsc-keywords
Returns Google Search Console keywords table data with metrics (clicks, impressions, CTR, position) and associated URLs for a project. Use doc tool first to get the real input schema.
web-analytics-sources
Returns traffic source breakdown for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referral source. Use doc tool first to get the real input schema.
site-explorer-total-search-volume-history
Returns historical totals of search volume for keywords that the specified domain or URL ranks for in the top 10 or top 100 results, across all countries or for a specified country.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
site-explorer-linked-anchors-external
Retrieves data about external anchor text (the clickable words in outbound links) used on a specified domain, subdomain, or URL, including metrics like dofollow link counts, distinct linked domains, and other attributes about the links.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
management-brand-radar-prompts
Retrieves custom prompts for a specific brand radar report. Requests to this endpoint are free and do not consume any API units. Use doc tool first to get the real input schema.
site-explorer-linked-anchors-internal
Retrieves internal anchor text data for a given website or URL, detailing how anchor texts are used in links between pages on the same site.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
keywords-explorer-related-terms
Returns keyword metrics and related terms—such as "also rank for" keywords and "also talk about" keywords—for a given keyword or keyword list, with filtering and sorting options. Use doc tool first to get the real input schema.
site-explorer-organic-keywords
Retrieves detailed organic keyword data for a given domain, URL, or path, including rankings, search intent, SERP features, traffic and CPC metrics, with the ability to filter, sort, and compare metrics across dates and regions.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-languages-chart
Returns time-series chart data grouped by browser language for a Web Analytics project, showing visitor counts over time for each language. Use doc tool first to get the real input schema.
web-analytics-browsers
Returns browser statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser. Use doc tool first to get the real input schema.
keywords-explorer-matching-terms
Retrieves keyword ideas and their associated SEO metrics by matching input terms or phrases in a specified country, with extensive support for filtering, sorting, and metric selection. Use doc tool first to get the real input schema.
management-project-keywords
Returns all tracked keywords for a specific Rank Tracker project, including associated tracking metadata. Use doc tool first to get the real input schema.
brand-radar-sov-overview
Provides the share of voice for your and competitors's brands in an LLM you specify, with filters for locations, query text, URL, and more. Use doc tool first to get the real input schema.
management-locations
Retrieves a list of management locations filtered by country code and optionally by US state. Use doc tool first to get the real input schema.
gsc-ctr-by-position
Returns Google Search Console CTR (click-through rate) data by keyword position, showing each keyword's average position, CTR percentage, and click count. Use doc tool first to get the real input schema.
gsc-anonymous-queries
Returns organic keywords that rank for the project but are not reported by Google Search Console (anonymized queries), with position, traffic, volume, and CPC data. Use doc tool first to get the real input schema.
gsc-performance-history
Returns Google Search Console performance chart data (clicks, impressions, CTR, position) for a project over time, grouped by daily, weekly, or monthly intervals. Use doc tool first to get the real input schema.
site-audit-page-content
Returns the HTML and extracted text content of a page from your Site Audit crawl. By default, it provides the latest available snapshot, but you can also specify a crawl date and time to retrieve historical snapshots. You can choose to pull raw HTML, rendered HTML, or page text. The endpoint is available only for projects with verified ownership. Use doc tool first to get the real input schema.
brand-radar-impressions-history
Provides the historical number of impressions for your and competitors's brands in an LLM you specify. Use doc tool first to get the real input schema.
site-explorer-top-pages
Returns a list of the top-performing pages for a specified website or URL, including detailed SEO metrics (such as organic rankings, traffic, top keyword, and changes over time), with support for comparison between two dates and flexible filtering.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
keywords-explorer-search-suggestions
Provides keyword search suggestions and related keyword metrics (e.g., search volume, difficulty, CPC) for specified queries or keyword lists, with options to filter, sort, and customize returned fields by country. Use doc tool first to get the real input schema.
gsc-positions-history
Returns Google Search Console keyword count data grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) over time for a project. Use doc tool first to get the real input schema.
gsc-pages-history
Returns Google Search Console pages chart data showing total indexed pages over time for a project. Use doc tool first to get the real input schema.
web-analytics-countries-chart
Returns time-series chart data grouped by country for a Web Analytics project, showing visitor counts over time for each location. Use doc tool first to get the real input schema.
web-analytics-top-pages-chart
Returns time-series chart data for the most visited pages of a Web Analytics project, showing how pageviews, visitors, and other metrics change over time. Use doc tool first to get the real input schema.
site-explorer-keywords-history
Retrieves historical data on the number of organic keywords a specified website or URL has ranked for, segmented by various search position ranges and grouped by a chosen time interval.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
site-explorer-anchors
Retrieves anchor text and associated backlink metrics for a specified domain or URL, with filtering and selection options.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
site-explorer-metrics-history
Retrieves historical data on key organic and paid search traffic and cost metrics for a specified domain, URL, or path over a selectable date range and grouping interval.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
rank-tracker-competitors-overview
Provides an overview of competitor rankings and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data. Use doc tool first to get the real input schema.
site-explorer-pages-by-backlinks
Returns a list of a site's or URL's best-performing pages, ranked by the number of referring external links, with flexible filtering and sorting options.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-utm-params
Returns statistics for a specified UTM paramater for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by utm_source. Use doc tool first to get the real input schema.
web-analytics-cities-chart
Returns time-series chart data grouped by city for a Web Analytics project, showing visitor counts over time for each location. Use doc tool first to get the real input schema.
web-analytics-browsers-chart
Returns time-series chart data grouped by browser for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
site-explorer-domain-rating
Retrieves the domain rating and related metrics for a specified domain or URL as of a specific date. Use doc tool first to get the real input schema.
site-audit-page-explorer
Returns detailed information about pages discovered in a Site Audit project, including URLs, crawl metadata, and selected on-page metrics. Use doc tool first to get the real input schema.
web-analytics-browser-versions
Returns browser version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser version. Use doc tool first to get the real input schema.
site-explorer-pages-history
Retrieves historical data about pages from a specified domain, URL, or section of a site, grouped by a chosen time interval.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
keywords-explorer-volume-by-country
Retrieves search volume metrics for a specified keyword broken down by country. Use doc tool first to get the real input schema.
management-projects
Retrieves information about existing projects, including ownership, access type, presence of Rank Tracker keywords, and project ID. Use doc tool first to get the real input schema.
site-explorer-pages-by-traffic
Returns the distribution of pages by estimated organic traffic buckets for a specified domain or URL, across all locations or for a specified country.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
rank-tracker-serp-overview
Returns SERP overview for a specified keyword in a Rank Tracker project, showing detailed information about each position including title, URL, type, backlink metrics, and traffic data. Use doc tool first to get the real input schema.
management-project-competitors
Retrieves the list of competitors associated with a specific Rank Tracker project in Ahrefs, using the project's unique identifier. Use doc tool first to get the real input schema.
web-analytics-operating-systems-chart
Returns time-series chart data grouped by operating system for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
web-analytics-operating-systems-versions
Returns OS version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS version. Use doc tool first to get the real input schema.
web-analytics-devices
Returns device type statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by device type. Use doc tool first to get the real input schema.
site-explorer-paid-pages
Returns detailed metrics about pages on a specified site or URL that are ranking in paid search results, including traffic, keyword data, ad presence, and changes over time, with powerful filtering and comparison capabilities.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-browser-versions-chart
Returns time-series chart data grouped by browser version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time. Use doc tool first to get the real input schema.
site-audit-projects
Returns Site Audit project summaries (all projects or a specific project), including health scores, issue counts, and crawled page counts for the latest crawl or a specified historical point in time. Use doc tool first to get the real input schema.
batch-analysis
Performs a batch analysis of multiple URLs, domains, or subdomains to retrieve selected SEO, backlink, organic, and paid traffic metrics.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
brand-radar-cited-domains
Provides domains cited in AI-generated responses that mention your brand or competitors' brands in an LLM you specify, including how many responses referenced each domain (broken down by brand) and estimated monthly search volume where each domain was mentioned. Use doc tool first to get the real input schema.
web-analytics-referrers
Returns referrer statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referrer URL. Use doc tool first to get the real input schema.
gsc-pages
Returns Google Search Console pages table data with metrics (clicks, impressions, CTR, position) and associated keywords for a project. Use doc tool first to get the real input schema.
site-explorer-linked-domains
Retrieves information about external domains that are linked from a specified target domain or URL, allowing for filtering, field selection, and various scopes of analysis.
When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Use doc tool first to get the real input schema.
web-analytics-continents
Returns visitor data grouped by continent for a Web Analytics project, showing visitor counts for each region. Use doc tool first to get the real input schema.