Ahrefs APIs

Agent-ready

Access data from Ahrefs through KeepBal (36 live endpoints: 0 fixed-price, 36 variable-price). Inspect inputs for free and pay per successful call with one KeepBal key.

ToolWhat it returnsPrice
Ahrefs Batch Analysis Batch AnalysisGet Domain Rating, backlinks, and traffic metrics for up to 100 targets at once.Variable: provider price plus 35%
Ahrefs Keywords Explorer Matching TermsFind keyword ideas containing seed terms, with volume and difficulty.Variable: provider price plus 35%
Ahrefs Keywords Explorer OverviewGet volume, difficulty, traffic potential, intent, and CPC for up to 100 keywords.Variable: provider price plus 35%
Ahrefs Keywords Explorer Related TermsFind keywords related to seed terms, with volume and difficulty.Variable: provider price plus 35%
Ahrefs Keywords Explorer Search SuggestionsGet autocomplete-style keyword suggestions for seeds, with volume and CPC.Variable: provider price plus 35%
Ahrefs Keywords Explorer Volume By CountrySplit a keyword's search volume across countries.Variable: provider price plus 35%
Ahrefs Keywords Explorer Volume HistoryTrack a keyword's monthly search volume over time in one country.Variable: provider price plus 35%
Ahrefs SERP Overview SERP OverviewGet the top organic results for a keyword with ratings, backlinks, and traffic.Variable: provider price plus 35%
Ahrefs Site Explorer AI Responses CountCount how often eight AI assistants cite a target in generated answers.Variable: provider price plus 35%
Ahrefs Site Explorer All BacklinksList a target's backlinks with anchors, source ratings, and link attributes.Variable: provider price plus 35%
Ahrefs Site Explorer AnchorsBreak down a target's backlinks by anchor text with referring-domain counts.Variable: provider price plus 35%
Ahrefs Site Explorer Backlinks StatsGet a target's live and all-time backlink and referring-domain totals.Variable: provider price plus 35%
Ahrefs Site Explorer Broken BacklinksList backlinks pointing at a target's broken (non-200) pages.Variable: provider price plus 35%
Ahrefs Site Explorer Crawled PagesList a target's pages known to the crawler with URL Rating and HTTP codes.Variable: provider price plus 35%
Ahrefs Site Explorer Domain RatingGet a target's Domain Rating (0-100 link authority) and its global rank.Variable: provider price plus 35%
Ahrefs Site Explorer Domain Rating HistoryTrack a target's Domain Rating over time, one row per date bucket.Variable: provider price plus 35%
Ahrefs Site Explorer Keywords HistoryTrack a target's ranking keyword counts by position bucket over time.Variable: provider price plus 35%
Ahrefs Site Explorer Linked Anchors ExternalBreak down a target's outbound external links by anchor text.Variable: provider price plus 35%
Ahrefs Site Explorer Linked Anchors InternalBreak down a target's internal links by anchor text.Variable: provider price plus 35%
Ahrefs Site Explorer LinkeddomainsList domains a target links out to, with link and page counts.Variable: provider price plus 35%
Ahrefs Site Explorer MetricsGet a target's organic and paid keywords, traffic, and cost estimates.Variable: provider price plus 35%
Ahrefs Site Explorer Metrics By CountrySplit a target's organic and paid keywords and traffic by country.Variable: provider price plus 35%
Ahrefs Site Explorer Metrics HistoryTrack a target's organic and paid traffic estimates over time.Variable: provider price plus 35%
Ahrefs Site Explorer Organic CompetitorsFind domains competing with a target in organic search, with keyword overlap.Variable: provider price plus 35%
Ahrefs Site Explorer Organic KeywordsList keywords a target ranks for with position, volume, and traffic estimates.Variable: provider price plus 35%
Ahrefs Site Explorer Outlinks StatsGet a target's outbound link totals: external, internal, and dofollow counts.Variable: provider price plus 35%
Ahrefs Site Explorer Pages By BacklinksList a target's pages ordered by backlink and referring-domain counts.Variable: provider price plus 35%
Ahrefs Site Explorer Pages By Internal LinksList a target's pages ordered by incoming internal link counts.Variable: provider price plus 35%
Ahrefs Site Explorer Pages By TrafficBucket a target's pages into organic-traffic ranges with totals per range.Variable: provider price plus 35%
Ahrefs Site Explorer Pages HistoryTrack how many of a target's pages rank in organic search over time.Variable: provider price plus 35%
Ahrefs Site Explorer Paid PagesList a target's paid-search landing pages with traffic and ad counts.Variable: provider price plus 35%
Ahrefs Site Explorer RefdomainsList domains linking to a target with Domain Rating and link counts.Variable: provider price plus 35%
Ahrefs Site Explorer Refdomains HistoryTrack a target's referring-domain count over time.Variable: provider price plus 35%
Ahrefs Site Explorer Top PagesList a target's pages by estimated organic traffic and top keyword.Variable: provider price plus 35%
Ahrefs Site Explorer Total Search Volume HistoryTrack total search volume of keywords a target ranks for over time.Variable: provider price plus 35%
Ahrefs Site Explorer URL Rating HistoryTrack a target URL's rating over time, one row per date bucket.Variable: provider price plus 35%

Pricing

Fixed prices are shown per call. Variable tools are billed at provider price + 35%. Inspect returns pricing metadata. Use max_cost_usd caps where supported. Data source names describe the available data and do not imply partnership.

Categories

SEO And Marketing

Frequently asked questions

Do I need a separate Ahrefs subscription?

No. KeepBal routes Ahrefs requests under one prepaid wallet with $1 signup credit, one-time $10–$100 top-ups, and $0 charged on failed upstream calls.

Can AI agents call Ahrefs tools over MCP?

Yes. Connect https://keepbal.com/mcp via Streamable HTTP and use search_tools, inspect_tool, and run_tool with the public IDs listed on this page.