target | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (https://example.com/pricing). |
include_subdomains | boolean | No | True | Count links to subdomains of the target as well. Defaults to true. |
exclude_internal_backlinks | boolean | No | True | Leave out links coming from the target’s own subdomains. Defaults to true. |
backlinks_status_type | string or SelectableOption | No | live | Which backlinks to count: ‘live’ (default, found on the last crawl), ‘all’ (live and lost together) or ‘lost’ (only links that disappeared). |
rank_scale | string or SelectableOption | No | one_thousand | Scale for the rank, domain_from_rank and page_from_rank values: ‘one_thousand’ (DataForSEO’s default, 0 to 1000) or ‘one_hundred’ (0 to 100, comparable to the domain ratings other SEO tools show). |
mode | string or SelectableOption | No | as_is | ’as_is’ (default) returns every backlink, ‘one_per_domain’ one backlink per referring domain, ‘one_per_anchor’ one backlink per anchor text. |
filters | array of FilterItem | No | - | Up to 8 filters on backlink fields, e.g. dofollow EQUALS true, domain_from_rank GREATER_THAN 500, is_new EQUALS true, anchor CONTAINS ‘seo tools’, backlink_spam_score LESS_THAN 30, page_from_language EQUALS en. |
orders | array of OrderItem | No | - | Sort by up to 3 backlink fields, e.g. domain_from_rank DESC or first_seen DESC. |
limit | integer | No | 100 | Maximum number of backlinks to return (1 to 1000). Defaults to 100. |
offset | integer | No | - | Number of backlinks to skip, for paging. |
fields | string or array of string | No | - | Result columns to keep, e.g. url_from, url_to, anchor, dofollow, domain_from_rank, page_from_rank, backlink_spam_score, first_seen, last_seen, is_new, is_lost, is_broken, tld_from, domain_from_country, page_from_title, text_pre, text_post, links_count, semantic_location. Leave empty for the default set listed in the output description. |