target | string | Yes | - | Domain to list the best pages or subdomains for, without scheme or www (e.g. example.com). |
report | string or SelectableOption | No | pages | ’pages’ (default): pages of the domain ranked by estimated organic traffic and keyword counts. ‘subdomains’: the same per subdomain. |
location | string or SelectableOption | No | 2840 | Country or location: a two-letter country code (us, gb, de…), a DataForSEO location code (2840 = United States), or a full location name such as ‘London,England,United Kingdom’. Defaults to the United States. |
language | string or SelectableOption | No | en | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. |
item_types | string or array of string | No | - | SERP element types to count: organic, paid, featured_snippet, local_pack, ai_overview_reference. Defaults to organic and paid. |
historical_serp_mode | string or SelectableOption | No | live | ’live’ (default): current rankings. ‘lost’: rankings the pages lost. ‘all’: both. |
filters | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. metrics.organic.etv GREATER_THAN 100, metrics.organic.count GREATER_THAN 10, page_address CONTAINS ‘/blog/’. |
orders | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword_info.search_volume DESC. |
limit | integer | No | 100 | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. |
offset | integer | No | - | Number of rows to skip, for paging. |
fields | string or array of string | No | - | Dotted result fields to keep, e.g. page_address (or subdomain), metrics.organic.etv, metrics.organic.count, metrics.organic.pos_1, metrics.organic.pos_2_3, metrics.organic.pos_4_10, metrics.organic.is_new, metrics.organic.is_up, metrics.organic.is_down, metrics.organic.is_lost, metrics.paid.etv, metrics.paid.count. Leave empty for the default set (see the output description). |