Ahrefs Free SEO Tools
Ahrefs' free SEO tools as JSON: Domain Rating, backlinks and the top 20 backlinks, broken links, website traffic, keyword ideas, keyword difficulty, SERP and rank checks, XML sitemap and AI visibility for a brand.
/ahrefs/v1/backlinks3 creditsAhrefs' Backlink Checker: Domain Rating, backlinks, referring domains, dofollow shares and the top 20 backlinks (the 20 the free tool shows) — for each: linking page URL and title, its Domain Rating, the target URL, anchor text, the text right before and after the link, redirect chain, and whether the link is in the raw HTML and/or the rendered page. `mode` sets the scope (subdomains / domain / prefix / exact).
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| target | required | — | A domain (ahrefs.com), a subdomain, or a page / folder URL (https://ahrefs.com/blog/). An ahrefs.com tool link with ?input= is also accepted. For mode prefix / exact write the host exactly as the site serves it (www.bbc.co.uk/news, not bbc.co.uk/news). |
| mode = subdomains | optional | subdomains · domain · prefix · exact | What the target covers: subdomains (the domain and every subdomain, default), domain (without subdomains), prefix (every URL starting with the given path), exact (that URL only). |
/ahrefs/v1/broken_links3 creditsAhrefs' Broken Link Checker: broken backlinks pointing TO the target (linking page, its title and DR, the dead target URL and its HTTP code, anchor, surrounding text, redirect chain) with the target's total backlinks, and broken links going OUT of the target's pages, with the total outgoing links. The free tool lists up to 10 broken backlinks and up to 8 pages with broken outgoing links (measured). For the very largest sites Ahrefs may not finish within the time limit (wikipedia.org never did; nytimes.com took 36 s) or returns only the inbound half (outbound_error says so).
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| target | required | — | A domain (ahrefs.com), a subdomain, or a page / folder URL (https://ahrefs.com/blog/). An ahrefs.com tool link with ?input= is also accepted. For mode prefix / exact write the host exactly as the site serves it (www.bbc.co.uk/news, not bbc.co.uk/news). |
| mode = subdomains | optional | subdomains · domain · prefix · exact | What the target covers: subdomains (the domain and every subdomain, default), domain (without subdomains), prefix (every URL starting with the given path), exact (that URL only). |
/ahrefs/v1/traffic3 creditsAhrefs' Website Traffic Checker. All channels: last month's visits, unique visitors and page views with the previous month, 6 months of visits, the top 5 channels, top 5 countries and top 5 pages. Organic search: monthly organic traffic and its value in USD, 6 months of organic traffic, the top 5 pages (traffic and share), top 5 countries (share) and top 5 keywords (position and traffic). `country` changes only the organic top pages and top keywords (without it Ahrefs uses the site's own top country); totals and history are worldwide. `mode` sets the scope for the organic figures.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| target | required | — | A domain (ahrefs.com), a subdomain, or a page / folder URL (https://ahrefs.com/blog/). An ahrefs.com tool link with ?input= is also accepted. For mode prefix / exact write the host exactly as the site serves it (www.bbc.co.uk/news, not bbc.co.uk/news). |
| mode = subdomains | optional | subdomains · domain · prefix · exact | What the target covers: subdomains (the domain and every subdomain, default), domain (without subdomains), prefix (every URL starting with the given path), exact (that URL only). |
| country | optional | af · al · dz · as · ad · ao · ai · ag · ar · am · aw · au · at · az · bs · bh · bd · bb · by · be · bz · bj · bm · bt · bo · ba · bw · br · vg · bn · bg · bf · bi · cv · kh · cm · ca · ky · cf · td · cl · cn · co · cg · ck · cr · ci · hr · cu · cy · cz · cd · dk · dj · dm · do · ec · eg · sv · gq · ee · sz · et · fo · fj · fi · fr · gf · pf · ga · gm · ge · de · gh · gi · gr · gl · gd · gp · gu · gt · gg · gn · gy · ht · hn · hk · hu · is · in · id · ir · iq · ie · im · il · it · jm · jp · je · jo · kz · ke · ki · kw · kg · la · lv · lb · ls · lr · ly · li · lt · lu · mg · mw · my · mv · ml · mt · mq · mr · mu · yt · mx · fm · md · mc · mn · me · ms · ma · mz · mm · na · nr · np · nl · nc · nz · ni · ne · ng · nu · mk · no · om · pk · pw · ps · pa · pg · py · pe · ph · pn · pl · pt · pr · qa · re · ro · ru · rw · sh · kn · lc · vc · ws · sm · st · sa · sn · rs · sc · sl · sg · sk · si · sb · so · za · kr · es · lk · sr · se · ch · sy · tw · tj · tz · th · tl · tg · tk · to · tt · tn · tr · tm · tv · vi · ug · ua · ae · gb · us · uy · uz · vu · ve · vn · ye · zm · zw | Country for the organic top pages and top keywords: ISO-2 code (de) or name (Germany); 217 countries. Default: the site's own top country. |
/ahrefs/v1/sitemap3 creditsAhrefs' XML Sitemap Generator: the site's indexable URLs from Ahrefs' crawl with each URL's last-modified date, up to the tool's cap of 1000 URLs, plus how many URLs were crawled and how many were excluded (redirects, non-canonical, noindex, errors) and whether the cap was reached.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| target | required | — | A domain (ahrefs.com), a subdomain, or a page / folder URL (https://ahrefs.com/blog/). An ahrefs.com tool link with ?input= is also accepted. For mode prefix / exact write the host exactly as the site serves it (www.bbc.co.uk/news, not bbc.co.uk/news). |
/ahrefs/v1/keyword_ideas3 creditsAhrefs' Keyword Generator (Google): the 20 keyword ideas and 20 question ideas the free tool shows for a seed keyword in one country, each with its search-volume band (e.g. >1000), keyword difficulty label (Easy / Medium / Hard / N/A) and when Ahrefs last updated it, plus the total number of ideas Ahrefs has. 217 countries.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| keyword | required | — | The search query (up to 200 characters). |
| country = us | optional | af · al · dz · as · ad · ao · ai · ag · ar · am · aw · au · at · az · bs · bh · bd · bb · by · be · bz · bj · bm · bt · bo · ba · bw · br · vg · bn · bg · bf · bi · cv · kh · cm · ca · ky · cf · td · cl · cn · co · cg · ck · cr · ci · hr · cu · cy · cz · cd · dk · dj · dm · do · ec · eg · sv · gq · ee · sz · et · fo · fj · fi · fr · gf · pf · ga · gm · ge · de · gh · gi · gr · gl · gd · gp · gu · gt · gg · gn · gy · ht · hn · hk · hu · is · in · id · ir · iq · ie · im · il · it · jm · jp · je · jo · kz · ke · ki · kw · kg · la · lv · lb · ls · lr · ly · li · lt · lu · mg · mw · my · mv · ml · mt · mq · mr · mu · yt · mx · fm · md · mc · mn · me · ms · ma · mz · mm · na · nr · np · nl · nc · nz · ni · ne · ng · nu · mk · no · om · pk · pw · ps · pa · pg · py · pe · ph · pn · pl · pt · pr · qa · re · ro · ru · rw · sh · kn · lc · vc · ws · sm · st · sa · sn · rs · sc · sl · sg · sk · si · sb · so · za · kr · es · lk · sr · se · ch · sy · tw · tj · tz · th · tl · tg · tk · to · tt · tn · tr · tm · tv · vi · ug · ua · ae · gb · us · uy · uz · vu · ve · vn · ye · zm · zw | Country database: ISO-2 code (us) or name; 217 countries. Default us. |
| include_questions = true | optional | — | Also return the question ideas (default true). |
/ahrefs/v1/keyword_difficulty3 creditsAhrefs' Keyword Difficulty Checker: Keyword Difficulty (KD, 0-100), roughly how many referring domains a page needs to rank in the top 10, the date of the SERP snapshot, and the Google top 10 with every result's type; the top 3 organic results carry Ahrefs metrics (DR, UR, backlinks, referring domains, traffic, traffic value, keywords, top keyword and its volume, word count, Ahrefs Rank) — the free tool publishes them for those 3 only (47 of 47 SERPs measured).
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| keyword | required | — | The search query (up to 200 characters). |
| country = us | optional | af · al · dz · as · ad · ao · ai · ag · ar · am · aw · au · at · az · bs · bh · bd · bb · by · be · bz · bj · bm · bt · bo · ba · bw · br · vg · bn · bg · bf · bi · cv · kh · cm · ca · ky · cf · td · cl · cn · co · cg · ck · cr · ci · hr · cu · cy · cz · cd · dk · dj · dm · do · ec · eg · sv · gq · ee · sz · et · fo · fj · fi · fr · gf · pf · ga · gm · ge · de · gh · gi · gr · gl · gd · gp · gu · gt · gg · gn · gy · ht · hn · hk · hu · is · in · id · ir · iq · ie · im · il · it · jm · jp · je · jo · kz · ke · ki · kw · kg · la · lv · lb · ls · lr · ly · li · lt · lu · mg · mw · my · mv · ml · mt · mq · mr · mu · yt · mx · fm · md · mc · mn · me · ms · ma · mz · mm · na · nr · np · nl · nc · nz · ni · ne · ng · nu · mk · no · om · pk · pw · ps · pa · pg · py · pe · ph · pn · pl · pt · pr · qa · re · ro · ru · rw · sh · kn · lc · vc · ws · sm · st · sa · sn · rs · sc · sl · sg · sk · si · sb · so · za · kr · es · lk · sr · se · ch · sy · tw · tj · tz · th · tl · tg · tk · to · tt · tn · tr · tm · tv · vi · ug · ua · ae · gb · us · uy · uz · vu · ve · vn · ye · zm · zw | Country of the Google SERP: ISO-2 code or name; default us. |
/ahrefs/v1/serp3 creditsAhrefs' SERP Checker: the Google top 10 for a keyword in a country as Ahrefs stores it — organic results (Ahrefs page metrics on the top 3, as the free tool shows), AI Overview text and its sources, People Also Ask questions, ads, local pack, shopping, image pack, top stories and other blocks with their positions — and the date of the snapshot.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| keyword | required | — | The search query (up to 200 characters). |
| country = us | optional | af · al · dz · as · ad · ao · ai · ag · ar · am · aw · au · at · az · bs · bh · bd · bb · by · be · bz · bj · bm · bt · bo · ba · bw · br · vg · bn · bg · bf · bi · cv · kh · cm · ca · ky · cf · td · cl · cn · co · cg · ck · cr · ci · hr · cu · cy · cz · cd · dk · dj · dm · do · ec · eg · sv · gq · ee · sz · et · fo · fj · fi · fr · gf · pf · ga · gm · ge · de · gh · gi · gr · gl · gd · gp · gu · gt · gg · gn · gy · ht · hn · hk · hu · is · in · id · ir · iq · ie · im · il · it · jm · jp · je · jo · kz · ke · ki · kw · kg · la · lv · lb · ls · lr · ly · li · lt · lu · mg · mw · my · mv · ml · mt · mq · mr · mu · yt · mx · fm · md · mc · mn · me · ms · ma · mz · mm · na · nr · np · nl · nc · nz · ni · ne · ng · nu · mk · no · om · pk · pw · ps · pa · pg · py · pe · ph · pn · pl · pt · pr · qa · re · ro · ru · rw · sh · kn · lc · vc · ws · sm · st · sa · sn · rs · sc · sl · sg · sk · si · sb · so · za · kr · es · lk · sr · se · ch · sy · tw · tj · tz · th · tl · tg · tk · to · tt · tn · tr · tm · tv · vi · ug · ua · ae · gb · us · uy · uz · vu · ve · vn · ye · zm · zw | Country of the Google SERP: ISO-2 code or name; default us. |
/ahrefs/v1/keyword_rank3 creditsAhrefs' Keyword Rank Checker: where a domain or URL ranks on Google for a keyword in a country — the best position Ahrefs has stored for it with that result (is_ranking false and position null when it has none) — and the top 10 for comparison.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| keyword | required | — | The search query (up to 200 characters). |
| target | required | — | A domain (ahrefs.com), a subdomain, or a page / folder URL (https://ahrefs.com/blog/). An ahrefs.com tool link with ?input= is also accepted. For mode prefix / exact write the host exactly as the site serves it (www.bbc.co.uk/news, not bbc.co.uk/news). |
| country = us | optional | af · al · dz · as · ad · ao · ai · ag · ar · am · aw · au · at · az · bs · bh · bd · bb · by · be · bz · bj · bm · bt · bo · ba · bw · br · vg · bn · bg · bf · bi · cv · kh · cm · ca · ky · cf · td · cl · cn · co · cg · ck · cr · ci · hr · cu · cy · cz · cd · dk · dj · dm · do · ec · eg · sv · gq · ee · sz · et · fo · fj · fi · fr · gf · pf · ga · gm · ge · de · gh · gi · gr · gl · gd · gp · gu · gt · gg · gn · gy · ht · hn · hk · hu · is · in · id · ir · iq · ie · im · il · it · jm · jp · je · jo · kz · ke · ki · kw · kg · la · lv · lb · ls · lr · ly · li · lt · lu · mg · mw · my · mv · ml · mt · mq · mr · mu · yt · mx · fm · md · mc · mn · me · ms · ma · mz · mm · na · nr · np · nl · nc · nz · ni · ne · ng · nu · mk · no · om · pk · pw · ps · pa · pg · py · pe · ph · pn · pl · pt · pr · qa · re · ro · ru · rw · sh · kn · lc · vc · ws · sm · st · sa · sn · rs · sc · sl · sg · sk · si · sb · so · za · kr · es · lk · sr · se · ch · sy · tw · tj · tz · th · tl · tg · tk · to · tt · tn · tr · tm · tv · vi · ug · ua · ae · gb · us · uy · uz · vu · ve · vn · ye · zm · zw | Country of the Google SERP: ISO-2 code or name; default us. |
/ahrefs/v1/ai_visibility3 creditsAhrefs' AI Visibility Checker for a brand: total AI citations, citations per AI assistant (ChatGPT, Gemini, Perplexity, Copilot, Grok, Google AI Overviews, Google AI Mode…), a 6-month citation timeline per assistant, and the top 5 cited domains, top 5 cited pages and top 5 topics. A brand with no mentions answers 0 citations and empty lists.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| brand | required | — | The brand name to look for in AI answers (up to 100 characters). |
/ahrefs/v1/ai_overviews3 creditsAhrefs' AI Overviews Tracker for a brand: mentions in Google AI Overviews, new mentions this cycle, number of topics and domains, the top 5 topics, top 5 cited domains and pages, and 6-month timelines for AI Overviews and AI Mode.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| brand | required | — | The brand name to look for in AI answers (up to 100 characters). |
/ahrefs/v1/ai_mode3 creditsAhrefs' AI Mode Tracker for a brand: mentions in Google AI Mode, new mentions this cycle, number of topics and domains, the top 5 topics, top 5 cited domains and pages, and 6-month timelines for AI Mode and AI Overviews.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| brand | required | — | The brand name to look for in AI answers (up to 100 characters). |
/ahrefs/v1/filtersfreeThe values the other actions accept: the 217 countries (ISO-2 code and name), the 4 scope modes, the volume bands and difficulty labels as the tools print them. No upstream request.
Try in playground →curl -X POST https://api.reefapi.com/ahrefs/v1/website_authority \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"target":"ahrefs.com"}'{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.
Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.
Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.
No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.
Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.