NAVNavbar
Logo
php python csharp java

Page Intersection


This endpoint will provide you with the keywords for which specified pages rank within the same SERP. You will get search volume, competition, cost-per-click and impressions data on each intersecting keyword. Along with that, you will get data on SERP elements that specified pages rank for in search results, as well as the estimated traffic volume and cost of ad traffic. Page Intersection endpoint supports organic, paid, local pack and featured snippet results.

Find keywords several webpages rank for:
If you would like to get the keywords several pages rank for, you need to specify webpages only in the pages array. This way, you will receive intersected ranked keywords for the specified URLs.

Find keywords your competitors rank for but you do not:
If you would like to receive all keywords several pages rank for, but particular pages do not, you need to use the exclude_pages array as well. This way you will receive the keywords for which the URLs from the pages array rank for, but the URLs from the exclude_pages array do not.

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard

<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
$client = new RestClient($api_url, null, 'login', 'password');

$post_array = array();
// simple way to set a task
$post_array[] = array(
   "pages" => [
      "1" => "https://dataforseo.com/*",
      "2" => "https://ahrefs.com/*"
   ],
   "language_name" => "English",
   "location_code" => 2840
);
try {
   // POST /v3/dataforseo_labs/page_intersection/live
   $result = $client->post('/v3/dataforseo_labs/page_intersection/live', $post_array);
   print_r($result);
   // do something with post result
} catch (RestClientException $e) {
   echo "\n";
   print "HTTP code: {$e->getHttpCode()}\n";
   print "Error code: {$e->getCode()}\n";
   print "Message: {$e->getMessage()}\n";
   print  $e->getTraceAsString();
   echo "\n";
}
$client = null;
?>

The above command returns JSON structured like this:

{
  "version": "0.1.20200408",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.1564 sec.",
  "cost": 0.0105,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "04101036-0696-0198-0000-5a73d1f5959d",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.0980 sec.",
      "cost": 0.0105,
      "result_count": 1,
      "path": [
        "v3",
        "dataforseo_labs",
        "page_intersection",
        "live"
      ],
      "data": {
        "api": "dataforseo_labs",
        "function": "page_intersection",
        "pages": {
          "1": "https://dataforseo.com/*",
          "2": "https://ahrefs.com/*"
        },
        "language_name": "English",
        "location_code": 2840,
        "limit": 5
      },
      "result": [
        {
          "pages": {
            "1": "https://dataforseo.com/*",
            "2": "https://ahrefs.com/*"
          },
          "exclude_pages": null,
          "location_code": 2840,
          "language_code": "en",
          "total_count": 707,
          "items_count": 5,
          "items": [
            {
              "keyword_data": {
                "keyword": "software for seo",
                "location_code": 2840,
                "language_code": "en",
                "keyword_info": {
                  "last_updated_time": "2020-03-02T07:14:56",
                  "competition": 0.3203948245965053,
                  "cpc": 8.469373,
                  "search_volume": 2400,
                  "categories": [
                    10004,
                    10007,
                    10019,
                    10167,
                    10168,
                    10276,
                    10878,
                    10885,
                    11088,
                    12376,
                    13152,
                    13316,
                    13378,
                    13381,
                    13418
                  ],
                  "monthly_searches": [
                    {
                      "year": 2020,
                      "month": 1,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 12,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 11,
                      "search_volume": 1600
                    },
                    {
                      "year": 2019,
                      "month": 10,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 9,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 8,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 7,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 6,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 5,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 4,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 3,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 2,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 1,
                      "search_volume": 1600
                    }
                  ]
                },
                "impressions_info": {
                  "last_updated_time": "2020-03-01T20:22:45",
                  "bid": 999,
                  "match_type": "exact",
                  "ad_position_min": 1.11,
                  "ad_position_max": 1,
                  "ad_position_average": 1.06,
                  "cpc_min": 22.86,
                  "cpc_max": 27.94,
                  "cpc_average": 25.4,
                  "daily_impressions_min": 1.86,
                  "daily_impressions_max": 2.28,
                  "daily_impressions_average": 2.07,
                  "daily_clicks_min": 0.05,
                  "daily_clicks_max": 0.06,
                  "daily_clicks_average": 0.06,
                  "daily_cost_min": 1.31,
                  "daily_cost_max": 1.6,
                  "daily_cost_average": 1.46
                }
              },
              "intersection_result": {
                "1": {
                  "type": "organic",
                  "rank_group": 78,
                  "rank_absolute": 80,
                  "position": "left",
                  "xpath": "/html[1]/body[1]/div[9]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[3]/div[1]/div[78]/div[1]",
                  "domain": "dataforseo.com",
                  "title": "SEO software API ⓴⓴. API for agencies. Best SEO data API ...",
                  "url": "https://dataforseo.com/",
                  "breadcrumb": "https://dataforseo.com",
                  "is_image": false,
                  "is_video": false,
                  "is_featured_snippet": false,
                  "is_malicious": false,
                  "description": "DataForSEO ➤➤➤ SEO Software API ➤➤➤ SEO API data Provider built for SEO-Software companies and agencies. ✓✓✓ Great Speed, Clear Stats, Simple ...",
                  "pre_snippet": null,
                  "extended_snippet": null,
                  "amp_version": false,
                  "rating": null,
                  "highlighted": [
                    "SEO Software",
                    "SEO",
                    "Software"
                  ],
                  "links": null,
                  "main_domain": "dataforseo.com",
                  "relative_url": "/",
                  "etv": 5.04,
                  "impressions_etv": 0.13040999999999997,
                  "estimated_paid_traffic_cost": 42.68563991999999
                },
                "2": {
                  "type": "organic",
                  "rank_group": 31,
                  "rank_absolute": 33,
                  "position": "left",
                  "xpath": "/html[1]/body[1]/div[9]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[3]/div[1]/div[31]/div[1]",
                  "domain": "ahrefs.com",
                  "title": "Ahrefs - SEO Tools & Resources To Grow Your Search Traffic",
                  "url": "https://ahrefs.com/",
                  "breadcrumb": "https://ahrefs.com",
                  "is_image": false,
                  "is_video": false,
                  "is_featured_snippet": false,
                  "is_malicious": false,
                  "description": "As part of our job at Authority Hacker, we test every SEO tool out there to try and ... as an agency, but they've kept the entire SEO software industry on its toes.",
                  "pre_snippet": null,
                  "extended_snippet": null,
                  "amp_version": false,
                  "rating": null,
                  "highlighted": [
                    "SEO",
                    "SEO software"
                  ],
                  "links": null,
                  "main_domain": "ahrefs.com",
                  "relative_url": "/",
                  "etv": 5.04,
                  "impressions_etv": 0.13040999999999997,
                  "estimated_paid_traffic_cost": 42.68563991999999
                }
              }
            },
            {
              "keyword_data": {
                "keyword": "seo-software",
                "location_code": 2840,
                "language_code": "en",
                "keyword_info": {
                  "last_updated_time": "2020-03-02T08:58:24",
                  "competition": 0.3203948245965053,
                  "cpc": 8.469373,
                  "search_volume": 2400,
                  "categories": [
                    10004,
                    10007,
                    10276,
                    11088,
                    12376,
                    13152,
                    13316,
                    13418
                  ],
                  "monthly_searches": [
                    {
                      "year": 2020,
                      "month": 1,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 12,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 11,
                      "search_volume": 1600
                    },
                    {
                      "year": 2019,
                      "month": 10,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 9,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 8,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 7,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 6,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 5,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 4,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 3,
                      "search_volume": 1900
                    },
                    {
                      "year": 2019,
                      "month": 2,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 1,
                      "search_volume": 1600
                    }
                  ]
                },
                "impressions_info": {
                  "last_updated_time": "2020-03-01T18:06:54",
                  "bid": 999,
                  "match_type": "exact",
                  "ad_position_min": 1.46,
                  "ad_position_max": 1,
                  "ad_position_average": 1.32,
                  "cpc_min": 383.59,
                  "cpc_max": 468.83,
                  "cpc_average": 426.21,
                  "daily_impressions_min": 27.27,
                  "daily_impressions_max": 33.34,
                  "daily_impressions_average": 30.31,
                  "daily_clicks_min": 0.54,
                  "daily_clicks_max": 0.66,
                  "daily_clicks_average": 0.6,
                  "daily_cost_min": 230.19,
                  "daily_cost_max": 281.34,
                  "daily_cost_average": 255.76
                }
              },
              "intersection_result": {
                "1": {
                  "type": "organic",
                  "rank_group": 53,
                  "rank_absolute": 56,
                  "position": "left",
                  "xpath": "/html[1]/body[1]/div[9]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[3]/div[1]/div[53]/div[1]",
                  "domain": "dataforseo.com",
                  "title": "SEO software API ⓴⓴. API for agencies. Best SEO data API ...",
                  "url": "https://dataforseo.com/",
                  "breadcrumb": "dataforseo.com",
                  "is_image": false,
                  "is_video": false,
                  "is_featured_snippet": false,
                  "is_malicious": false,
                  "description": "DataForSEO ➤➤➤ SEO Software API ➤➤➤ SEO API data Provider built for SEO-Software companies and agencies. ✓✓✓ Great Speed, Clear Stats, Simple ...",
                  "pre_snippet": null,
                  "extended_snippet": null,
                  "amp_version": false,
                  "rating": null,
                  "highlighted": [
                    "SEO Software",
                    "SEO",
                    "Software"
                  ],
                  "links": null,
                  "main_domain": "dataforseo.com",
                  "relative_url": "/",
                  "etv": 4.7376,
                  "impressions_etv": 1.7949581999999997,
                  "estimated_paid_traffic_cost": 40.124501524799996
                },
                "2": {
                  "type": "organic",
                  "rank_group": 17,
                  "rank_absolute": 20,
                  "position": "left",
                  "xpath": "/html[1]/body[1]/div[9]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[3]/div[1]/div[17]/div[1]",
                  "domain": "ahrefs.com",
                  "title": "Ahrefs - SEO Tools & Resources To Grow Your Search Traffic",
                  "url": "https://ahrefs.com/",
                  "breadcrumb": "ahrefs.com",
                  "is_image": false,
                  "is_video": false,
                  "is_featured_snippet": false,
                  "is_malicious": false,
                  "description": "As part of our job at Authority Hacker, we test every SEO tool out there to try and ... as an agency, but they've kept the entire SEO software industry on its toes.",
                  "pre_snippet": null,
                  "extended_snippet": null,
                  "amp_version": false,
                  "rating": null,
                  "highlighted": [
                    "SEO software"
                  ],
                  "links": null,
                  "main_domain": "ahrefs.com",
                  "relative_url": "/",
                  "etv": 9.7008,
                  "impressions_etv": 3.6753905999999996,
                  "estimated_paid_traffic_cost": 82.15969359839998
                }
              }
            }
          ]
        }
      ]
    }
  ]
}

All POST data should be sent in the JSON format (UTF-8 encoding). The task setting is done using the POST method. When setting a task, you should send all task parameters in the task array of the generic POST array. You can send up to 2000 API calls per minute.

You can specify the number of results you want to retrieve and sort them.

Below you will find a detailed description of the fields you can use for setting a task.

Description of the fields for setting a task:

Field name Type Description
pages array target URLs of pages
required field
you can set up to 20 pages in this array
the pages should be specified with absolute URLs (including http:// or https://)
example:
"pages": {
"1":"https://www.apple.com/mac/*",
"2":"https://dataforseo.com/*",
"3":"https://support.microsoft.com/"
}
if you specify a single page here, we will return results only for this page;
you can also use a wildcard (‘*’) character to specify the search pattern
example:
"example.com"
search for the exact URL
"example.com/eng/*"
search for the example.com page and all its related URLs which start with ‘/eng/’, such as “example.com/eng/index.html” and “example.com/eng/help/”, etc.
note: a wilcard should be placed after the slash (‘/’) character in the end of the URL, it is not possible to place it after the domain in the following way:
https://dataforseo.com*
use https://dataforseo.com/* instead
exclude_pages array URLs of pages you want to exclude
optional field
you can set up to 10 pages in this array
if you use this array, results will contain the keywords for which URLs from the pages array rank, but URLs from exclude_pages array do not;
use a wildcard (‘*’) character to specify the search pattern
example:
"exclude_pages": [
"https://www.apple.com/iphone/*",
"https://dataforseo.com/apis/*",
"https://www.microsoft.com/en-us/industry/services/"
]
location_name string full name of the location
optional field if you specify location_code
if you use this field, you don’t need to specify location_code
you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example:
United Kingdom
location_code integer location code
optional field if you specify location_name
if you use this field, you don’t need to specify location_name
you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example:
2840
language_name string full name of the language
optional field if you specify language_code
if you use this field, you don’t need to specify language_code
you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example:
English
language_code string language code
optional field if you specify language_name
if you use this field, you don’t need to specify language_name
you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example:
en
limit integer the maximum number of returned keywords
optional field
default value: 100
maximum value: 1000
offset integer offset in the items array of returned keywords
optional field
default value: 0
if you specify 10 here, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords
include_subdomains boolean indicates if the subdomains will be included in the search
optional field
if set to false, the subdomains will be ignored
default value: true
filters array array of results filtering parameters
optional field
you can add several filters at once (8 filters maximum)
you should set a logical operator and, or between the conditions
the following operators are supported:
<, <=, >, >=, =, <>, in, not_in, like, not_like
you can use the % operator with like and not_like to match any string of zero or more charactersnote that if you want to filter by any field in the intersection_result array you need to specify the number of corresponding page
for instance, if you want to filter results by the ranking of the first specified URL, you should set the following filter:
[intersection_result.1.rank_absolute,"=",1]
if you want to filter results and receive only organic listings for the third specified URL, you should set the following filter:
[intersection_result.3.type,"=","organic"] , etc.example:
["keyword_data.keyword_info.search_volume","in",[100,1000]]
[["intersection_result.1.etv",">",0],"and",["intersection_result.1.description","like","%goat%"]][["keyword_data.keyword_info.search_volume",">",100],
"and",
[["intersection_result.2.description","like","%goat%"],
"or",
["intersection_result.2.type","=","organic"]]]

for more information about filters, please refer to Dataforseo Labs – Filters
order_by array results sorting rules
optional field
you can use the same values as in the filters array to sort the results
possible sorting types:
asc – results will be sorted in the ascending order
desc – results will be sorted in the descending order
you should use a comma to set up a sorting parameter
example:
["keyword_data.keyword_info.competition,desc"]
default rule:
["keyword_data.keyword_info.search_volume,desc"]
note that you can set no more than three sorting rules in a single request
you should use a comma to separate several sorting rules
example:
["intersection_result.1.rank_group,asc","intersection_result.2.rank_absolute,asc"]
tag string user-defined task identifier
optional field
the character limit is 255
you can use this parameter to identify the task and match it with the result
you will find the specified tag value in the data array of the response

As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasks array
tasks_error integer the number of tasks in the tasks array returned with an error
tasks array array of tasks
        id string task identifier
unique task identifier in our system in the UUID format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
you can find the full list of the response codes here
        status_message string informational message of the task
you can find the full list of general informational messages here
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data array contains the same parameters that you specified in the POST request
        result array array of results
            pages array URLs you specified a POST array
            exclude_pages array URLs you specified in a POST array that will be excluded from the results
            location_code integer location code in a POST array
            language_code string language code in a POST array
            total_count integer total amount of results in our database relevant to your request
            items_count integer the number of results returned in the items array
            items array contains keywords, relevant SERP elements and related data
                keyword_data array keyword data for the returned keyword
                    keyword string returned keyword
                    location_code integer location code in a POST array
                    language_code string language code in a POST array
                    keyword_info array keyword data for the returned keyword
                        last_updated_time string date and time when keyword data was updated
in the format: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”
example:
2019-11-15 12:57:46 +00:00
                        competition float competition
represents the relative amount of competition associated with the given keyword
this value is based on Google Ads data and can be between 0 and 1 (inclusive)
                        cpc float cost-per-click
represents the average cost per click (USD) historically paid for the keyword
                        search_volume integer average monthly search volume rate
represents the (approximate) number of searches for the returned keyword on google.com
                        categories array product and service categories
you can download the full list of possible categories
                        monthly_searches array monthly searches
represents the (approximate) number of searches for this keyword (as available for the past twelve months), targeted to the specified geographic locations
                            year integer year
                            month integer month
                           search_volume integer monthly average search volume rate
                   impressions_info array impressions data for the returned keyword
                       last_updated_time string date and time when impressions data was updated
in the format: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”
example:
2019-11-15 12:57:46 +00:00
                        bid integer the maximum bid
it stands for the price you are willing to pay for an ad;
the higher the value, the higher positions and price you will get;
we return the results for the 999 bid value to provide the most relevant impressions data
                       match_type string keyword match-type
can take the following values: exact, broad, phrase
                        ad_position_min float the minimum ad position
represents the minimum position of the advertisement
                        ad_position_max float the maximum ad position
represents the maximum position of the advertisement
                       ad_position_average float the average ad position
represents the average position of the advertisement
                        cpc_min float the minimum value of cost-per-click
represents the minimum cost-per-click (USD) historically paid for the keyword
                       cpc_max float the maximum value of cost-per-click
represents the maximum cost-per-click (USD) historically paid for the keyword
                       cpc_average float the average value of cost-per-click
represents the average cost-per-click (USD) historically paid for the keyword
                        daily_impressions_min float the minimum value of daily impressions
represents the minimum number of daily impressions of the advertisement
                        daily_impressions_max float the maximum value of daily impressions
represents the maximum number of daily impressions of the advertisement
                        daily_impressions_average float the average value of daily impressions
represents the average number number of daily impressions of the advertisement
                        daily_clicks_min float the minimum value of daily clicks
represents the minimum number of daily clicks on the advertisement
                       daily_clicks_max float the maximum value of daily clicks
represents the maximum number of daily clicks on the advertisement
                        daily_clicks_average float the average value of daily clicks
represents the average number of daily clicks on the advertisement
                        daily_cost_min float the minimum daily cost
represents the minimum daily cost of the advertisement
                       daily_cost_max float the maximum daily cost
represents the maximum daily cost of the advertisement
                       daily_cost_average float the average daily cost
represents the average daily cost of the advertisement
                intersection_result array contains data on the SERP elements found for the returned keyword
data will be provided in separate arrays for each URL you specified in the pages array when setting a task;
depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively
                    1 array contains data on the SERP element for the respective URL
field name varies in the range from 1 to 20 according to the number of URLs in the pages array;
possible types of SERP elements:
organic, paid, featured_snippet, local_pack
                ‘organic’ element in SERP
                        type string type of element = ‘organic’
                        rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                        rank_absolute integer absolute rank in SERP
absolute position among all the elements in SERP
                        position string the alignment of the element in SERP
can take the following values:
left, right
                        xpath string the XPath of the element
                        domain string subdomain in SERP
                        title string title of the result in SERP
                        url string relevant URL in SERP
                        breadcrumb string breadcrumb in SERP
                        is_image boolean indicates whether the element contains an image
                        is_video boolean indicates whether the element contains a video
                        is_featured_snippet boolean indicates whether the element is a featured_snippet
                        is_malicious boolean indicates whether the element is marked as malicious
                        description string description of the results element in SERP
                        pre_snippet string includes additional information appended before the result description in SERP
                        extended_snippet string includes additional information appended after the result description in SERP
                        amp_version boolean Accelerated Mobile Pages
indicates whether an item has the Accelerated Mobile Page (AMP) version
                        rating array the item’s rating
the popularity rate based on reviews and displayed in SERP
                            rating_type string the type of rating
here you can find the following elements: Max5, Percents, CustomMax
                            value integer the value of the rating
                            votes_count integer the amount of feedback
                            rating_max integer the maximum value for a rating_type
                        highlighted array words highlighted in bold within the results description
                        links array sitelinks
the links shown below some of Google’s search results
if there are none, equals null
                           type string type of element = ‘link_element
                           title string title of the result in SERP
                          description string description of the results element in SERP
                           url string sitelink URL
                        main_domain string primary domain name in SERP
                        relative_url string relative URL in SERP
                        etv float estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
                        impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                ‘paid’ element in SERP
                        type string type of element = ‘paid’
                        rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                        rank_absolute integer absolute rank in SERP
absolute position among all the elements in SERP
                        position string the alignment of the element in SERP
can take the following values:
left, right
                        xpath string the XPath of the element
                        title string title of the result in SERP
                        domain string domain in SERP of the Ad element
                        description string description of the results element in SERP
                        breadcrumb string breadcrumb of the Ad element in SERP
                        url string relevant URL of the Ad element in SERP
                        highlighted array words highlighted in bold within the results description
                        extra array additional information about the result
                        ad_aclk string the identifier of the ad
                        description_rows array extended description
if there is none, equals null
                        links array sitelinks
the links shown below some of Google’s search results
if there are none, equals null
                            type string type of element = ‘ad_link_element
                            title string title of the link element
                            description string description of the results element in SERP
                            url string URL link
                            ad_aclk string the identifier of the ad
                        main_domain string primary domain name in SERP
                        relative_url string relative URL in SERP
                        etv float estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
                        impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
                        estimated_paid_traffic_cost float estimated cost of paid monthly search traffic
represents the estimated cost of paid monthly traffic based on etv and cpc values
                ‘local_pack’ element in SERP
                        type string type of element = ‘local_pack’
                        rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                        rank_absolute integer absolute rank in SERP
absolute position among all the elements in SERP
                        position string the alignment of the element in SERP
can take the following values:
left, right
                        xpath string the XPath of the element
                        title string title of the result in SERP
                        description string description of the results element in SERP
                        domain string domain in SERP
                        phone string phone number
                        url string relevant URL
                        is_paid boolean indicates whether the element is an ad
                        rating array the item’s rating
the popularity rate based on reviews and displayed in SERP
                            rating_type string the type of rating
here you can find the following elements: Max5, Percents, CustomMax
                            value integer the value of the rating
                            votes_count integer the amount of feedback
                            rating_max integer the maximum value for a rating_type
                        main_domain string primary domain name in SERP
                        relative_url string relative URL in SERP
                        etv float estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
                        impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                ‘featured_snippet’ element in SERP
                        type string type of element = ‘featured_snippet’
                        rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                        rank_absolute integer absolute rank in SERP
absolute position among all the elements in SERP
                        position string the alignment of the element in SERP
can take the following values:
left, right
                        xpath string the XPath of the element
                        domain string domain in SERP
                        title string title of the result in SERP
                        featured_title string the title of the featured snippets source page
                        description string description of the results element in SERP
                        url string relevant URL
                        table array results table
if there are none, equals null
                           table_header array column names
                           table_content array the content of the table
one line of the table in this element of the array
                       main_domain string primary domain name in SERP
                       relative_url string relative URL in SERP
                       etv float estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
                       impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
                       estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search

‌‌