Outlinks stats
GET/v3/site-explorer/outlinks-stats
This is a beta version of the endpoint. The data it returns may not always exactly match the corresponding values in Ahrefs UI. Data accuracy will be improved soon.
Query parameters
protocolstring
The protocol of your target.
Allowed values:bothhttphttps
Default:both
modestring
The scope of the search based on the target you entered.
Allowed values:exactprefixdomainsubdomains
Default:subdomains
targetstringRequired
The target of the search: a domain or a URL.
outputstring
The output format.
Allowed values:jsoncsvxmlphp
Responses
metricsobject
outgoing_linksinteger
The number of external links from the target.
outgoing_links_dofollowinteger
The number of external dofollow links from the target.
linked_domainsinteger
The number of unique root domains linked from the target.
linked_domains_dofollowinteger
The number of unique root domains linked via dofollow links from the target.
errorstring
errorstring
errorstring
errorstring
errorstring