Ahrefs

SEO analysis with Ahrefs

Configuration

Domain Rating

Operation
Domain Rating
API Key*
••••••••
Target Domain*
example.com
Date
YYYY-MM-DD (defaults to today)
Domain Rating (ahrefs_domain_rating)

Get the Domain Rating (DR) and Ahrefs Rank for a target domain. Domain Rating shows the strength of a website

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain to analyze (e.g., example.com)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
domainRatingnumberDomain Rating score (0-100)

Operation
Backlinks
API Key*
••••••••
Target Domain/URL*
example.com or https://example.com/page
Analysis Mode
Select...
Limit
100
Offset
0
Date
YYYY-MM-DD (defaults to today)
Backlinks (ahrefs_backlinks)

Get a list of backlinks pointing to a target domain or URL. Returns details about each backlink including source URL, anchor text, and domain rating.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains), exact (exact URL match)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return (default: 100)
offsetnumberNoNumber of results to skip for pagination
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
urlFromstringThe URL of the page containing the backlink
urlTostringThe URL being linked to
anchorstringThe anchor text of the link
domainRatingSourcenumberDomain Rating of the linking domain
isDofollowbooleanWhether the link is dofollow
firstSeenstringWhen the backlink was first discovered

Operation
Backlinks Stats
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Select...
Date
YYYY-MM-DD (defaults to today)
Backlinks Stats (ahrefs_backlinks_stats)

Get backlink statistics for a target domain or URL. Returns totals for different backlink types including dofollow, nofollow, text, image, and redirect links.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains), exact (exact URL match)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
totalnumberTotal number of live backlinks
dofollownumberNumber of dofollow backlinks
nofollownumberNumber of nofollow backlinks
textnumberNumber of text backlinks
imagenumberNumber of image backlinks

Referring Domains

Operation
Referring Domains
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Select...
Limit
100
Offset
0
Date
YYYY-MM-DD (defaults to today)
Referring Domains (ahrefs_referring_domains)

Get a list of domains that link to a target domain or URL. Returns unique referring domains with their domain rating, backlink counts, and discovery dates.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains), exact (exact URL match)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return (default: 100)
offsetnumberNoNumber of results to skip for pagination
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
domainstringThe referring domain
domainRatingnumberDomain Rating of the referring domain
backlinksnumberTotal number of backlinks from this domain
dofollowBacklinksnumberNumber of dofollow backlinks from this domain
firstSeenstringWhen the domain was first seen linking

Organic Keywords

Operation
Organic Keywords
API Key*
••••••••
Target Domain/URL*
example.com
Country
Select...
Analysis Mode
Select...
Limit
100
Offset
0
Date
YYYY-MM-DD (defaults to today)
Organic Keywords (ahrefs_organic_keywords)

Get organic keywords that a target domain or URL ranks for in Google search results. Returns keyword details including search volume, ranking position, and estimated traffic.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze
countrystringNoCountry code for search results (e.g., us, gb, de). Default: us
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains), exact (exact URL match)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return (default: 100)
offsetnumberNoNumber of results to skip for pagination
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
keywordstringThe keyword
volumenumberMonthly search volume
positionnumberCurrent ranking position
urlstringThe URL that ranks for this keyword
trafficnumberEstimated monthly organic traffic

Top Pages

Operation
Top Pages
API Key*
••••••••
Target Domain*
example.com
Country
Select...
Analysis Mode
Select...
Limit
100
Offset
0
Date
YYYY-MM-DD (defaults to today)
Top Pages (ahrefs_top_pages)

Get the top pages of a target domain sorted by organic traffic. Returns page URLs with their traffic, keyword counts, and estimated traffic value.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain to analyze
countrystringNoCountry code for traffic data (e.g., us, gb, de). Default: us
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return (default: 100)
offsetnumberNoNumber of results to skip for pagination
selectstringNoComma-separated list of fields to return (e.g., url,traffic,keywords,top_keyword,value). Default: url,traffic,keywords,top_keyword,value
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
urlstringThe page URL
trafficnumberEstimated monthly organic traffic
keywordsnumberNumber of keywords the page ranks for
topKeywordstringThe top keyword driving traffic to this page

Keyword Overview

Operation
Keyword Overview
API Key*
••••••••
Keyword*
Enter keyword to analyze
Country
Select...
Keyword Overview (ahrefs_keyword_overview)

Get detailed metrics for a keyword including search volume, keyword difficulty, CPC, clicks, and traffic potential.

Input
ParameterTypeRequiredDescription
keywordstringYesThe keyword to analyze
countrystringNoCountry code for keyword data (e.g., us, gb, de). Default: us
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
keywordstringThe analyzed keyword
searchVolumenumberMonthly search volume
keywordDifficultynumberKeyword difficulty score (0-100)
cpcnumberCost per click in USD
clicksnumberEstimated clicks per month
clicksPercentagenumberPercentage of searches that result in clicks
parentTopicstringThe parent topic for this keyword

Operation
Broken Backlinks
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Select...
Limit
100
Offset
0
Date
YYYY-MM-DD (defaults to today)
Broken Backlinks (ahrefs_broken_backlinks)

Get a list of broken backlinks pointing to a target domain or URL. Useful for identifying link reclamation opportunities.

Input
ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains), exact (exact URL match)
datestringNoDate for historical data in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return (default: 100)
offsetnumberNoNumber of results to skip for pagination
apiKeystringYesAhrefs API Key
Output
ParameterTypeDescription
urlFromstringThe URL of the page containing the broken link
urlTostringThe broken URL being linked to
httpCodenumberHTTP status code (e.g., 404, 410)
anchorstringThe anchor text of the link

Usage Instructions

Integrate Ahrefs SEO tools into your workflow. Analyze domain ratings, backlinks, organic keywords, top pages, and more. Requires an Ahrefs Enterprise plan with API access.

Notes

  • Category: tools
  • Type: ahrefs