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's backlink profile on a scale from 0 to 100.

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)
ahrefsRanknumberAhrefs Rank - global ranking based on backlink profile strength

Operation
Backlinks
API Key*
••••••••
Target Domain/URL*
example.com or https://example.com/page
Analysis Mode
Domain (entire domain)
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
backlinksarrayList of backlinks pointing to the target

Operation
Backlinks Stats
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Domain (entire domain)
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
statsobjectBacklink statistics summary

Referring Domains

Operation
Referring Domains
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Domain (entire domain)
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
referringDomainsarrayList of domains linking to the target

Organic Keywords

Operation
Organic Keywords
API Key*
••••••••
Target Domain/URL*
example.com
Country
United States
Analysis Mode
Domain (entire domain)
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
keywordsarrayList of organic keywords the target ranks for

Top Pages

Operation
Top Pages
API Key*
••••••••
Target Domain*
example.com
Country
United States
Analysis Mode
Domain (entire domain)
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
pagesarrayList of top pages by organic traffic

Keyword Overview

Operation
Keyword Overview
API Key*
••••••••
Keyword*
Enter keyword to analyze
Country
United States
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
overviewobjectKeyword metrics overview

Operation
Broken Backlinks
API Key*
••••••••
Target Domain/URL*
example.com
Analysis Mode
Domain (entire domain)
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
brokenBacklinksarrayList of broken backlinks

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