AACFlow

Ahrefs

Ahrefs is a leading SEO toolset for analyzing websites, tracking rankings, monitoring backlinks, and researching keywords. It provides detailed insights into your own website as well as your competitors, helping you make data-driven decisions to improve your search visibility.

With the Ahrefs integration in AACFlow.io, you can:

  • Analyze Domain Rating & Authority: Instantly check the Domain Rating (DR) and Ahrefs Rank of any website to gauge its authority.
  • Fetch Backlinks: Retrieve a list of backlinks pointing to a site or specific URL, with details like anchor text, referring page DR, and more.
  • Get Backlink Statistics: Access metrics on backlink types (dofollow, nofollow, text, image, redirect, etc.) for a domain or URL.
  • Explore Organic Keywords (planned): View keywords a domain ranks for and their positions in Google search results.
  • Discover Top Pages (planned): Identify the highest-performing pages by organic traffic and links.

These tools let your agents automate SEO research, monitor competitors, and generate reports—all as part of your workflow automations. To use the Ahrefs integration, you’ll need an Ahrefs Enterprise subscription with API access.

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.

Actions

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

ahrefs_metrics

Get a one-call organic and paid search overview for a target domain or URL: organic traffic, organic keywords, paid traffic, paid keywords, and estimated traffic cost.

Input

ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze. Example: "example.com"
countrystringNoCountry code for traffic data. Example: "us", "gb", "de"
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
datestringNoDate to report metrics on, in YYYY-MM-DD format (defaults to today)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
metricsobjectOrganic and paid search overview
organicTrafficnumberEstimated monthly organic traffic
organicKeywordsnumberNumber of organic keywords ranked
organicKeywordsTop3numberNumber of organic keywords ranking in positions 1-3
organicCostnumberEstimated monthly cost to replicate organic traffic via ads (USD)
paidTrafficnumberEstimated monthly paid search traffic
paidKeywordsnumberNumber of paid keywords targeted
paidPagesnumberNumber of pages receiving paid traffic
paidCostnumberEstimated monthly paid search spend (USD)

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. Example: "example.com" or "https://example.com/page"
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
historystringNoHistorical scope: "live" (currently live backlinks), "all_time" (default, includes lost backlinks), or "since:YYYY-MM-DD" (backlinks found since a date).
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
backlinksarrayList of backlinks pointing to the target
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
lastVisitedstringWhen the backlink was last checked

Get backlink and referring domain totals for a target domain or URL, both currently live and across all time.

Input

ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze. Example: "example.com" or "https://example.com/page"
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
datestringNoDate to report metrics on, in YYYY-MM-DD format (defaults to today)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
statsobjectBacklink and referring domain totals
liveBacklinksnumberNumber of currently live backlinks
liveReferringDomainsnumberNumber of currently live referring domains
allTimeBacklinksnumberTotal backlinks ever discovered, including lost ones
allTimeReferringDomainsnumberTotal referring domains ever discovered, including lost ones

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. Example: "example.com" or "https://example.com/page"
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
historystringNoHistorical scope: "live" (currently live), "all_time" (default, includes lost domains), or "since:YYYY-MM-DD" (domains found since a date).
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
referringDomainsarrayList of domains linking to the target
domainstringThe referring domain
domainRatingnumberDomain Rating of the referring domain
backlinksnumberTotal number of backlinks from this domain to the target
dofollowBacklinksnumberNumber of dofollow backlinks from this domain
firstSeenstringWhen the domain was first seen linking
lastVisitedstringWhen the domain was last seen linking (null if never re-crawled)

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. Example: "example.com" or "https://example.com/page"
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
brokenBacklinksarrayList of broken backlinks
urlFromstringThe URL of the page containing the broken link
urlTostringThe broken URL being linked to
httpCodenumberHTTP status code of the broken target URL (e.g., 404, 410)
anchorstringThe anchor text of the link
domainRatingSourcenumberDomain Rating of the linking domain

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. Example: "example.com" or "https://example.com/page"
countrystringNoCountry code for search results. Example: "us", "gb", "de" (default: "us")
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
datestringNoDate to report metrics on, in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
keywordsarrayList of organic keywords the target ranks for
keywordstringThe keyword
volumenumberMonthly search volume
positionnumberBest ranking position for this keyword
urlstringThe URL that ranks at the best position for this keyword
trafficnumberEstimated monthly organic traffic
keywordDifficultynumberKeyword difficulty score (0-100)

ahrefs_organic_competitors

Get domains that compete with a target domain or URL for the same organic keywords, ranked by keyword overlap.

Input

ParameterTypeRequiredDescription
targetstringYesThe target domain or URL to analyze. Example: "example.com"
countrystringNoCountry code for search results. Example: "us", "gb", "de" (default: "us")
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: "domain"
datestringNoDate to report metrics on, in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
competitorsarrayList of organic search competitors ranked by keyword overlap
domainstringThe competitor domain
domainRatingnumberDomain Rating of the competitor
commonKeywordsnumberNumber of keywords the competitor and target both rank for
targetKeywordsnumberNumber of keywords the target ranks for
competitorKeywordsnumberNumber of keywords the competitor ranks for
trafficnumberEstimated monthly organic traffic for the competitor

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. Example: "example.com"
countrystringNoCountry code for traffic data. Example: "us", "gb", "de" (default: "us")
modestringNoAnalysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default). Example: "domain"
datestringNoDate to report metrics on, in YYYY-MM-DD format (defaults to today)
limitnumberNoMaximum number of results to return. Example: 50 (default: 1000)
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
pagesarrayList of top pages by organic traffic
urlstringThe page URL
trafficnumberEstimated monthly organic traffic
keywordsnumberNumber of keywords the page ranks for
topKeywordstringThe top keyword driving traffic to this page
valuenumberEstimated traffic value in USD

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. Example: "us", "gb", "de" (default: "us")
apiKeystringYesAhrefs API Key

Output

ParameterTypeDescription
overviewobjectKeyword metrics overview
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 an organic click
parentTopicstringThe parent topic for this keyword
trafficPotentialnumberEstimated traffic potential if ranking #1
intentsobjectSearch intent flags (informational, navigational, commercial, transactional, branded, local)
informationalbooleanQuery seeks information
navigationalbooleanQuery seeks a specific site or page
commercialbooleanQuery researches a purchase decision
transactionalbooleanQuery intends to complete a purchase
brandedbooleanQuery references a specific brand
localbooleanQuery seeks local results

On this page