NAVNavbar
Logo
php python csharp java

Get {{up_se_name}} {{up_se_type}} SERP Advanced Results by id

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/';
try {
	// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
	$client = new RestClient($api_url, null, 'login', 'password');
} 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";
	exit();
}
try {
	$result = array();
	// #1 - using this method you can get a list of completed tasks
	// GET /v3/serp/{{low_se_name}}/{{low_se_type}}/tasks_ready
	// in addition to '{{low_se_name}}' and '{{low_se_type}}' you can also set other search engine and type parameters
	// the full list of possible parameters is available in documentation
	$tasks_ready = $client->get('/v3/serp/{{low_se_name}}/{{low_se_type}}/tasks_ready');
	// you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors
	if (isset($tasks_ready['status_code']) AND $tasks_ready['status_code'] === 20000) {
		foreach ($tasks_ready['tasks'] as $task) {
			if (isset($task['result'])) {
				foreach ($task['result'] as $task_ready) {
					// #2 - using this method you can get results of each completed task
					// GET /v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/$id
					if (isset($task_ready['endpoint_advanced'])) {
						$result[] = $client->get($task_ready['endpoint_advanced']);
					}
					// #3 - another way to get the task results by id
					// GET /v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/$id
					/*
					if (isset($task_ready['id'])) {
						$result[] = $client->get('/v3/serp/{{low_se_name}}/{{low_se_type}}/task_get/advanced/' . $task_ready['id']);
					}
					*/
				}
			}
		}
	}
	print_r($result);
	// do something with 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.20200129",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.2347 sec.",
    "cost": 0,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "01291734-1535-0066-0000-6988734166f9",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "0.0934 sec.",
            "cost": 0,
            "result_count": 1,
            "path": [
                "v3",
                "serp",
                "google",
                "organic",
                "task_get",
                "advanced",
                "01291734-1535-0066-0000-6988734166f9"
            ],
            "data": {
                "api": "serp",
                "function": "task_get",
                "se": "{{low_se_name}}",
                "se_type": "{{low_se_type}}",
                "language_name": "English",
                "location_name": "United States",
                "keyword": "flight ticket new york san francisco",
                "target": "skyscanner.com",
                "priority": "2",
                "tag": "tag2",
                "device": "desktop",
                "os": "windows" 
            },
      "result": [
        {
          "keyword": "flight ticket new york san francisco",
          "type": "{{low_se_type_under}}",
          "se_domain": "{{low_se_name}}.com",
          "location_code": 2840,
          "language_code": "en",
          "check_url": "https://www.{{low_se_name}}.com/search?q=flight%20ticket%20new%20york%20san%20francisco&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "datetime": "2019-11-15 12:57:46 +00:00",
          "target_rankings": [
            {
              "type": "organic",
              "rank_group": 3,
              "rank_absolute": 4,
              "position": "left",
              "url": "https://www.skyscanner.com/routes/nyca/sfo/new-york-to-san-francisco-international.html"
            },
            {
              "type": "people_also_ask",
              "rank_group": 1,
              "rank_absolute": 6,
              "position": "left",
              "url": "https://www.skyscanner.com/routes/nyca/sfo/new-york-to-san-francisco-international.html"
            },
            {
              "type": "images",
              "rank_group": 1,
              "rank_absolute": 75,
              "position": "left",
              "url": "https://www.skyscanner.com/routes/sfo/nyca/san-francisco-international-to-new-york.html"
            },
            {
              "type": "images",
              "rank_group": 1,
              "rank_absolute": 75,
              "position": "left",
              "url": "https://www.skyscanner.com/routes/nyca/sfo/new-york-to-san-francisco-international.html"
            }
          ],
          "spell": null,
          "item_types": [
            "answer_box",
            "app",
            "carousel",
            "multi_carousel",
            "featured_snippet",
            "google_flights",
            "google_reviews",
            "images",
            "jobs",
            "knowledge_graph",
            "local_pack",
            "map",
            "organic",
            "paid",
            "people_also_ask",
            "related_searches",
            "people_also_search",
            "shopping",
            "top_stories",
            "twitter",
            "video",
            "events",
            "mention_carousel"
                                                   
          ],
          "se_results_count": 85600000,
          "items_count": 96,
          "items": [
            {
              "type": "carousel",
              "rank_group": 1,
              "rank_absolute": 1,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[8]/div[3]/div[7]/div[1]",
              "title": "Star Wars original trilogy/Cast",
              "items": [
                {
                  "type": "carousel_element",
                  "title": "Carrie Fisher",
                  "sub_title": "Princess Leia"
                },
                {
                  "type": "carousel_element",
                  "title": "Mark Hamill",
                  "sub_title": "Luke Skywalker"
                },
                {
                  "type": "carousel_element",
                  "title": "Anthony Daniels",
                  "sub_title": "C-3PO"
                }
              ]
            },
            {
              "type": "multi_carousel",
              "rank_group": 1,
              "rank_absolute": 2,
              "position": "right",
              "xpath": "/html[1]/body[1]/div[7]/div[2]/div[5]/div[1]/div[3]/div[1]/div[1]/div[1]/sticky-header[1]/div[2]/div[1]/g-flippy-carousel[1]/div[1]/div[1]/ol[1]/li[1]/span[1]/div[1]/div[1]/div[1]/div[3]/div[8]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
              "items": [
                {
                  "type": "multi_carousel_element",
                  "title": "Types of molds",
                  "multi_carousel_snippets": [
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Aspergillus niger"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Penicillium chrysogen..."
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Black bread mold"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Aspergillus oryzae"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Aspergillus flavus"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Penicillium digitatum"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Alternaria alternata"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Cladospor... cladospori..."
                     }
                  ]
                },
                {
                  "type": "multi_carousel_element",
                  "title": "Fungi species",
                  "multi_carousel_snippets": [
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Claviceps purpurea"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Botrytis cinerea"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Corn smut"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Splitgill mushroom"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Beauveria bassiana"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Gibberella zeae"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Magnapor... grisea"
                     },
                     {
                      "type": "multi_carousel_snippet",
                      "title": "Neurospora crassa"
                     }
                  ]
                }
              ]
            },
            {
              "type": "top_stories",
              "rank_group": 1,
              "rank_absolute": 3,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]/g-section-with-header[1]/div[2]",
              "items": [
                {
                  "type": "top_stories_element",
                  "source": "Sky News",
                  "domain": "news.sky.com",
                  "title": "UK takes charge of coalition Gulf mission to protect ships from Iran",
                  "date": "2 hours ago",
                  "url": "https://news.sky.com/story/uk-takes-charge-of-coalition-gulf-mission-to-protect-ships-from-iran-11921404"
                },
                {
                                                                                                                                                                                                                                                                                    
                  "type": "top_stories_element",
                  "source": "The Jerusalem Post",
                  "domain": "www.jpost.com",
                  "title": "Iranian factory makes Israeli and American flags to burn",
                  "date": "6 hours ago",
                  "url": "https://www.jpost.com/International/Iranian-factory-makes-Israeli-and-American-flags-to-burn-615902"
                },
                {
                  "type": "top_stories_element",
                  "source": "Reuters",
                  "domain": "www.reuters.com",
                  "title": "Iranian factory makes U.S. and Israeli flags to burn",
                  "date": "7 hours ago",
                  "url": "https://www.reuters.com/article/us-iran-flags/iranian-factory-makes-us-and-israeli-flags-to-burn-idUSKBN1ZT065"
                }
              ]
            },
            {
              "type": "answer_box",
              "rank_group": 1,
              "rank_absolute": 4,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[4]/div[1]/div[1]/div[1]/div[1]",
              "text": [
                "Which is the best iPhone?",
                "Best iPhone: which one should you buy today",
                "More items...",
                "•",
                "Sep 19, 2019",
                "iPhone 11. The best Apple iPhone bang for your buck. ...",
                "iPhone 11 Pro Max. Big phone, best phone, top price. ...",
                "iPhone 8. The newest 4.7-inch iPhone is a phone lots of people still want. ...",
                "iPhone 8 Plus. A more affordable, big screen iPhone. ...",
                "iPhone XR. ...",
                "iPhone SE. ...",
                "iPhone XS Max. ...",
                "iPhone XS.",
                "https://www.techradar.com › news › best-iphone",
                "Best iPhone 2019: which Apple phone is the best? | TechRadar",
                "Search for:",
                "Which is the best iPhone?",
                "What is the function of iPhone?",
                "The",
                "is a smartphone made by Apple that combines a computer, iPod, digital camera and cellular phone into one device with a touchscreen interface. The",
                "runs the iOS operating system (OS), and as of 2017, there were 2.2 million apps available for it through the Apple App Store, according to Statista.",
                "iPhone",
                "iPhone",
                "https://searchmobilecomputing.techtarget.com › definition › iPhone"
              ],
              "links": [
                {
                  "type": "link_element",
                  "title": "More items...",
                  "description": null,
                  "url": "https://www.techradar.com/news/best-iphone"
                },
                {
                  "type": "link_element",
                  "title": "Best iPhone 2019: which Apple phone is the best? | TechRadarhttps://www.techradar.com › news › best-iphone",
                  "description": null,
                  "url": "https://www.techradar.com/news/best-iphone"
                },
                {
                  "type": "link_element",
                  "title": "Which is the best iPhone?",
                  "description": null,
                  "url": "https://www.google.com.ua/search?num=100&hl=en&gl=UA&q=Which+is+the+best+iPhone%3F&sa=X&ved=2ahUKEwie3MvG1tXlAhWIM48KHUHqBvoQzmd6BAhfEA0"
                }
              ]
            },
            {
              "type": "video",
              "rank_group": 1,
              "rank_absolute": 5,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[7]/div[1]/g-section-with-header[1]/div[2]",
              "items": [
                {
                  "type": "video_element",
                  "source": "YouTube",
                  "title": "Google Pixel 4 XL vs. iPhone 11 Pro Max Speed Test",
                  "url": "https://www.youtube.com/watch?v=Osp8K7W3qDY"
                },
                {
                  "type": "video_element",
                  "source": "YouTube",
                  "title": "iPhone XR vs iPhone 11 - Which Should You Choose?",
                  "url": "https://www.youtube.com/watch?v=BZ5fdNNHVu0"
                },
                {
                  "type": "video_element",
                  "source": "YouTube",
                  "title": "Why iPhone 11 Is Apple's Least Innovative iPhone Yet",
                  "url": "https://www.youtube.com/watch?v=7YyTCa6IMKA"
                }
              ]
            },
            {
              "type": "organic",
              "rank_group": 4,
              "rank_absolute": 6,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[4]/div[1]",
              "domain": "dataforseo.com",
              "title": "SERP rank position checker API ⓴⓳ SERP analysis and ...",
              "url": "https://dataforseo.com/apis/serp-api",
              "cache_url": "https://webcache.googleusercontent.com/search?q=cache:s6M19rwHOS4J:https://dataforseo.com/apis/serp-api+&cd=4&hl=en&ct=clnk&gl=uk",
              "breadcrumb": "dataforseo.com › apis › serp-api",
              "is_image": false,
              "is_video": false,
               "is_featured_snippet": false,
              "is_malicious": false,
              "description": "You will definitely need API for Google SERP analysis when you build your own software that will maintain an array of SERP results that has been received.",
              "pre_snippet": null,
              "extended_snippet": null,
              "amp_version": false,
              "rating": null,
              "highlighted": [
              "API",
              "SERP"
              ],
              "links": null
            },
            {
              "type": "people_also_search",
              "rank_group": 1,
              "rank_absolute": 7,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[4]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]",
              "title": "List of iPhonesView 3+ moreView 3+",
              "items": [
                "View 3+ moreView 3+",
                "iPhone XR",
                "Apple iPhone 7 Plus",
                "Apple iPhone 8 Plus",
                "iPhone 6 Plus",
                "iPhone 6s Plus",
                "iPhone 5s",
                "iPhone SE"
              ]
            },
            {
              "type": "related_searches",
              "rank_group": 1,
              "rank_absolute": 8,
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[4]/div[1]/div[1]/div[3]/g-section-with-header[1]/div[2]",
              "position": "left",
              "items": [
                "iphone xr",
                "iphone xs",
                "iphone 11",
                "iphone price",
                "iphone 8",
                "iphone xs max",
                "iphone 11 price",
                "iphone xs price"
              ]
            },
            {
              "type": "map",
              "rank_group": 1,
              "rank_absolute": 9,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]",
              "title": "Nevada United States",
              "url": null
            },
            {
              "type": "featured_snippet",
              "rank_group": 1,
              "rank_absolute": 10,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/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.rome.net",
              "title": "Rome Metro - Lines, hours, fares and Rome metro maps",
              "featured_title": null,
              "description": "Most important metro stationsCipro - Musei Vaticani: The closest stop to the Vatican Museums and to the Sistine Chapel.Ottaviano - San Pietro: This station is a few minutes' walk from St. Peter's Square and St. Peter's Basilica.Spagna: Very convenient for visiting Piazza di Spagna and Villa Borghese.More items...",
              "url": "https://www.rome.net/metro",
              "table": {
                "table_header": [
                  "Site",
                  "Domain",
                  "Alexa top 100 global websites (As of April 3, 2017)"
                ],
                "table_content": [
                  [
                    "Wikipedia",
                    "wikipedia.org",
                    "5"
                  ],
                  [
                    "Yahoo!",
                    "yahoo.com",
                    "6"
                  ],
                  [
                    "Reddit",
                    "reddit.com",
                    "7"
                  ],
                  [
                    "Google India",
                    "google.co.in",
                    "8"
                  ]
                ]
              }
            },
            {
              "type": "local_pack",
              "rank_group": 1,
              "rank_absolute": 11,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[5]/div[1]/div[1]/div[2]/div[1]/div[4]/div[1]/div[1]",
              "title": "Cipro",
              "description": "Subway station \nVia Cipro \n",
              "domain": null,
              "phone": null,
              "url": null,
              "is_paid": false,
              "rating": null
            },
            {
              "type": "twitter",
              "rank_group": 1,
              "rank_absolute": 12,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[3]/div[1]/div[1]/g-section-with-header[1]",
              "title": null,
              "url": null,
              "items": [
                {
                  "type": "twitter_element",
                  "tweet": "pic.twitter.com/z0I7wBs…",
                  "date": "6 hours ago",
                  "url": "https://twitter.com/realDonaldTrump/status/1192640102943674368"
                },
                {
                  "type": "twitter_element",
                  "tweet": "STATEMENT FROM PRESIDENT DONALD J. TRUMP pic.twitter.com/EktztHf…",
                  "date": "9 hours ago",
                  "url": "https://twitter.com/realDonaldTrump/status/1192594646691729408"
                },
                {
                  "type": "twitter_element",
                  "tweet": "Stock Market up big today. A New Record. Enjoy!",
                  "date": "18 hours ago",
                  "url": "https://twitter.com/realDonaldTrump/status/1192467617140924417"
                }
              ]
            },
            {
              "type": "knowledge_graph",
              "rank_group": 1,
              "rank_absolute": 13,
              "position": "right",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[3]/div[1]/div[1]/div[1]",
              "title": "Donald Trump",
              "sub_title": "45th U.S. President",
              "description": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.\nTrump was born and raised in the New York City borough of Queens, and received a B.S. degree in economics from the Wharton School at the University of Pennsylvania.",
              "card_id": null,
              "url": "https://en.wikipedia.org/wiki/Donald_Trump",
              "items": [
                {
                  "type": "knowledge_graph_part_element",
                  "text": "donaldjtrump.com",
                  "anchor": null,
                  "url": null,
                  "links": [
                    {
                      "type": "link_element",
                      "title": "donaldjtrump.com",
                      "description": null,
                      "url": "https://www.donaldjtrump.com/"
                    }
                  ]
                },
                {
                  "type": "knowledge_graph_part_element",
                  "text": "Description Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.\nTrump was born and raised in the New York City borough of Queens, and received a B.S. degree in economics from the Wharton School at the University of Pennsylvania. Wikipedia",
                  "anchor": null,
                  "url": null,
                  "links": [
                    {
                      "type": "link_element",
                      "title": "Wikipedia",
                      "description": null,
                      "url": "https://en.wikipedia.org/wiki/Donald_Trump"
                    }
                  ]
                },
                {
                  "type": "knowledge_graph_part_element",
                  "text": "Children : Donald Trump Jr. , Ivanka Trump , Tiffany Trump , Eric Trump , Barron Trump Trending",
                  "anchor": null,
                  "url": null,
                  "links": [
                    {
                      "type": "link_element",
                      "title": "Children",
                      "decription": null,
                      "url": "https://www.google.com.ua/search?num=100&hl=en&gl=UA&q=donald+trump+children&stick=H4sIAAAAAAAAAOPgE-LUz9U3SC4ssTTQkspOttIvSM0vyEkFUkXF-XlWyRmZOSlFqXmLWEVT8vMSc1IUSopKcwsUYOIAfg55x0EAAAA&sa=X&ved=2ahUKEwj_qb2Yo9rlAhUNH7kGHfI4BK0Q6BMoADCHAXoECGQQBg"
                    },
                    {
                      "type": "link_element",
                      "title": "Donald Trump Jr.",
                      "description": null,
                      "url": "https://www.google.com.ua/search?num=100&hl=en&gl=UA&q=Donald+Trump+Jr.&stick=H4sIAAAAAAAAAOPgE-LUz9U3SC4ssTRQAjNTqgoLTLWkspOt9AtS8wtyUoFUUXF-nlVyRmZOSlFq3iJWAZf8vMScFIWQotLcAgWvIj0AvCUV80cAAAA&sa=X&ved=2ahUKEwj_qb2Yo9rlAhUNH7kGHfI4BK0QmxMoATCHAXoECGQQBw"
                    },
                    {
                      "type": "link_element",
                      "title": "Ivanka Trump",
                      "description": null,
                      "url": "https://www.google.com.ua/search?num=100&hl=en&gl=UA&q=Ivanka+Trump&stick=H4sIAAAAAAAAAOPgE-LUz9U3SC4ssTRQAjPNDMvTcrWkspOt9AtS8wtyUoFUUXF-nlVyRmZOSlFq3iJWHs-yxLzsRIWQotLcAgBy4q7sQwAAAA&sa=X&ved=2ahUKEwj_qb2Yo9rlAhUNH7kGHfI4BK0QmxMoAjCHAXoECGQQCA"
                    }
                  ]
                }
              ]
            },
            {
              "type": "paid",
              "rank_group": 1,
              "rank_absolute": 14,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[1]/div[3]/div[1]/ol[1]/li[1]",
              "title": "Cheap Flights to Kharkov | Book Now & Save on CheapOair®‎",
              "domain": "www.cheapoair.com",
              "description": "Our Low Cost Flights Deals to Kharkov. Book Your Flights Today! Award Winning Service. Last Minute Travel. We Make it Easy to Travel. Enjoy Huge Discounts. Book 600+ Airlines.",
              "breadcrumb": "www.cheapoair.com/Flights/to_Kharkov",
              "url": "https://www.cheapoair.com/flights/booknow/cheap-flight-tickets",
              "highlighted": [
                "Flights",
                "Kharkov"
              ],
              "extra": {
                "ad_aclk": "DChcSEwiUvq3SrdrlAhWLg5EKHWsCD-0YABAAGgJjZQ"
              },
              "description_rows": null,
              "links": [
                {
                  "type": "ad_link_element",
                  "title": "Flights $99 and Under",
                  "url": "https://www.cheapoair.com/flights/booknow/flights-under-99",
                  "description": "Grab Flight Deals Under $99 Today!Book Tickets Now on CheapOair®.",
                  "ad_aclk": "DChcSEwiUvq3SrdrlAhWLg5EKHWsCD-0YABABGgJjZQ"
                },
                {
                  "type": "ad_link_element",
                  "title": "Top 25 Flight Deals",
                  "url": "https://www.cheapoair.com/flights/booknow/top-deals",
                  "description": "Get Our Best Deal on Top Cities.100% Safe Shopping Guarantee!",
                  "ad_aclk": "DChcSEwiUvq3SrdrlAhWLg5EKHWsCD-0YABACGgJjZQ"
                }
              ]
            },
            {
              "type": "google_reviews",
              "rank_group": 1,
              "rank_absolute": 15,
              "position": "right",
              "xpath": "/#document",
              "reviews_count": 9031,
              "place_id": "ChIJBVXQG_CgJ0ERON-jp0YRZE0",
              "feature": "0x4127a0f01bd05505:0x4d641146a7a3df38"
            },
            {
              "type": "google_flights",
              "rank_group": 1,
              "rank_absolute": 15,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
              "title": "Flights from Kharkiv (HRK) to Lviv (LWO)",
              "url": "https://www.google.com.ua/flights?num=100&hl=en&gl=UA&source=flun&lite=0&uitype=cuAA&tfs=CAEQAhopEgoyMDE5LTExLTE0ag0IAhIJL20vMDgyc3k5cgwIAhIIL20vMGQ3X24aKRIKMjAxOS0xMS0xN2oMCAISCC9tLzBkN19ucg0IAhIJL20vMDgyc3k5ekBDaWRIZVRZNWQwSkhMUzB0TFMwdExTMHRZMlZ4YmpJMlFVRkJRVUZHTTBaUVRVVkVkMGhLUVVFU0EyNVFVUT09&sa=X&ved=2ahUKEwjOjKfSrdrlAhXkILkGHYO_DF8QuRUwAHoECGIQAw",
              "items": [
                {
                  "type": "google_flights_element",
                  "description": "SkyUp 1h 50m Non-stop from UAH 1,944 ",
                  "url": "https://www.google.com.ua/flights?num=100&hl=en&gl=UA&source=flun&lite=0&uitype=cuAA&tfs=CAEQAhotEgoyMDE5LTExLTE0MgJQUWoNCAISCS9tLzA4MnN5OXIMCAISCC9tLzBkN19uGi0SCjIwMTktMTEtMTcyAlBRagwIAhIIL20vMGQ3X25yDQgCEgkvbS8wODJzeTl6QENpZEhlVFk1ZDBKSExTMHRMUzB0TFMwdFkyVnhiakkyUVVGQlFVRkdNMFpRVFVWRWQwaEtRVUVTQTI1UVVRPT0&sa=X&ved=2ahUKEwjOjKfSrdrlAhXkILkGHYO_DF8Q1RUoADAAegQIYhAQ"
                },
                {
                  "type": "google_flights_element",
                  "description": "LOT 7h 5m+ Connecting from UAH 52,388 ",
                  "url": "https://www.google.com.ua/flights?num=100&hl=en&gl=UA&source=flun&lite=0&uitype=cuAA&tfs=CAEQAhotEgoyMDE5LTExLTE0MgJMT2oNCAISCS9tLzA4MnN5OXIMCAISCC9tLzBkN19uGi0SCjIwMTktMTEtMTcyAkxPagwIAhIIL20vMGQ3X25yDQgCEgkvbS8wODJzeTl6QENpZEhlVFk1ZDBKSExTMHRMUzB0TFMwdFkyVnhiakkyUVVGQlFVRkdNMFpRVFVWRWQwaEtRVUVTQTI1UVVRPT0&sa=X&ved=2ahUKEwjOjKfSrdrlAhXkILkGHYO_DF8Q1RUoATAAegQIYhAR"
                },
                {
                  "type": "google_flights_element",
                  "description": "Ukraine International 3h 20m+ Connecting check price ",
                  "url": "https://www.google.com.ua/flights?num=100&hl=en&gl=UA&source=flun&lite=0&uitype=cuAA&tfs=CAEQAhotEgoyMDE5LTExLTE0MgJQU2oNCAISCS9tLzA4MnN5OXIMCAISCC9tLzBkN19uGi0SCjIwMTktMTEtMTcyAlBTagwIAhIIL20vMGQ3X25yDQgCEgkvbS8wODJzeTl6QENpZEhlVFk1ZDBKSExTMHRMUzB0TFMwdFkyVnhiakkyUVVGQlFVRkdNMFpRVFVWRWQwaEtRVUVTQTI1UVVRPT0&sa=X&ved=2ahUKEwjOjKfSrdrlAhXkILkGHYO_DF8Q1RUoAjAAegQIYhAS"
                }
              ]
            },
            {
              "type": "app",
              "rank_group": 1,
              "rank_absolute": 16,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[10]/div[2]/div[5]/div[1]/div[3]/div[1]/div[2]/div[1]",
              "items": [
                {
                  "type": "app_element",
                  "url": "https://play.google.com/store/apps/details?id=com.banana.studio.sms&hl=en&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dmessaging+apps&pcampaignid=APPU_1_mZHXXcHaN46fULSFiegF",
                  "title": "Messaging SMS",
                  "description": null,
                  "price": ""
                },
                {
                  "type": "app_element",
                  "url": "https://play.google.com/store/apps/details?id=com.google.android.apps.messaging&hl=en_GB&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dmessaging+apps&pcampaignid=APPU_1_mZHXXcHaN46fULSFiegF",
                  "title": "Messages",
                  "description": null,
                  "price": ""
                },
                {
                  "type": "app_element",
                  "url": "https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms&hl=en&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dmessaging+apps&pcampaignid=APPU_1_mZHXXcHaN46fULSFiegF",
                  "title": "Signal Private Messenger",
                  "description": null,
                  "price": ""
                }
              ]
            },
            {
              "type": "people_also_ask",
              "rank_group": 1,
              "rank_absolute": 17,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[10]/div[2]/div[5]/div[1]/div[3]/div[1]/div[5]/div[1]/div[1]",
              "items": [
                {
                  "type": "people_also_ask_element",
                  "title": "What is the best texting app?",
                  "xpath": "/html[1]/body[1]/div[10]/div[2]/div[5]/div[1]/div[3]/div[1]/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]",
                  "expanded_element": [
                    {
                      "type": "people_also_ask_expanded_element",
                      "featured_title": null,
                      "url": "https://www.xda-developers.com/best-text-messaging-apps-android/",
                      "domain": "www.xda-developers.com",
                      "title": "Best Text Messaging Apps for Android - XDA Developers",
                      "description": "Best Text Messaging Apps for AndroidAndroid Messages (Top Choice) The good news for a lot of people is the best text messaging app is probably already on your phone. ... Chomp SMS. Chomp SMS is an old classic and it's still one of the best messaging apps. ... EvolveSMS. ... Facebook Messenger. ... Handcent Next SMS. ... Mood Messenger. ... Pulse SMS. ... QKSMS.More items...",
                      "table": null
                    }
                  ]
                },
                {
                  "type": "people_also_ask_element",
                  "title": "What is the best free texting app?",
                  "xpath": "/html[1]/body[1]/div[10]/div[2]/div[5]/div[1]/div[3]/div[1]/div[5]/div[1]/div[1]/div[1]/div[1]/div[2]",
                  "expanded_element": [
                    {
                      "type": "people_also_ask_expanded_element",
                      "featured_title": null,
                      "url": "https://www.androidauthority.com/best-free-text-apps-android-937389/",
                      "domain": "www.androidauthority.com",
                      "title": "5 free text apps for Android that send real SMS messages! (Updated ...",
                      "description": "Google Voice is an excellent free texting app and easily one of the most popular. It lets you send free SMS messages and make free phone calls in the U.S. or Canada.2 May 2019",
                      "table": null
                    }
                  ]
                }
              ]
            },
            {
              "type": "images",
              "rank_group": 1,
              "rank_absolute": 18,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[9]/div[1]",
              "title": "Images for google pixel 4",
              "url": "https://www.google.co.uk/search?num=100&q=google+pixel+4&tbm=isch&source=univ&gl=GB&hl=en-GB&sa=X&ved=2ahUKEwiEvsffrf3lAhUBxoUKHT2zAS8QsAR6BAgREAE",
              "items": [
                {
                  "type": "images_element",
                  "alt": null,
                  "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQYCekhIO1xxcZeVzXBvPWMvHMoweE0Z7sgkOgLQrlJL6MzLiAXz8YmirXAlqyQCA2vslgAfirt&s"
                },
                {
                  "type": "images_element",
                  "alt": null,
                  "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1vvALhGwCBbB0_jGRTNPdwdttIpRulDnK2Up7fx01xkiOV4EQ-zSxVNf2K3j6Nrk28bzVS4Qa&s"
                },
                {
                  "type": "images_element",
                  "alt": null,
                  "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRS0gqDkegzPv-KLVfwasQN5P933qQ0f9ASEMuBBg63l1T7ZMkDqw-APDI4p48GmVQhS7vOI2dC&s"
                }
              ]
            },
            {
              "type": "shopping",
              "rank_group": 1,
              "rank_absolute": 19,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[1]/div[3]/div[1]/div[1]",
              "title": "See buy treadmill",
              "items": [
                {
                  "type": "shopping_element",
                  "title": "Reebok Astroride A2.0 Treadmill, Onesize, Silver",
                  "price": "£299.99",
                  "source": "SportsDirect.com",
                  "description": null,
                  "marketplace": "By Google",
                  "marketplace_url": "https://www.google.com/search?tbm=shop&q=friluftsbyxa%20barn",
                  "url": "https://www.sportsdirect.com/reebok-astroride-a20-treadmill-760028#colcode=76002811"
                },
                {
                  "type": "shopping_element",
                  "title": "JTX Sprint-7: Large Motorised Treadmill by JTX Fitness",
                  "price": "£799.00",
                  "source": "JTX Fitness",
                  "description": null,
                  "marketplace": "By Amazon",
                  "marketplace_url": "https://www.google.com/search?tbm=shop&q=friluftsbyxa%20barn",
                  "url": "https://www.jtxfitness.com/jtx-sprint7-motorised-home-treadmill"
                },
                {
                  "type": "shopping_element",
                  "title": "Reebok GT40 S Treadmill, Onesize, Black",
                  "price": "£399.99",
                  "source": "SportsDirect.com",
                  "description": null,
                  "marketplace": "By Google",
                  "marketplace_url": "https://www.google.com/search?tbm=shop&q=friluftsbyxa%20barn",
                  "url": "https://www.sportsdirect.com/reebok-gt40-s-treadmill-765002#colcode=76500203"
                }
              ]
            },
            {
              "type": "jobs",
              "rank_group": 1,
              "rank_absolute": 20,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[8]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]",
              "title": "Jobs Near New York, NY",
              "url": "https://www.google.com/search?q=seo+jobs+nyc&num=100&hl=en-US&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ibp=htl;jobs&sa=X&ved=2ahUKEwiV1J_Gl4jmAhUiAmMBHY6HA-wQiYsCKAB6BAgSEAM",
              "items": [
                {
                  "type": "jobs_element",
                  "title": "SEO Lead",
                  "description": "Grailed\nNew York, NY",
                  "author": "via Built In NYC",
                  "job_posted_time": "Over 1 month ago",
                  "contract_type": "Full-time",
                  "salary": null,
                  "url": "https://www.google.com/search?q=seo+jobs+nyc&num=100&hl=en-US&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ibp=htl;jobs#htidocid=sva_zVrSNMbg3Qx4AAAAAA%3D%3D"
                },
                {
                  "type": "jobs_element",
                  "title": "SEO Manager",
                  "description": "New York Post\nNew York, NY",
                  "author": "via LinkedIn",
                  "job_posted_time": "Over 1 month ago",
                  "contract_type": "Full-time",
                  "salary": null,
                  "url": "https://www.google.com/search?q=seo+jobs+nyc&num=100&hl=en-US&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ibp=htl;jobs#htidocid=7an02v1tOj4sF2QdAAAAAA%3D%3D"
                },
                {
                  "type": "jobs_element",
                  "title": "Assistant Director, Search Engine Optimization",
                  "description": "Hospital for Special Surgery\nNew York, NY",
                  "author": "via LinkedIn",
                  "job_posted_time": "4 days ago",
                  "contract_type": "Full-time",
                  "salary": null,
                  "url": "https://www.google.com/search?q=seo+jobs+nyc&num=100&hl=en-US&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ibp=htl;jobs#htidocid=gSWuAZR4HsDT0uhtAAAAAA%3D%3D"
                }
              ]
            },
            {
              "type": "events",
              "rank_group": 1,
              "rank_absolute": 21,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[7]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]",
              "title": "Eventos",
              "url": "https://www.google.com.br/search?q=shows+em+praga&num=100&gws_rd=cr&ie=UTF-8&oe=UTF-8&hl=pt-BR&gl=BR&uule=w+CAIQIFISCaORW-QYPVqTEX9d2Ati0-gk&ibp=htl;events&rciv=evn",
              "items": [
                {
                  "type": "events_element",
                  "title": "Metallica Tribute Show",
                  "snippet": "sáb., 19:00\nPrague Congress Centre, 5. května 1640/65\nPrague 4-Nusle, Tchéquia",
                  "url": "https://www.google.com.br/search?q=shows+em+praga&num=100&gws_rd=cr&ie=UTF-8&oe=UTF-8&hl=pt-BR&gl=BR&uule=w+CAIQIFISCaORW-QYPVqTEX9d2Ati0-gk&ibp=htl;events&rciv=evn&sa=X&ved=2ahUKEwiXxsSc6MbnAhVmKLkGHTuZASQQ5bwDMAB6BAgPEAE#fpstate=tldetail&htidocid=wHvEAt0DuBX7XOr6JpA8-A%3D%3D&htivrt=events"
                },
                {
                  "type": "events_element",
                  "title": "Maluma Official Afterparty - Prague",
                  "snippet": "qui., 27 – sex., 28 de fev.\nDupleX, The Rooftop Venue, Václavské nám. 831/21\nNew Town, Tchéquia",
                  "url": "https://www.google.com.br/search?q=shows+em+praga&num=100&gws_rd=cr&ie=UTF-8&oe=UTF-8&hl=pt-BR&gl=BR&uule=w+CAIQIFISCaORW-QYPVqTEX9d2Ati0-gk&ibp=htl;events&rciv=evn&sa=X&ved=2ahUKEwiXxsSc6MbnAhVmKLkGHTuZASQQ5bwDMAF6BAgQEAE#fpstate=tldetail&htidocid=H6X_mJy9t1p7DU8JJpA8-A%3D%3D&htivrt=events"
                }
              ]
            },
            {
              "type": "mention_carousel",
              "rank_group": 1,
              "rank_absolute": 22,
              "position": "left",
              "xpath": "/html[1]/body[1]/div[8]/div[3]/div[9]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/g-card[1]",
              "title": "Top 16 IP Surveillance Cameras",
              "items": [
                {
                  "type": "mention_carousel_element",
                  "title": "Arlo Pro 2",
                  "price": "–",
                  "rating": {
                      "rating_type": "Max5",
                      "value": 4.4,
                      "votes_count": 778,
                      "rating_max": 5
                  },
                  "mentioned_in": [
                    {
                          "type": "link_element",
                          "title": "Arlo Pro 2 Review: A Top Of The Line Security Camera",
                          "snippet": null,
                          "url": "https://www.digitaltrends.com/home-security-reviews/netgear-arlo-pro-2-review/"
                    },
                    {
                          "type": "link_element",
                          "title": "Expert ReviewsBest home security camera 2020: The best IP security cameras to protect your home",
                          "snippet": null,
                          "url": "https://www.expertreviews.co.uk/ip-cameras/1405720/best-home-security-cameras-best-ip-security-camera-to-buy"
                    }
                  ]
                },
                {
                  "type": "mention_carousel_element",
                  "title": "Nest Cam Outdoor",
                  "price": "$160+",
                  "rating": {
                      "rating_type": "Max5",
                      "value": 4.6,
                      "votes_count": 6618,
                      "rating_max": 5
                },
                  "mentioned_in": [
                    {
                          "type": "link_element",
                          "title": "Nest Cam Outdoor Review",
                          "snippet": null,
                          "url": "https://www.trustedreviews.com/reviews/nest-cam-outdoor"
                    },
                    {
                          "type": "link_element",
                          "title": "TechRadarBest security camera system for your business in 2020",
                          "snippet": null,
                          "url": "https://www.techradar.com/best/best-office-security-camera-systems"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Description of the fields for sending a request:

Field name Type Description
id string task identifier
unique task identifier in our system in the UUID format
you will be able to use it within 30 days to request the results of the task at any time

‌‌
‌‌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.

You can also get all available SERP features and possible extra elements by making a request to the following Sandbox URL:
https://sandbox.dataforseo.com/v3/serp/google/organic/task_get/advanced/00000000-0000-0000-0000-000000000000
The response will include all available items in the Google Organic SERP Advanced endpoint with the fields containing dummy data.
You won’t be charged for using Sandbox endpoints.

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
            keyword string keyword received in a POST array
the keyword is returned with decoded %## (plus symbol ‘+’ will be decoded to a space character)
            type string search engine type in a POST array
            se_domain string search engine domain in a POST array
            location_code integer location code in a POST array
            language_code string language code in a POST array
            check_url string direct URL to search engine results
you can use it to make sure that we provided accurate results
            datetime string date and time when the result was received
in the format “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”
example:
2019-11-15 12:57:46 +00:00
            target_rankings array SERP positions of the targeted domain or URL
contains organic, paid and advanced SERP elements linked to the domain or the URL specified in the target string of a task
                type integer type of element
possible types: answer_box, app, carousel, featured_snippet, google_flights, google_reviews, images, jobs, knowledge_graph, local_pack, map, organic, paid, people_also_ask, related_searches, people_also_search, shopping, top_stories, twitter, video, mention_carousel, events
                rank_group integer group rank in SERP for the targeted domain or URL
the position in the group of elements; a group is formed according to the type field
                rank_absolute integer absolute rank in SERP for the targeted domain or URL
absolute position among all the elements in SERP
                position string the alignment of the element in SERP
can take the following values:
left, right
                url string the URL of the SERP result linked to the targeted domain or URL
            spell array autocorrection of the search engine
if the search engine provided results for a keyword that was corrected, we will specify the keyword corrected by the search engine and the type of autocorrection
                keyword string keyword obtained as a result of search engine autocorrection
the results will be provided for the corrected keyword
                type string type of autocorrection
possible values:
did_you_mean, showing_results_for, no_results_found_for
            item_types array types of search results in SERP
contains types of search results (items) found in SERP.
possible item types:
answer_box, app, carousel, multi_carousel, featured_snippet, google_flights, google_reviews, images, jobs, knowledge_graph, local_pack, map, organic, paid, people_also_ask, related_searches, people_also_search, shopping, top_stories, twitter, video, events, mention_carousel
            se_results_count integer total number of results in SERP
            items_count integer the number of results returned in the items array
            items array elements of search results found in SERP
            ‘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 domain in SERP
                title string title of the result in SERP
                url string relevant URL in SERP
                cache_url string cached version of the page
                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
            ‘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
                domain string domain in SERP of the Ad element
                description string description of the results element in SERP
                title string title of the result in SERP
                url string relevant URL of the Ad element in SERP
                breadcrumb string breadcrumb 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 string description of the results element in SERP
                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 = ‘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
            ‘carousel’ element in SERP
                type string type of element = ‘carousel’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘carousel_element
                    title string title of the item
                    sub_title string subtitle of the item
            ‘multi_carousel’ element in SERP
                type string type of element = ‘multi_carousel’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘multi_carousel_element
                    title string title of the item
                    multi_carousel_snippets array multi_carousel_snippet results
                        type string type of element = ‘multi_carousel_snippet
                        title string title of a particular item
            ‘answer_box’ element in SERP
                type string type of element = ‘answer_box’
                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
                text string text
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 = ‘link_element
                    title string title of the link
                    description string description of the results element in SERP
                    url string URL link
            ‘related_searches’ element in SERP
                type string type of element = ‘related_searches’
                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
                items array additional items present in the element
if there are none, equals null
            ‘people_also_search’ element in SERP
                type string type of element = ‘people_also_search’
                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
                items array additional items present in the element
if there are none, equals null
            ‘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
            ‘knowledge_graph’ element in SERP
                type string type of element = ‘knowledge_graph’
                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
                sub_title string subtitle of the item
                description string description
                card_id string card id
                url string relevant URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘knowledge_graph_part_element
                    text string text
if there is none, equals null
                    anchor string anchor
                    url string URL
                    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 link element
                        description string description of the results element in SERP
                        url string URL link
            ‘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
            ‘top_stories’ element in SERP
                type string type of element = ‘top_stories’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘top_stories_element
                    source string source of the element
indicates the source of information included in the top stories element
                    domain string domain in SERP
                    title string title of the result in SERP
                    date string the date when the page source of the element was published
                    url string URL
            ‘twitter’ element in SERP
                type string type of element = ‘twitter’
                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
                url string URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘twitter_element
                    tweet string tweet message
                    date string the posting date
                    url string URL
            ‘map’ element in SERP
                type string type of element = ‘map’
                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
                url string URL
            ‘google_flights’ element in SERP
                type string type of element = ‘google_flights’
                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
                url string URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘google_flights_element
                    description string description
                    url string URL
            google_reviews’ element in SERP
                type string type of element = ‘google_reviews’
                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
                reviews_count integer the number of reviews
                place_id string the identifier of a place
                feature string the additional feature of the review
            ‘video’ element in SERP
                type string type of element = ‘video’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘video_element
                    source string source of the element
indicates the source of the video
                    title string title of the result in SERP
                    url string URL
            ‘app’ element in SERP
                type string type of element = ‘app’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘app_element
                    description string description of the results element in SERP
                    title string title of the result in SERP
                    url string URL
                    price string price
            ‘people_also_ask’ element in SERP
                type string type of element = ‘people_also_ask’
                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
                items array additional items present in the element
if there are none, equals null
                type string type of element = ‘people_also_ask_element
                title string title of the result in SERP
                    xpath string the XPath of the element
                    expanded_element array expanded element
                        type string type of element = ‘people_also_ask_expanded_element
                        domain string domain in SERP
                        title string title of the result in SERP
                        featured_title string title
                        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
            ‘images’ element in SERP
                type string type of element = ‘images’
                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
                url string relevant URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘images_element
                    alt string the alt tag of the image
                    url string URL
            ‘shopping’ element in SERP
                type string type of element = ‘shopping’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘shopping_element
                    title string title of the result in SERP
                    price string price
                    source string source of the element
indicates the source of information included in the ‘shopping’ element
                    description string the description of the results element in SERP
                    marketplace string merchant account provider
commerce site that hosts products or websites of individual sellers under the same merchant account
example:
by Google
                    marketplace_url string relevant marketplace URL
URL of the page on the marketplace website where the product is hosted
                    url string URL
            ‘jobs’ element in SERP
                type string type of element = ‘jobs’
                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
                url string URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘jobs_element
                    title string title of the result in SERP
                    snippet string snippet
                    author string author
                    job_posted_time string the time when the job was posted
                    contract_type string contract type
                    salary string salary
                    url string URL
            ‘events’ element in SERP
                type string type of element = ‘events’
                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
                URL string URL
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘events_element
                    title string title of the item
                    snippet string snippet of the element
                    URL string events_element URL
            ‘mention_carousel’ element in SERP
                type string type of element = ‘mention_carousel’
                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
                items array additional items present in the element
if there are none, equals null
                    type string type of element = ‘mention_carousel_element
                    title string title of the item
                    price string price
                    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
                    mentioned_in array additional elements in the mention_carousel item
                        type string type of element = ‘link_element
                        title string title of the item
                        snippet string snippet of the element
                        URL string link_element URL

‌‌