Docs
Search docs...⌘K

Outlinks stats

API + MCP
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

targetstring (url)Required

The target of the search: a domain or a URL.

modestring

The scope of the target.

Allowed values:exactprefixdomainsubdomains
Default:subdomains
protocolstring

The protocol of your target.

Allowed values:bothhttphttps
Default:both
outputstring

The output format.

Allowed values:jsoncsvxmlphp

Responses

metricsobject
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.

outgoing_linksinteger

The number of external links from the target.

outgoing_links_dofollowinteger

The number of external dofollow links from the target.