← Tools Reference

Ahrefs

Ahrefs integration (Marketing, Data). Imported from open-connector.

API key4 toolshttps://api.ahrefs.com/v3
GET
ahrefs_get_limits_and_usage
Retrieve Ahrefs API subscription limits and current usage.

/subscription-info/limits-and-usage

GET
ahrefs_get_site_explorer_metrics
Retrieve Site Explorer metrics for a domain or URL.

/site-explorer/metrics

6 parameters
ParamTypeRequiredDescription
targetstringrequiredDomain or URL to analyze with Ahrefs.
datestringrequiredDate to report metrics on in YYYY-MM-DD format.
modestringoptionalScope of the Ahrefs target search.
countrystringoptionalTwo-letter country code in ISO 3166-1 alpha-2 format.
protocolstringoptionalProtocol filter for the target.
volumeModestringoptionalSearch volume calculation mode used by Ahrefs for volume, traffic, and traffic …
GET
ahrefs_get_site_explorer_metrics_by_country
Retrieve Site Explorer metrics grouped by country for a domain or URL.

/site-explorer/metrics-by-country

6 parameters
ParamTypeRequiredDescription
targetstringrequiredDomain or URL to analyze with Ahrefs.
datestringrequiredDate to report metrics on in YYYY-MM-DD format.
modestringoptionalScope of the Ahrefs target search.
selectstringoptionalComma-separated list of columns to return.
protocolstringoptionalProtocol filter for the target.
volumeModestringoptionalSearch volume calculation mode used by Ahrefs for volume, traffic, and traffic …
GET
ahrefs_get_keywords_overview
Retrieve Keywords Explorer overview rows for keywords, a target, or a keyword list.

/keywords-explorer/overview

13 parameters
ParamTypeRequiredDescription
countrystringrequiredTwo-letter country code in ISO 3166-1 alpha-2 format.
selectstringrequiredComma-separated list of columns to return.
keywordsstringoptionalComma-separated list of keywords to show metrics for.
targetstringoptionalDomain or URL used to filter keyword data.
targetModestringoptionalScope of the Ahrefs target search.
targetPositionstringoptionalRanking position filter for the specified target.
keywordListIdintegeroptionalIdentifier of an existing Ahrefs keyword list.
volumeMonthlyDateFromstringoptionalStart date in YYYY-MM-DD format for retrieving historical monthly search volume…
volumeMonthlyDateTostringoptionalEnd date in YYYY-MM-DD format for retrieving historical monthly search volumes.
wherestringoptionalAhrefs filter expression.
orderBystringoptionalColumn ordering expression accepted by Ahrefs.
limitintegeroptionalMaximum number of keyword rows to return.
timeoutintegeroptionalManual timeout duration in seconds.