---
title: "Ahrefs API: pricing, docs and API key"
description: "Ahrefs SEO intelligence for agents, the industry-standard backlink index and Domain Rating, organic and paid keyword reports, keyword metrics and ideas (volume, difficulty, traffic potential), SERP overviews, bulk target analysis, and AI-answer citation counts across ChatGPT, Gemini, Perplexity and more. Ask for a domain's backlinks or authority, a keyword's difficulty, or who cites a site in AI answers; results are structured rows."
canonical: "https://dev.monid.ai/tools/ahrefs"
---

# Ahrefs API

> Ahrefs SEO intelligence for agents, the industry-standard backlink index and Domain Rating, organic and paid keyword reports, keyword metrics and ideas (volume, difficulty, traffic potential), SERP overviews, bulk target analysis, and AI-answer citation counts across ChatGPT, Gemini, Perplexity and more. Ask for a domain's backlinks or authority, a keyword's difficulty, or who cites a site in AI answers; results are structured rows.

- Web page: https://dev.monid.ai/tools/ahrefs
- Endpoints on Monid: 36
- Updated: Nov 24, 2026
- Part of: [Search & SEO](https://dev.monid.ai/tools/search.md)
- Vendor website: https://ahrefs.com
- Vendor API docs: https://docs.ahrefs.com

## Use it from your agent

Paste this to your agent:

```text
Set up https://monid.ai/SKILL.md, and then use Monid to show me what I can do with Ahrefs.
```

Searching the catalog (`monid discover`) and reading an endpoint's inputs and price (`monid inspect`) are free. Only `monid run` is billed, from one Monid balance.

## Endpoints

| Endpoint | What it does | Price |
| --- | --- | --- |
| `ahrefs /keywords-explorer/related-terms` Related Keywords | Find keywords related to seed terms, with volume and difficulty. | $0.0142 per result |
| `ahrefs /site-explorer/pages-by-internal-links` Pages by Internal Links | List a target's pages ordered by incoming internal link counts. | $0.0019 per result |
| `ahrefs /site-explorer/organic-keywords` Organic Keywords | List keywords a target ranks for with position, volume, and traffic estimates. | $0.0155 per result |
| `ahrefs /site-explorer/domain-rating-history` Domain Rating History | Track a target's Domain Rating over time, one row per date bucket. | $0.0013 per result |
| `ahrefs /site-explorer/anchors` Backlink Anchors | Break down a target's backlinks by anchor text with referring-domain counts. | $0.0058 per result |
| `ahrefs /batch-analysis/batch-analysis` Batch Target Analysis | Get Domain Rating, backlinks, and traffic metrics for up to 100 targets at once. | $0.0135 per result |
| `ahrefs /site-explorer/outlinks-stats` Outbound Link Totals | Get a target's outbound link totals: external, internal, and dofollow counts. | $0.0026 per result |
| `ahrefs /site-explorer/domain-rating` Domain Rating | Get a target's Domain Rating (0-100 link authority) and its global rank. | $0.0013 per result |
| `ahrefs /site-explorer/refdomains` Referring Domains | List domains linking to a target with Domain Rating and link counts. | $0.0039 per result |
| `ahrefs /site-explorer/top-pages` Top Pages by Traffic | List a target's pages by estimated organic traffic and top keyword. | $0.0148 per result |
| `ahrefs /site-explorer/refdomains-history` Referring Domains History | Track a target's referring-domain count over time. | $0.0039 per result |
| `ahrefs /site-explorer/pages-history` Ranking Pages History | Track how many of a target's pages rank in organic search over time. | $0.0013 per result |
| `ahrefs /site-explorer/ai-responses-count` AI Answer Citations | Count how often eight AI assistants cite a target in generated answers. | $0.0871 per result |
| `ahrefs /serp-overview/serp-overview` SERP Overview | Get the top organic results for a keyword with ratings, backlinks, and traffic. | $0.0129 per result |
| `ahrefs /site-explorer/all-backlinks` Backlinks | List a target's backlinks with anchors, source ratings, and link attributes. | $0.0065 per result |
| `ahrefs /site-explorer/linked-anchors-external` Outbound Anchors | Break down a target's outbound external links by anchor text. | $0.0032 per result |
| `ahrefs /keywords-explorer/overview` Keyword Metrics | Get volume, difficulty, traffic potential, intent, and CPC for up to 100 keywords. | $0.0271 per result |
| `ahrefs /site-explorer/total-search-volume-history` Search Volume History | Track total search volume of keywords a target ranks for over time. | $0.0071 per result |
| `ahrefs /site-explorer/metrics` SEO Metrics | Get a target's organic and paid keywords, traffic, and cost estimates. | $0.0284 per result |
| `ahrefs /keywords-explorer/volume-by-country` Volume by Country | Split a keyword's search volume across countries. | $0.0071 per result |
| `ahrefs /site-explorer/pages-by-traffic` Traffic Distribution | Bucket a target's pages into organic-traffic ranges with totals per range. | $0.0361 per result |
| `ahrefs /site-explorer/pages-by-backlinks` Pages by Backlinks | List a target's pages ordered by backlink and referring-domain counts. | $0.0052 per result |
| `ahrefs /site-explorer/backlinks-stats` Backlink Totals | Get a target's live and all-time backlink and referring-domain totals. | $0.0077 per result |
| `ahrefs /keywords-explorer/search-suggestions` Search Suggestions | Get autocomplete-style keyword suggestions for seeds, with volume and CPC. | $0.0077 per result |
| `ahrefs /site-explorer/keywords-history` Keyword Positions History | Track a target's ranking keyword counts by position bucket over time. | $0.0039 per result |
| `ahrefs /site-explorer/broken-backlinks` Broken Backlinks | List backlinks pointing at a target's broken (non-200) pages. | $0.0058 per result |
| `ahrefs /keywords-explorer/matching-terms` Matching Keywords | Find keyword ideas containing seed terms, with volume and difficulty. | $0.0142 per result |
| `ahrefs /site-explorer/paid-pages` Paid Landing Pages | List a target's paid-search landing pages with traffic and ad counts. | $0.0084 per result |
| `ahrefs /site-explorer/crawled-pages` Crawled Pages | List a target's pages known to the crawler with URL Rating and HTTP codes. | $0.0065 per result |
| `ahrefs /site-explorer/url-rating-history` URL Rating History | Track a target URL's rating over time, one row per date bucket. | $0.0013 per result |
| `ahrefs /site-explorer/organic-competitors` Organic Competitors | Find domains competing with a target in organic search, with keyword overlap. | $0.0090 per result |
| `ahrefs /site-explorer/metrics-history` Traffic History | Track a target's organic and paid traffic estimates over time. | $0.0135 per result |
| `ahrefs /site-explorer/linked-anchors-internal` Internal Anchors | Break down a target's internal links by anchor text. | $0.0026 per result |
| `ahrefs /site-explorer/linkeddomains` Outbound Domains | List domains a target links out to, with link and page counts. | $0.0026 per result |
| `ahrefs /site-explorer/metrics-by-country` Metrics by Country | Split a target's organic and paid keywords and traffic by country. | $0.0148 per result |
| `ahrefs /keywords-explorer/volume-history` Keyword Volume History | Track a keyword's monthly search volume over time in one country. | $0.0013 per result |

Prices are the listed price for one unit. The web page and `monid inspect` carry the full rate card for tiered endpoints.

## Questions about the Ahrefs API

### How do I get a Ahrefs API key?

You don't need one. Create a Monid API key at app.monid.ai and your agent calls Ahrefs through Monid with it. The same key works for every other tool in the catalog.

### How much does the Ahrefs API cost?

Each endpoint on this page lists its own price. Calls are billed from your Monid balance with no Ahrefs subscription.

### Is there a free Ahrefs API?

New Monid accounts start with $1 in free credit, no card required. It pays for Ahrefs calls at the prices listed on this page.

### Where is the Ahrefs API documentation?

Each endpoint on this page says what it returns and what a call costs. For the full input parameters, your agent runs monid inspect on the endpoint, which is free. Setup is covered at docs.monid.ai. Ahrefs's own API docs are linked at the top of this page.

## How-to guides

- [Where does my page actually rank?](https://dev.monid.ai/tutorial/how-to-monid-seo.md): the live page, not what the tool says about it

## More

- [Every tools page](https://dev.monid.ai/tools.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
