target | string | Yes | - | The domain, subdomain, subfolder or URL whose outgoing links to list (e.g. example.com). |
mode | string or SelectableOption | No | subdomains | How to interpret the target: ‘subdomains’ (domain and all subdomains, default), ‘domain’ (the exact host only), ‘prefix’ (every URL starting with the target), or ‘exact’ (the exact URL only). |
report | string or SelectableOption | No | linked_domains | ’linked_domains’ (default): external domains the target links to with link counts and Domain Rating. ‘external_anchors’: anchor texts of outbound external links. ‘internal_anchors’: anchor texts of internal links. |
metrics | array of string or SelectableOption | No | - | Fields to return; the report decides which are valid (domain or anchor is always included). linked_domains: domain_rating, links_from_target, linked_pages, dofollow_links, first_seen, is_root_domain, dofollow_linked_domains, dofollow_refdomains (5 units), linked_domain_traffic (10 units). external_anchors: links_from_target, dofollow_links, linked_domains, linked_pages, first_seen. internal_anchors: links_from_target, dofollow_links, linked_pages, first_seen. Leave empty for a sensible default per report. |
filters | array of FilterItem | No | - | Filters on the report’s fields, e.g. domain_rating GREATER_THAN 50 or anchor CONTAINS ‘sponsor’. |
orders | array of OrderItem | No | - | Sort by one or more of the report’s fields. |
limit | integer | No | 100 | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). |