NAVNavbar
Logo
php python csharp java

Domain Intersection


This endpoint will provide you with the keywords for which both specified domains 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 the first and second domain’s SERP element discovered for this keyword, as well as the estimated traffic volume and cost of ad traffic. Domain Intersection endpoint supports organic, paid, local pack and featured snippet results.

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(
   "target1" => "mom.me",
   "target2" => "quora.com",
   "language_name" => "English",
   "location_code" => 2840,
   "filters" => [
      ["first_domain_serp_element.etv", ">", 0],
      "and",
      ["first_domain_serp_element.description", "like", "%goat%"]
   ]
);
try {
   // POST /v3/dataforseo_labs/domain_intersection/live
   $result = $client->post('/v3/dataforseo_labs/domain_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.20200312",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "5.4427 sec.",
  "cost": 0.01,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "03121626-0696-0135-0000-ff010c5f4bad",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "5.2047 sec.",
      "cost": 0.01,
      "result_count": 1,
      "path": [
        "v3",
        "dataforseo_labs",
        "domain_intersection",
        "live"
      ],
      "data": {
        "api": "dataforseo_labs",
        "function": "domain_intersection",
        "target1": "mom.me",
        "target2": "quora.com",
        "language_code": "en",
        "location_code": 2840,
        "filters": [
          [
            "first_domain_serp_element.etv",
            ">",
            0
          ],
          "and",
          [
            "first_domain_serp_element.description",
            "like",
            "%goat%"
          ]
        ],
        "limit": 5
      },
      "result": [
        {
          "target1": "mom.me",
          "target2": "quora.com",
          "location_code": 2840,
          "language_code": "en",
          "total_count": 135,
          "items_count": 5,
          "items": [
            {
              "keyword_data": {
                "keyword": "sheep vs lamb",
                "location_code": 2840,
                "language_code": "en",
                "keyword_info": {
                  "last_updated_time": "2020-03-02T12:51:31",
                  "competition": 0.007505857171781448,
                  "cpc": 0.300885,
                  "search_volume": 9900,
                  "categories": [
                    10004,
                    11192,
                    12361,
                    13460
                  ],
                  "monthly_searches": [
                    {
                      "year": 2020,
                      "month": 1,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 12,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 11,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 10,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 9,
                      "search_volume": 8100
                    },
                    {
                      "year": 2019,
                      "month": 8,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 7,
                      "search_volume": 8100
                    },
                    {
                      "year": 2019,
                      "month": 6,
                      "search_volume": 8100
                    },
                    {
                      "year": 2019,
                      "month": 5,
                      "search_volume": 8100
                    },
                    {
                      "year": 2019,
                      "month": 4,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 3,
                      "search_volume": 9900
                    },
                    {
                      "year": 2019,
                      "month": 2,
                      "search_volume": 6600
                    },
                    {
                      "year": 2019,
                      "month": 1,
                      "search_volume": 6600
                    }
                  ]
                },
                "impressions_info": {
                  "last_updated_time": "2020-03-01T16:37:01",
                  "bid": 999,
                  "match_type": "exact",
                  "ad_position_min": null,
                  "ad_position_max": null,
                  "ad_position_average": null,
                  "cpc_min": null,
                  "cpc_max": null,
                  "cpc_average": null,
                  "daily_impressions_min": null,
                  "daily_impressions_max": null,
                  "daily_impressions_average": null,
                  "daily_clicks_min": null,
                  "daily_clicks_max": null,
                  "daily_clicks_average": null,
                  "daily_cost_min": null,
                  "daily_cost_max": null,
                  "daily_cost_average": null
                }
              },
              "first_domain_serp_element": {
                "type": "organic",
                "rank_group": 42,
                "rank_absolute": 45,
                "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[5]/div[1]/div[41]/div[1]",
                "domain": "animals.mom.me",
                "title": "Are Sheep Loving Pets? | Animals - mom.me",
                "url": "https://animals.mom.me/sheep-loving-pets-2141.html",
                "breadcrumb": "animals.mom.me › Farm Animals",
                "is_image": false,
                "is_video": false,
                "is_featured_snippet": false,
                "is_malicious": false,
                "description": "If you recall the nursery rhyme, \"Everywhere that Mary went her lamb was sure to go.\" Sheep can make good pets, especially if you choose the right breed and ...",
                "pre_snippet": null,
                "extended_snippet": null,
                "amp_version": false,
                "rating": null,
                "highlighted": [
                  "lamb",
                  "Sheep"
                ],
                "links": null,
                "main_domain": "mom.me",
                "relative_url": "/sheep-loving-pets-2141.html",
                "etv": 20.79,
                "impressions_etv": null,
                "estimated_paid_traffic_cost": 6.25539915
              },
              "second_domain_serp_element": {
                "type": "featured_snippet",
                "rank_group": 1,
                "rank_absolute": 1,
                "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[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
                "domain": "www.quora.com",
                "title": "What are the differences between sheep, lamb, goat, ram and mutton ...",
                "featured_title": null,
                "description": "A sheep in its first year is called a lamb, and its meat is also called lamb. The meat of a juvenile sheep older than one year is hogget; outside North America this is also a term for the living animal. ... Younger lambs are smaller and more tender. Mutton is meat from a sheep over two years old, and has less tender flesh.",
                "url": "https://www.quora.com/What-are-the-differences-between-sheep-lamb-goat-ram-and-mutton",
                "table": null,
                "main_domain": "quora.com",
                "relative_url": "/What-are-the-differences-between-sheep-lamb-goat-ram-and-mutton",
                "etv": 3009.6,
                "impressions_etv": null,
                "estimated_paid_traffic_cost": 905.543496
              }
            },
            {
              "keyword_data": {
                "keyword": "goat male",
                "location_code": 2840,
                "language_code": "en",
                "keyword_info": {
                  "last_updated_time": "2020-02-29T03:52:29",
                  "competition": 0.010170162247724573,
                  "cpc": null,
                  "search_volume": 2900,
                  "categories": [
                    10004,
                    10013,
                    10103,
                    10108,
                    10556,
                    11192,
                    13460,
                    13494,
                    13691
                  ],
                  "monthly_searches": [
                    {
                      "year": 2020,
                      "month": 1,
                      "search_volume": 3600
                    },
                    {
                      "year": 2019,
                      "month": 12,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 11,
                      "search_volume": 3600
                    },
                    {
                      "year": 2019,
                      "month": 10,
                      "search_volume": 3600
                    },
                    {
                      "year": 2019,
                      "month": 9,
                      "search_volume": 3600
                    },
                    {
                      "year": 2019,
                      "month": 8,
                      "search_volume": 3600
                    },
                    {
                      "year": 2019,
                      "month": 7,
                      "search_volume": 2900
                    },
                    {
                      "year": 2019,
                      "month": 6,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 5,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 4,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 3,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 2,
                      "search_volume": 2400
                    },
                    {
                      "year": 2019,
                      "month": 1,
                      "search_volume": 2400
                    }
                  ]
                },
                "impressions_info": {
                  "last_updated_time": "2020-02-28T23:24:48",
                  "bid": 999,
                  "match_type": "exact",
                  "ad_position_min": null,
                  "ad_position_max": null,
                  "ad_position_average": null,
                  "cpc_min": null,
                  "cpc_max": null,
                  "cpc_average": null,
                  "daily_impressions_min": null,
                  "daily_impressions_max": null,
                  "daily_impressions_average": null,
                  "daily_clicks_min": null,
                  "daily_clicks_max": null,
                  "daily_clicks_average": null,
                  "daily_cost_min": null,
                  "daily_cost_max": null,
                  "daily_cost_average": null
                }
              },
              "first_domain_serp_element": {
                "type": "organic",
                "rank_group": 4,
                "rank_absolute": 6,
                "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[5]/div[1]/div[2]/div[1]",
                "domain": "animals.mom.me",
                "title": "What Are the Names of Male, Female & Young Goats ...",
                "url": "https://animals.mom.me/names-male-female-young-goats-7922.html",
                "breadcrumb": "animals.mom.me › Fish",
                "is_image": false,
                "is_video": false,
                "is_featured_snippet": false,
                "is_malicious": false,
                "description": "Most goats are easily bred, producing offspring when they are as young as 8 months old. Many species produce ample supplies of rich milk for their babies and ...",
                "pre_snippet": null,
                "extended_snippet": null,
                "amp_version": false,
                "rating": null,
                "highlighted": [
                  "goats"
                ],
                "links": null,
                "main_domain": "mom.me",
                "relative_url": "/names-male-female-young-goats-7922.html",
                "etv": 191.11,
                "impressions_etv": null,
                "estimated_paid_traffic_cost": null
              },
              "second_domain_serp_element": {
                "type": "organic",
                "rank_group": 85,
                "rank_absolute": 87,
                "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[5]/div[1]/div[83]/div[1]",
                "domain": "www.quora.com",
                "title": "What is the masculine form for goat? - Quora",
                "url": "https://www.quora.com/What-is-the-masculine-form-for-goat",
                "breadcrumb": "www.quora.com › What-is-the-masculine-form-for-goat",
                "is_image": false,
                "is_video": false,
                "is_featured_snippet": false,
                "is_malicious": false,
                "description": "There is no masculine or feminine forms for words in English. A male goat is referred to by professionals as a “Buck”. A female goat is a “Doe”. Some people use ...",
                "pre_snippet": null,
                "extended_snippet": "2 answers",
                "amp_version": false,
                "rating": null,
                "highlighted": [
                  "masculine",
                  "male goat",
                  "goat"
                ],
                "links": null,
                "main_domain": "quora.com",
                "relative_url": "/What-is-the-masculine-form-for-goat",
                "etv": 6.09,
                "impressions_etv": null,
                "estimated_paid_traffic_cost": null
              }
            }
          ]
        }
      ]
    }
  ]
}

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
target1 string domain
required field
the domain name of the first target website
the domain should be specified without https:// and www.
target2 string domain
required field
the domain name of the second target website
the domain should be specified without https:// and www.
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
intersections boolean domain intersections in SERP
optional field
if you set intersections to true, you will get the keywords for which both target domains specified as target1 and target2 have results within the same SERP; the corresponding SERP elements for both domains will be provided in the results array
if you specify intersections: false, you will get the keywords for which the domain specified as target1 has results in SERP, and the domain specified as target2 doesn’t;
thus, the corresponding SERP elements and other data will be provided for the domain specified as target1only
default value: true
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 the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords
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 characters
example:
["keyword_data.keyword_info.search_volume","in",[100,1000]]

[["first_domain_serp_element.etv",">",0],"and",["first_domain_serp_element.description","like","%goat%"]]

[["keyword_data.keyword_info.search_volume",">",100],
"and",
[["first_domain_serp_element.description","like","%goat%"],
"or",
["second_domain_serp_element.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:
["keyword_data.keyword_info.search_volume,desc","keyword_data.keyword_info.cpc,desc"]
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
            target1 string the first target domain in a POST array
            target2 string the second target domain in a POST array
            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
                first_domain_serp_element array contains data on the first domain’s SERP element found for the returned keyword
the list of supported SERP elements can be found below
                second_domain_serp_element array contains data on the second domain’s SERP element found for the returned keyword
the list of supported SERP elements can be found below
                ‘organic’ element in SERP
                    type string type of element = ‘organic’
                    rank_group integer group rank in SERP
the position in the group of elements; a group is formed according to the type field
                    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 URL in SERP that does not specify the HTTPs protocol and domain name
                    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 group rank in SERP
the position in the group of elements; a group is formed according to the type field
                    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 URL in SERP that does not specify the HTTPs protocol and domain name
                    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 group rank in SERP
the position in the group of elements; a group is formed according to the type field
                    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 URL in SERP that does not specify the HTTPs protocol and domain name
                    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 group rank in SERP
the position in the group of elements; a group is formed according to the type field
                    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 URL in SERP that does not specify the HTTPs protocol and domain name
                    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

‌‌