Skip to main content
Run Ahrefs' free SEO tools (DR, backlinks, traffic, keywords, KD, SERP)

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

tool
string | null

Which Ahrefs free tool to run: 'authority' (Domain Rating), 'backlinks', 'traffic', 'broken-links' (these take target), 'keyword-difficulty', 'keywords' (keyword ideas), 'serp' (these take keyword).

target
string | null

Domain or URL for the domain tools, e.g. 'github.com' or 'https://github.com/features'.

keyword
string | null

Search phrase for the keyword tools, e.g. 'running shoes'.

country
string | null

Two-letter market code. Keyword tools: the search market (default 'us'). traffic: limits the estimate to that country (default: worldwide). Not used by the other domain tools.

mode
string
default:subdomains

Target scope for the domain tools: 'subdomains' (the domain with all its subdomains), 'domain' (without subdomains), 'prefix' (everything under the URL) or 'exact' (that URL only).

protocol
string
default:both

traffic only: 'both', 'http' or 'https'.

questions
boolean
default:true

keywords only: also return question ideas.

Response

JSON with tool, query, found and the tool's fields (found: false, with empty fields, when Ahrefs has no data for the target or keyword).