{"id":809,"date":"2019-11-18T14:07:23","date_gmt":"2019-11-18T14:07:23","guid":{"rendered":"https:\/\/docs_v3.dataforseo.com\/v3\/?page_id=809"},"modified":"2025-12-26T15:59:37","modified_gmt":"2025-12-26T15:59:37","slug":"serp-news-task-get-advanced","status":"publish","type":"page","link":"https:\/\/docs.dataforseo.com\/v3\/serp-news-task-get-advanced\/","title":{"rendered":"serp\/news\/task_get\/advanced"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<h2 id=\"get-serp-results-by-task_id\">Get Wp V2 SERP Advanced Results by id<\/h2>\n<p>[\/vc_column_text]    <div class=\"endpoint\">\n        <img decoding=\"async\" class=\"endpoint__icon\" src=\"https:\/\/docs.dataforseo.com\/v3\/wp-content\/themes\/dataforseo\/assets\/img\/icons\/checked-circle.svg\" alt=\"checked\">\n\n                    GET            <button class=\"btn-reset button-link copy-button\" data-href=\"https:\/\/api.dataforseo.com\/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\">\n                https:\/\/api.dataforseo.com\/v3\/serp\/wp\/v2\/task_get\/advanced\/$id                <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n                    <use href=\"https:\/\/docs.dataforseo.com\/v3\/wp-content\/themes\/dataforseo\/assets\/img\/icons\/sprite.svg#layers\"><\/use>\n                <\/svg>\n            <\/button>\n            <\/div>\n    \t<article class=\"info-card info-card--yellow\">\n\t\t<header class=\"info-card__header\">\n\t\t\t<div class=\"info-card__icon\">\n\t\t\t\t<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n\t\t\t\t\t<use href=\"https:\/\/docs.dataforseo.com\/v3\/wp-content\/themes\/dataforseo\/assets\/img\/icons\/sprite.svg#label\"><\/use>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<div class=\"info-card__title\">Pricing<\/div>\n\t\t<\/header>\n\t\t<div class=\"info-card__content\">\n\t\t\t<p> Your account will be charged only for posting a task. You can get the results of the task within the next 30 days for free.<br \/>\nThe cost can be calculated on the <a title=\"Pricing\" href=\"https:\/\/dataforseo.com\/pricing\/serp\/google-news-serp-api\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing<\/a> page.<\/p>\n\t\t<\/div>\n\t<\/article>\n\t[vc_column_text]<\/p>\n<p><strong>Description of the fields for sending a request:<\/strong><\/p>\n<table style=\"width: 86.0726%; height: 34px;\">\n<thead>\n<tr style=\"height: 24px;\">\n<th style=\"width: 12.4003%; height: 24px;\">Field name<\/th>\n<th style=\"width: 3.91588%; height: 24px;\">Type<\/th>\n<th style=\"width: 82.9587%; height: 24px;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 192px;\">\n<td style=\"width: 12.4003%; height: 10px;\"><code>id<\/code><\/td>\n<td style=\"width: 3.91588%; height: 10px;\">string<\/td>\n<td style=\"width: 82.9587%; height: 10px;\"><em>task identifier<\/em><br \/>\n<strong>unique task identifier in our system in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier\">UUID<\/a> format<\/strong><br \/>\nyou will be able to use it within <strong>30 days<\/strong> to request the results of the task at any time<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u200c<br \/>\n\u200c\u200cAs a response of the API server, you will receive <a href=\"https:\/\/en.wikipedia.org\/wiki\/JSON\">JSON<\/a>-encoded data containing a <code>tasks<\/code> array with the information specific to the set tasks.<\/p>\n<p>You can also get all available SERP features and possible extra elements by making a request to the following <a href=\"\/v3\/appendix\/sandbox\/\">Sandbox<\/a> URL:<br \/>\n<code>https:\/\/sandbox.dataforseo.com\/v3\/serp\/google\/news\/task_get\/advanced\/00000000-0000-0000-0000-000000000000<\/code><br \/>\nThe response will include all available items in the Google News SERP Advanced endpoint with the fields containing dummy data.<br \/>\nYou won&#8217;t be charged for using <a href=\"\/v3\/appendix\/sandbox\/\">Sandbox<\/a> endpoints.<\/p>\n<p><strong>Description of the fields in the results array:<\/strong><\/p>\n<table style=\"width: 86.001%; height: 7345px;\">\n<thead>\n<tr style=\"height: 24px;\">\n<th style=\"width: 24.3517%; height: 24px;\">Field name<\/th>\n<th style=\"width: 5.77015%; height: 24px;\">Type<\/th>\n<th style=\"width: 80.2284%; height: 24px;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 48px;\">\n<td style=\"width: 24.3517%; height: 48px;\"><code>version<\/code><\/td>\n<td style=\"width: 6.19209%; height: 48px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 48px;\"><em>the current version of the API<\/em><\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 38.423%; height: 48px;\"><code>status_code<\/code><\/td>\n<td style=\"width: 1.75219%; height: 48px;\">integer<\/td>\n<td style=\"width: 61.2015%; height: 48px;\"><i>general status code<\/i><br \/>\nyou can find the full list of the response codes <a href=\"\/v3\/appendix\/errors\">here<\/a><br \/>\n<strong>Note:<\/strong> we strongly recommend designing a necessary system for handling related exceptional or error conditions<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><code>status_message<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>general informational message<\/em><br \/>\nyou can find the full list of general informational messages <a href=\"\/v3\/appendix\/errors\">here<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><code>time<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>execution time, seconds<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><code>cost<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">float<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>total tasks cost, USD<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><code>tasks_count<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">integer<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>the number of tasks in the <strong><code>tasks<\/code><\/strong> array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><code>tasks_error<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>the number of tasks in the <strong><code>tasks<\/code><\/strong> array returned with an error<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\"><strong><code>tasks<\/code><\/strong><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">array<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>array of tasks<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>id<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>task identifier<\/em><br \/>\n<strong>unique task identifier in our system in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier\">UUID<\/a> format<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 24.3517%; height: 48px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>status_code<\/code><\/td>\n<td style=\"width: 6.19209%; height: 48px;\">integer<\/td>\n<td style=\"width: 79.8065%; height: 48px;\"><em>status code of the task<\/em><br \/>\ngenerated by DataForSEO; can be within the following range: 10000-60000<br \/>\nyou can find the full list of the response codes <a href=\"\/v3\/appendix\/errors\">here<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>status_message<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>informational message of the task<\/em><br \/>\nyou can find the full list of general informational messages <a href=\"\/v3\/appendix\/errors\">here<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>time<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>execution time, seconds<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>cost<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">float<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>cost of the task, USD<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>result_count<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">integer<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>number of elements in the <code>result<\/code> array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>path<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">array<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>URL path<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <code>data<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">object<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>contains the same parameters that you specified in the POST request<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 <strong><code>result<\/code><\/strong><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">array<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>array of results<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>keyword<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>keyword received in a POST array<br \/>\n<\/em><strong>the keyword is returned with decoded %## (plus symbol &#8216;+&#8217; will be decoded to a space character)<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>search engine type in a POST array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>se_domain<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>search engine domain in a POST array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>location_code<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>location code in a POST array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>language_code<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>language code in a POST array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>check_url<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>direct URL to search engine results<br \/>\n<\/em>you can use it to make sure that we provided accurate results<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>datetime<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>date and time when the result was received<\/em><br \/>\nin the UTC format: \u201cyyyy-mm-dd hh-mm-ss +00:00\u201d<br \/>\nexample:<br \/>\n<code class=\"long-string\">2019-11-15 12:57:46 +00:00<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>spell<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">object<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>autocorrection of the search engine<\/em><br \/>\nif 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<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>keyword<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>keyword obtained as a result of search engine autocorrection<\/em><br \/>\nthe results will be provided for the corrected keyword<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>type of autocorrection<\/em><br \/>\npossible values:<br \/>\n<code>did_you_mean<\/code>, <code>showing_results_for<\/code>, <code>no_results_found_for<\/code>, <code>including_results_for<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>refinement_chips<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">object<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>search refinement chips<\/em>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>type of element\u00a0=\u00a0<strong>&#8216;refinement_chips&#8217;<\/strong><\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>xpath<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>the <a href=\"https:\/\/en.wikipedia.org\/wiki\/XPath\" rel=\"noopener noreferrer\" target=\"_blank\">XPath<\/a> of the element<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>items<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">array<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>items of the element<\/em>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>type of element\u00a0=\u00a0<strong>&#8216;refinement_chips_element&#8217;<\/strong><\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>title<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>title of the element<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>url<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>search URL with refinement parameters<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>domain<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>domain in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>options<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">array<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>further search refinement options<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0 \u00a0  <code>type<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>type of element\u00a0=\u00a0<strong>&#8216;refinement_chips_option&#8217;<\/strong><\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0 \u00a0  <code>title<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>title of the element<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0 \u00a0  <code>url<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>search URL with refinement parameters<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0 \u00a0  <code>domain<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">string<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>domain in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>includes_non_news_search_results<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">boolean<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>indicates whether the response contains non-news search results in addition to news content<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>item_types<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">array<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>types of search results in SERP<\/em><br \/>\ncontains types of search results (<code>items<\/code>) found in SERP.<br \/>\npossible item types:<br \/>\n<code>top_stories<\/code>, <code>news_search<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>se_results_count<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em> total number of results in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>items_count<\/code><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">integer<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>the number of results returned in the <strong><code>items<\/code><\/strong> array<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong><code>items<\/code><\/strong><\/td>\n<td style=\"width: 6.19209%; height: 24px;\">array<\/td>\n<td style=\"width: 79.8065%; height: 24px;\"><em>elements of search results found in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong>\u2018Google News\u2019 SERP element<\/strong><\/td>\n<td style=\"width: 5.77015%; height: 24px;\"><\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em> type of element\u00a0=\u00a0<strong>&#8216;news_search&#8217;<\/strong><\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rank_group<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>group rank in SERP<\/em><br \/>\nposition within a group of elements with identical <code>type<\/code> values<br \/>\npositions of elements with different <code>type<\/code> values are omitted from <code>rank_group<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rank_absolute<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em> absolute rank in SERP<\/em><br \/>\nabsolute position among all the elements in SERP<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>xpath<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>the <a href=\"https:\/\/en.wikipedia.org\/wiki\/XPath\">XPath<\/a> of the element<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>domain<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>domain name of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>title<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>title of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>url<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>URL of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>image_url<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>URL of the image<\/em><br \/>\nthe URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available)<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>snippet<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>snippet of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>time_published<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>indicates the time the result was published<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>timestamp<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>date and time when the news was published<\/em><br \/>\nin the format \u201cyear-month-date:minutes:UTC_difference_hours:UTC_difference_minutes\u201d<br \/>\nexample:<br \/>\n<code>2019-11-15 12:57:46 +00:00<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rectangle<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">object<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>rectangle parameters<\/em><br \/>\ncontains cartesian coordinates and pixel dimensions of the result&#8217;s snippet in SERP<br \/>\nequals <code>null<\/code> if <code>calculate_rectangles<\/code> in the POST request is not set to <code>true<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>x<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>x-axis coordinate<\/em><br \/>\nx-axis coordinate of the top-left corner of the result&#8217;s snippet, where top-left corner of the screen is the origin<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>y<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>y-axis coordinate<\/em><br \/>\ny-axis coordinate of the top-left corner of the result&#8217;s snippet, where top-left corner of the screen is the origin<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>width<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>width of the element in pixels<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>height<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>height of the element in pixels<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong>\u2018Top Stories\u2019 SERP element<\/strong><\/td>\n<td style=\"width: 5.77015%; height: 24px;\"><\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em> type of element\u00a0=\u00a0<strong>&#8216;top_stories&#8217;<\/strong><\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rank_group<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>group rank in SERP<\/em><br \/>\nposition within a group of elements with identical <code>type<\/code> values<br \/>\npositions of elements with different <code>type<\/code> values are omitted from <code>rank_group<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rank_absolute<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>absolute rank in SERP<\/em><br \/>\nabsolute position among all the elements in SERP<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>position<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>the alignment of the element in SERP<\/em><br \/>\ncan take the following values:<br \/>\n<code>left<\/code><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>xpath<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>the <a href=\"https:\/\/en.wikipedia.org\/wiki\/XPath\">XPath<\/a> of the element<\/em><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 24.3517%; height: 24px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>title<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>title of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>items<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">array<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>additional items present in the element<\/em><br \/>\nif there are none, equals <code>null<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>type<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>type of element = &#8216;<strong>top_stories_element<\/strong>&#8216;<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>source<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>name of the news source<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>domain<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>domain name of the news source<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>title<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>news title<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>date<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>time of publishing<\/em><br \/>\nthe approximate time when the news article appeared online<br \/>\nexample:<br \/>\n<code>\"23 hours ago\"<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>amp_version<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">boolean<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>amp version available<\/em><br \/>\nindicates whether the AMP version of the webpage is available<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>timestamp<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>date and time when the news was published<\/em><br \/>\nin the format \u201cyear-month-date:minutes:UTC_difference_hours:UTC_difference_minutes\u201d<br \/>\nexample:<br \/>\n<code>2019-11-15 12:57:46 +00:00<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>url<\/code><\/td>\n<td style=\"width: 5.77015%; height: 24px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 24px;\"><em>URL of the result in SERP<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>image_url<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">string<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>URL of the image<\/em><br \/>\nthe URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available)<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>rectangle<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">object<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>rectangle parameters<\/em><br \/>\ncontains cartesian coordinates and pixel dimensions of the result&#8217;s snippet in SERP<br \/>\nequals <code>null<\/code> if <code>calculate_rectangles<\/code> in the POST request is not set to <code>true<\/code><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>x<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>x-axis coordinate<\/em><br \/>\nx-axis coordinate of the top-left corner of the result&#8217;s snippet, where top-left corner of the screen is the origin<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>y<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>y-axis coordinate<\/em><br \/>\ny-axis coordinate of the top-left corner of the result&#8217;s snippet, where top-left corner of the screen is the origin<\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>width<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>width of the element in pixels<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px;\">\n<td style=\"width: 24.3517%; height: 25px;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <code>height<\/code><\/td>\n<td style=\"width: 5.77015%; height: 25px;\">integer<\/td>\n<td style=\"width: 80.2284%; height: 25px;\"><em>height of the element in pixels<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u200c\u200c[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<blockquote><p>Instead of \u2018login\u2019 and \u2018password\u2019 use your credentials from https:\/\/app.dataforseo.com\/api-access<\/p><\/blockquote><div id=\"curl\" class=\"tab-content example__content\"><div class=\"example__code\"><pre><code class=\"language-bash hljs\"># Instead of &#039;login&#039; and &#039;password&#039; use your credentials from https:\/\/app.dataforseo.com\/api-access \r\nlogin=&quot;login&quot; \r\npassword=&quot;password&quot; \r\ncred=&quot;$(printf ${login}:${password} | base64)&quot; \r\nid=&quot;02261816-2027-0066-0000-c27d02864073&quot; \r\ncurl --location --request GET &quot;https:\/\/api.dataforseo.com\/v3\/serp\/wp\/v2\/task_get\/advanced\/${id}&quot; \r\n--header &quot;Authorization: Basic ${cred}&quot;  \r\n--header &quot;Content-Type: application\/json&quot; \r\n--data-raw &quot;&quot;<\/code><\/pre><\/div><\/div><div id=\"php\" class=\"tab-content example__content\"><div class=\"example__code\"><pre><code class=\"language-php hljs\">&lt;?php\r\n\/\/ You can download this file from here https:\/\/cdn.dataforseo.com\/v3\/examples\/php\/php_RestClient.zip\r\nrequire(&#039;RestClient.php&#039;);\r\n$api_url = &#039;https:\/\/api.dataforseo.com\/&#039;;\r\ntry {\r\n    \/\/ Instead of &#039;login&#039; and &#039;password&#039; use your credentials from https:\/\/app.dataforseo.com\/api-access\r\n    $client = new RestClient($api_url, null, &#039;login&#039;, &#039;password&#039;);\r\n} catch (RestClientException $e) {\r\n    echo &quot;n&quot;;\r\n    print &quot;HTTP code: {$e-&gt;getHttpCode()}n&quot;;\r\n    print &quot;Error code: {$e-&gt;getCode()}n&quot;;\r\n    print &quot;Message: {$e-&gt;getMessage()}n&quot;;\r\n    print  $e-&gt;getTraceAsString();\r\n    echo &quot;n&quot;;\r\n    exit();\r\n}\r\ntry {\r\n    $result = array();\r\n    \/\/ #1 - using this method you can get a list of completed tasks\r\n    \/\/ GET \/v3\/serp\/wp\/v2\/tasks_ready\r\n    \/\/ in addition to &#039;wp&#039; and &#039;v2&#039; you can also set other search engine and type parameters\r\n    \/\/ the full list of possible parameters is available in documentation\r\n    $tasks_ready = $client-&gt;get(&#039;\/v3\/serp\/wp\/v2\/tasks_ready&#039;);\r\n    \/\/ you can find the full list of the response codes here https:\/\/docs.dataforseo.com\/v3\/appendix\/errors\r\n    if (isset($tasks_ready[&#039;status_code&#039;]) AND $tasks_ready[&#039;status_code&#039;] === 20000) {\r\n        foreach ($tasks_ready[&#039;tasks&#039;] as $task) {\r\n            if (isset($task[&#039;result&#039;])) {\r\n                foreach ($task[&#039;result&#039;] as $task_ready) {\r\n                    \/\/ #2 - using this method you can get results of each completed task\r\n                    \/\/ GET \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\r\n                    if (isset($task_ready[&#039;endpoint_advanced&#039;])) {\r\n                        $result[] = $client-&gt;get($task_ready[&#039;endpoint_advanced&#039;]);\r\n                    }\r\n                    \/\/ #3 - another way to get the task results by id\r\n                    \/\/ GET \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\r\n                    \/*\r\n                    if (isset($task_ready[&#039;id&#039;])) {\r\n                        $result[] = $client-&gt;get(&#039;\/v3\/serp\/wp\/v2\/task_get\/advanced\/&#039; . $task_ready[&#039;id&#039;]);\r\n                    }\r\n                    *\/\r\n                }\r\n            }\r\n        }\r\n    }\r\n    print_r($result);\r\n    \/\/ do something with result\r\n} catch (RestClientException $e) {\r\n    echo &quot;n&quot;;\r\n    print &quot;HTTP code: {$e-&gt;getHttpCode()}n&quot;;\r\n    print &quot;Error code: {$e-&gt;getCode()}n&quot;;\r\n    print &quot;Message: {$e-&gt;getMessage()}n&quot;;\r\n    print  $e-&gt;getTraceAsString();\r\n    echo &quot;n&quot;;\r\n}\r\n$client = null;\r\n?&gt;<\/code><\/pre><\/div><\/div><div id=\"javascript\" class=\"tab-content example__content\"><div class=\"example__code\"><pre><code class=\"language-javascript hljs\">const task_id = &#039;02231256-2604-0066-2000-57133b8fc54e&#039;;\r\n\r\nconst axios = require(&#039;axios&#039;);\r\n\r\naxios({\r\n    method: &#039;get&#039;,\r\n    url: &#039;https:\/\/api.dataforseo.com\/v3\/serp\/wp\/v2\/task_get\/advanced\/&#039; + task_id,\r\n    auth: {\r\n        username: &#039;login&#039;,\r\n        password: &#039;password&#039;\r\n    },\r\n    headers: {\r\n        &#039;content-type&#039;: &#039;application\/json&#039;\r\n    }\r\n}).then(function (response) {\r\n    var result = response[&#039;data&#039;][&#039;tasks&#039;];\r\n    \/\/ Result data\r\n    console.log(result);\r\n}).catch(function (error) {\r\n    console.log(error);\r\n});<\/code><\/pre><\/div><\/div><div id=\"python\" class=\"tab-content example__content\"><div class=\"example__code\"><pre><code class=\"language-python hljs\">from client import RestClient\r\n# You can download this file from here https:\/\/cdn.dataforseo.com\/v3\/examples\/python\/python_Client.zip\r\nclient = RestClient(&quot;login&quot;, &quot;password&quot;)\r\n# 1 - using this method you can get a list of completed tasks\r\n# GET \/v3\/serp\/wp\/v2\/tasks_ready\r\n# in addition to &#039;wp&#039; and &#039;v2&#039; you can also set other search engine and type parameters\r\n# the full list of possible parameters is available in documentation\r\nresponse = client.get(&quot;\/v3\/serp\/wp\/v2\/tasks_ready&quot;)\r\n# you can find the full list of the response codes here https:\/\/docs.dataforseo.com\/v3\/appendix\/errors\r\nif response[&quot;status_code&quot;] == 20000:\r\n    results = []\r\n    for task in response[&#039;tasks&#039;]:\r\n        if (task[&#039;result&#039;] and (len(task[&#039;result&#039;]) &gt; 0)):\r\n            for\u00a0resultTaskInfo\u00a0in\u00a0task[&#039;result&#039;]:\r\n                # 2 - using this method you can get results of each completed task\r\n                # GET \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\r\n                if(resultTaskInfo[&#039;endpoint_advanced&#039;]):\r\n                    results.append(client.get(resultTaskInfo[&#039;endpoint_advanced&#039;]))\r\n                &#039;&#039;&#039;\r\n                # 3 - another way to get the task results by id\r\n                # GET \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id                \r\n                if(resultTaskInfo[&#039;id&#039;]):\r\n                    results.append(client.get(&quot;\/\/v3\/serp\/wp\/v2\/task_get\/advanced\/&quot; + resultTaskInfo[&#039;id&#039;]))\r\n                &#039;&#039;&#039;\r\n    print(results)\r\n    # do something with result\r\nelse:\r\n    print(&quot;error. Code: %d Message: %s&quot; % (response[&quot;status_code&quot;], response[&quot;status_message&quot;]))<\/code><\/pre><\/div><\/div><div id=\"csharp\" class=\"tab-content example__content\"><div class=\"example__code\"><pre><code class=\"language-csharp hljs\">using Newtonsoft.Json;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Net.Http;\r\nusing System.Net.Http.Headers;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace DataForSeoDemos\r\n{\r\n    public static partial class Demos\r\n    {\r\n        public static async Task serp_task_get()\r\n        {\r\n            var httpClient = new HttpClient\r\n            {\r\n                BaseAddress = new Uri(&quot;https:\/\/api.dataforseo.com\/&quot;),\r\n                \/\/ Instead of &#039;login&#039; and &#039;password&#039; use your credentials from https:\/\/app.dataforseo.com\/api-access\r\n                DefaultRequestHeaders = { Authorization = new AuthenticationHeaderValue(&quot;Basic&quot;, Convert.ToBase64String(Encoding.ASCII.GetBytes(&quot;login:password&quot;))) }\r\n            };\r\n            \/\/ #1 - using this method you can get a list of completed tasks\r\n            \/\/ GET \/v3\/serp\/wp\/v2\/tasks_ready\r\n            \/\/ in addition to &#039;google&#039; and &#039;organic&#039; you can also set other search engine and type parameters\r\n            \/\/ the full list of possible parameters is available in documentation\r\n            var response = await httpClient.GetAsync(&quot;\/v3\/serp\/wp\/v2\/tasks_ready&quot;);\r\n            var tasksInfo = JsonConvert.DeserializeObject&lt;dynamic&gt;(await response.Content.ReadAsStringAsync());\r\n            var tasksResponses = new List&lt;object&gt;();\r\n            \/\/ you can find the full list of the response codes here https:\/\/docs.dataforseo.com\/v3\/appendix\/errors\r\n            if (tasksInfo.status_code == 20000)\r\n            {\r\n                foreach (var tasks in tasksInfo.tasks)\r\n                {\r\n                    if (tasks.First.result != null)\r\n                    {\r\n                        foreach (var task in tasks.First.result)\r\n                        {\r\n                            if (task.endpoint_advanced != null)\r\n                            {\r\n                                \/\/ #2 - using this method you can get results of each completed task\r\n                                \/\/ GET \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\r\n                                var tasksGetResponse = await httpClient.GetAsync((string)task.endpoint_advanced);\r\n                                var tasksResultObj = JsonConvert.DeserializeObject&lt;dynamic&gt;(await tasksGetResponse.Content.ReadAsStringAsync());\r\n                                if (tasksResultObj.tasks != null)\r\n                                {\r\n                                    foreach (var taskResult in tasksResultObj.tasks)\r\n                                    {\r\n                                        var fst = taskResult.First;\r\n                                        \/\/ you can find the full list of the response codes here https:\/\/docs.dataforseo.com\/v3\/appendix\/errors\r\n                                        if (fst.status_code &gt;= 40000 || fst.result == null)\r\n                                            Console.WriteLine($&quot;error. Code: {fst.status_code} Message: {fst.status_message}&quot;);\r\n                                        else\r\n                                            tasksResponses.Add(fst.result);\r\n                                    }\r\n                                }\r\n\r\n                                \/\/ #3 - another way to get the task results by id\r\n                                \/\/ GET  \/v3\/serp\/wp\/v2\/task_get\/advanced\/$id\r\n                                \/*\r\n                                var tasksGetResponse = await httpClient.GetAsync(&quot;\/v3\/serp\/wp\/v2\/task_get\/advanced\/&quot; + (string)task.id);\r\n                                var tasksResultObj = JsonConvert.DeserializeObject&lt;dynamic&gt;(await tasksGetResponse.Content.ReadAsStringAsync());\r\n                                if (tasksResultObj.tasks != null)\r\n                                {\r\n                                    foreach (var taskResult in tasksResultObj.tasks)\r\n                                    {\r\n                                        var fst = taskResult.First;\r\n                                        \/\/ you can find the full list of the response codes here https:\/\/docs.dataforseo.com\/v3\/appendix\/errors\r\n                                        if (fst.status_code &gt;= 40000 || fst.result == null)\r\n                                            Console.WriteLine($&quot;error. Code: {fst.status_code} Message: {fst.status_message}&quot;);\r\n                                        else\r\n                                            tasksResponses.Add(fst.result);\r\n                                    }\r\n                                }\r\n                                *\/\r\n                            }\r\n                        }\r\n                    }\r\n                }\r\n                if (tasksResponses.Count &gt; 0)\r\n                    \/\/ do something with result\r\n                    Console.WriteLine(String.Join(Environment.NewLine, tasksResponses));\r\n                else\r\n                    Console.WriteLine(&quot;No completed tasks&quot;);\r\n            }\r\n            else\r\n                Console.WriteLine($&quot;error. Code: {tasksInfo.status_code} Message: {tasksInfo.status_message}&quot;);\r\n        }\r\n    }\r\n}<\/code><\/pre><\/div><\/div><blockquote><p>The above command returns JSON structured like this:<\/p><\/blockquote><div class=\"example example--json\"><div class=\"example__content\"><div class=\"example__code example__code-json\"><pre><code class=\"language-json hljs\">{\r\n  &quot;version&quot;: &quot;0.1.20200923&quot;,\r\n  &quot;status_code&quot;: 20000,\r\n  &quot;status_message&quot;: &quot;Ok.&quot;,\r\n  &quot;time&quot;: &quot;0.0733 sec.&quot;,\r\n  &quot;cost&quot;: 0,\r\n  &quot;tasks_count&quot;: 1,\r\n  &quot;tasks_error&quot;: 0,\r\n  &quot;tasks&quot;: [\r\n    {\r\n      &quot;id&quot;: &quot;10061219-1535-0066-0000-268f221de517&quot;,\r\n      &quot;status_code&quot;: 20000,\r\n      &quot;status_message&quot;: &quot;Ok.&quot;,\r\n      &quot;time&quot;: &quot;0.0193 sec.&quot;,\r\n      &quot;cost&quot;: 0,\r\n      &quot;result_count&quot;: 1,\r\n      &quot;path&quot;: [\r\n        &quot;v3&quot;,\r\n        &quot;serp&quot;,\r\n        &quot;google&quot;,\r\n        &quot;news&quot;,\r\n        &quot;task_get&quot;,\r\n        &quot;advanced&quot;,\r\n        &quot;10061219-1535-0066-0000-268f221de517&quot;\r\n      ],\r\n      &quot;data&quot;: {\r\n        &quot;api&quot;: &quot;serp&quot;,\r\n        &quot;function&quot;: &quot;task_get&quot;,\r\n        &quot;se&quot;: &quot;google&quot;,\r\n        &quot;se_type&quot;: &quot;news&quot;,\r\n        &quot;language_code&quot;: &quot;en&quot;,\r\n        &quot;location_code&quot;: &quot;2840&quot;,\r\n        &quot;keyword&quot;: &quot;android&quot;,\r\n        &quot;device&quot;: &quot;desktop&quot;,\r\n        &quot;calculate_rectangles&quot;: true,\r\n        &quot;depth&quot;: 5,\r\n        &quot;os&quot;: &quot;windows&quot;\r\n      },\r\n      &quot;result&quot;: [\r\n        {\r\n          &quot;keyword&quot;: &quot;android&quot;,\r\n          &quot;type&quot;: &quot;news&quot;,\r\n          &quot;se_domain&quot;: &quot;google.com&quot;,\r\n          &quot;location_code&quot;: 2840,\r\n          &quot;language_code&quot;: &quot;en&quot;,\r\n          &quot;check_url&quot;: &quot;https:\/\/www.google.com\/search?q=android&amp;num=100&amp;hl=en&amp;gl=US&amp;gws_rd=cr&amp;tbm=nws&amp;uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&amp;ie=UTF-8&amp;oe=UTF-8&quot;,\r\n          &quot;datetime&quot;: &quot;2022-01-13 18:07:52 +00:00&quot;,\r\n          &quot;spell&quot;: null,\r\n          &quot;refinement_chips&quot;: null,\r\n          &quot;includes_non_news_search_results&quot;: false,\r\n          &quot;item_types&quot;: [\r\n            &quot;news_search&quot;,\r\n            &quot;top_stories&quot;\r\n          ],\r\n          &quot;se_results_count&quot;: 771000000,\r\n          &quot;items_count&quot;: 100,\r\n          &quot;items&quot;: [\r\n            {\r\n              &quot;type&quot;: &quot;news_search&quot;,\r\n              &quot;rank_group&quot;: 1,\r\n              &quot;rank_absolute&quot;: 1,\r\n              &quot;xpath&quot;: &quot;\/html[1]\/body[1]\/div[7]\/div[1]\/div[10]\/div[1]\/div[1]\/div[2]\/div[2]\/div[1]\/div[1]\/div[1]&quot;,\r\n              &quot;domain&quot;: &quot;www.eff.org&quot;,\r\n              &quot;title&quot;: &quot;VICTORY: Google Releases \u201cdisable 2g\u201d Feature for New Android Smartphones&quot;,\r\n              &quot;url&quot;: &quot;https:\/\/www.eff.org\/deeplinks\/2022\/01\/victory-google-releases-disable-2g-feature-new-android-smartphones&quot;,\r\n              &quot;image_url&quot;: &quot;https:\/\/api.dataforseo.com\/cdn\/i\/01132007-1535-0139-0000-7b275022ce6d:0&quot;,\r\n              &quot;snippet&quot;: &quot;Last year Google quietly pushed a new feature to its Android operating nsystem allowing users to optionally disable 2G at the modem level in...&quot;,\r\n              &quot;time_published&quot;: null,\r\n              &quot;timestamp&quot;: &quot;2022-01-12 22:07:51 +00:00&quot;,\r\n              &quot;rectangle&quot;: {\r\n                &quot;x&quot;: 180,\r\n                &quot;y&quot;: 182,\r\n                &quot;width&quot;: 652,\r\n                &quot;height&quot;: 178\r\n              }\r\n            },\r\n            {\r\n              &quot;type&quot;: &quot;top_stories&quot;,\r\n              &quot;rank_group&quot;: 1,\r\n              &quot;rank_absolute&quot;: 2,\r\n              &quot;position&quot;: &quot;left&quot;,\r\n              &quot;xpath&quot;: &quot;\/html[1]\/body[1]\/div[7]\/div[1]\/div[10]\/div[1]\/div[1]\/div[2]\/div[2]\/div[1]\/div[1]\/g-section-with-header[1]&quot;,\r\n              &quot;title&quot;: &quot;Nvidia&#039;s Shield TVs get Android 11 upgrade&quot;,\r\n              &quot;items&quot;: [\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;The Verge&quot;,\r\n                  &quot;domain&quot;: &quot;www.theverge.com&quot;,\r\n                  &quot;title&quot;: &quot;The Nvidia Shield is getting Android 11 and other upgrades&quot;,\r\n                  &quot;date&quot;: &quot;1 day ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-12 18:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/www.theverge.com\/2022\/1\/12\/22880057\/nvidia-shield-android-11-update-set-top-box-streaming&quot;,\r\n                  &quot;image_url&quot;: null\r\n                },\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;PC Gamer&quot;,\r\n                  &quot;domain&quot;: &quot;www.pcgamer.com&quot;,\r\n                  &quot;title&quot;: &quot;Nvidia Shield Android 11 update brings improved 4k streaming and gaming&quot;,\r\n                  &quot;date&quot;: &quot;10 hours ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-13 08:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/www.pcgamer.com\/nvidia-shield-android-11-update-brings-improved-4k-streaming-and-gaming\/&quot;,\r\n                  &quot;image_url&quot;: null\r\n                },\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;Gizmodo&quot;,\r\n                  &quot;domain&quot;: &quot;gizmodo.com&quot;,\r\n                  &quot;title&quot;: &quot;Nvidia Shield TVs Are Getting a Long-Awaited Update, but Not Android 12&quot;,\r\n                  &quot;date&quot;: &quot;1 day ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-12 18:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/gizmodo.com\/nvidia-shield-tvs-are-getting-a-long-awaited-update-bu-1848342653&quot;,\r\n                  &quot;image_url&quot;: null\r\n                }\r\n              ],\r\n              &quot;rectangle&quot;: {\r\n                &quot;x&quot;: 180,\r\n                &quot;y&quot;: 376,\r\n                &quot;width&quot;: 652,\r\n                &quot;height&quot;: 325\r\n              }\r\n            },\r\n            {\r\n              &quot;type&quot;: &quot;news_search&quot;,\r\n              &quot;rank_group&quot;: 2,\r\n              &quot;rank_absolute&quot;: 3,\r\n              &quot;xpath&quot;: &quot;\/html[1]\/body[1]\/div[7]\/div[1]\/div[10]\/div[1]\/div[1]\/div[2]\/div[2]\/div[1]\/div[1]\/div[2]&quot;,\r\n              &quot;domain&quot;: &quot;www.cnet.com&quot;,\r\n              &quot;title&quot;: &quot;Nvidia&#039;s GeForce Now service can stream Fortnite on iPhone and Android&quot;,\r\n              &quot;url&quot;: &quot;https:\/\/www.cnet.com\/tech\/gaming\/nvidias-geforce-now-service-can-stream-fortnite-on-iphone-and-android\/&quot;,\r\n              &quot;image_url&quot;: &quot;https:\/\/api.dataforseo.com\/cdn\/i\/01132007-1535-0139-0000-7b275022ce6d:1&quot;,\r\n              &quot;snippet&quot;: &quot;The game streaming service, offered by chipmaker Nvidia, has new touch ncontrols to make it easier to play the game too.&quot;,\r\n              &quot;time_published&quot;: null,\r\n              &quot;timestamp&quot;: &quot;2022-01-13 17:07:51 +00:00&quot;,\r\n              &quot;rectangle&quot;: {\r\n                &quot;x&quot;: 180,\r\n                &quot;y&quot;: 729,\r\n                &quot;width&quot;: 652,\r\n                &quot;height&quot;: 178\r\n              }\r\n            },\r\n            {\r\n              &quot;type&quot;: &quot;top_stories&quot;,\r\n              &quot;rank_group&quot;: 2,\r\n              &quot;rank_absolute&quot;: 4,\r\n              &quot;position&quot;: &quot;left&quot;,\r\n              &quot;xpath&quot;: &quot;\/html[1]\/body[1]\/div[7]\/div[1]\/div[10]\/div[1]\/div[1]\/div[2]\/div[2]\/div[1]\/div[1]\/g-section-with-header[2]&quot;,\r\n              &quot;title&quot;: &quot;News about Android&quot;,\r\n              &quot;items&quot;: [\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;Ars Technica&quot;,\r\n                  &quot;domain&quot;: &quot;arstechnica.com&quot;,\r\n                  &quot;title&quot;: &quot;After ruining Android messaging, Google says iMessage is too powerful&quot;,\r\n                  &quot;date&quot;: &quot;2 days ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-11 18:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/arstechnica.com\/gadgets\/2022\/01\/after-ruining-android-messaging-google-says-imessage-is-too-powerful\/&quot;\r\n                },\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;How-To Geek&quot;,\r\n                  &quot;domain&quot;: &quot;www.howtogeek.com&quot;,\r\n                  &quot;title&quot;: &quot;Watch Out for Wordle Scams on iPhone and Android&quot;,\r\n                  &quot;date&quot;: &quot;1 day ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-12 18:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/www.howtogeek.com\/779288\/watch-out-for-wordle-scams-on-iphone-and-android\/&quot;\r\n                },\r\n                {\r\n                  &quot;type&quot;: &quot;top_stories_element&quot;,\r\n                  &quot;source&quot;: &quot;Android Police&quot;,\r\n                  &quot;domain&quot;: &quot;www.androidpolice.com&quot;,\r\n                  &quot;title&quot;: &quot;Apple\u2019s leaked take on the punch-hole camera would make it stand out from nthe Android crowd once again&quot;,\r\n                  &quot;date&quot;: &quot;4 hours ago&quot;,\r\n                  &quot;amp_version&quot;: false,\r\n                  &quot;timestamp&quot;: &quot;2022-01-13 14:07:51 +00:00&quot;,\r\n                  &quot;url&quot;: &quot;https:\/\/www.androidpolice.com\/apples-leaked-take-on-the-punch-hole-camera-would-make-it-stand-out-from-the-android-crowd-once-again\/&quot;\r\n                }\r\n              ],\r\n              &quot;rectangle&quot;: {\r\n                &quot;x&quot;: 180,\r\n                &quot;y&quot;: 923,\r\n                &quot;width&quot;: 652,\r\n                &quot;height&quot;: 325\r\n              }\r\n            }\r\n          ]\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}<\/code><\/pre><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text] Get Wp V2 SERP Advanced Results by id [\/vc_column_text] GET https:\/\/api.dataforseo.com\/v3\/serp\/wp\/v2\/task_get\/advanced\/$id Pricing Your account will be charged only for posting a task. You can get the results of the task within the next 30 days for free. The cost can be calculated on the Pricing page. [vc_column_text] Description of the fields for sending a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template.php","meta":{"apibase_doc_request_yaml":"","apibase_doc_request_additional_yaml":"","apibase_doc_response_yaml":"","footnotes":""},"class_list":["post-809","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/pages\/809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":69,"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/pages\/809\/revisions"}],"predecessor-version":[{"id":23532,"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/pages\/809\/revisions\/23532"}],"wp:attachment":[{"href":"https:\/\/docs.dataforseo.com\/v3\/wp-json\/wp\/v2\/media?parent=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}