Google News SERP GET HTML
GET
/serp/google/news/task_get/html/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.dataforseo.com/v3/serp/google/news/task_get/html/' \
--header 'Authorization: Basic Og=='
Response Response Example
{ "version": "0.1.20241227", "status_code": 20000, "status_message": "Ok.", "time": "0.1406 sec.", "cost": 0, "tasks_count": 1, "tasks_error": 0, "tasks": [ { "id": "03270949-8029-0066-0000-7eab437bb711", "status_code": 20000, "status_message": "Ok.", "time": "0.0856 sec.", "cost": 0, "result_count": 1, "path": [ "v3", "serp", "google", "news", "task_get", "html", "03270949-8029-0066-0000-7eab437bb711" ], "data": { "api": "serp", "function": "task_get", "se": "google", "se_type": "news", "keyword": "albert einstein", "location_name": "united states", "language_name": "english", "device": "desktop", "os": "windows" }, "result": [ { "keyword": "albert einstein", "type": "news", "se_domain": "google.com", "location_code": 2840, "language_code": "en", "datetime": "2025-03-27 07:49:44 +0000", "items_count": 1, "items": [ { "page": 1, "date": "2025-03-27T07:53:57.3806474Z", "html": "<!doctype html><html itemscope=\"\" itemtype=\"http://schema.org/SearchResultsPage\" lang=\"en\"><head><meta charset=\"UTF-8\"><meta content=\"origin\" name=\"referrer\"><meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\"><title>albert einstein - Google Search</title><script nonce=\"r_xcZlo7VNhoxnbYfMM1ug\">window._hst=Date.now();</script><script nonce=\"r_xcZlo7VNhoxnbYfMM1ug\">(function(){var _g={kEI:'FgPlZ8iUFcvewN4PmqaqqQk',kEXPI:'0,202817,3497426,706,435,552772,64702,631376,5249850,11461,8834984,1,2,4,5,2,10,7437819,45767196,118547,100239,54,42799,78908,8428,9035,75023,14568,18559,19059,4956,16268,22692,421,18753,14707,4935,1617,4934,45,3583,3532,14501,4580,429,432,3782,9550,187,131,3308,144,76,1226,149,865,38,2627,2457,1451,940,4320,1610,1541,706,42,10,839,1862,743,5326,1433,264,2772,880,312,635,300,508,658,2582,195,593,59,2,646,1242,320,528,1589,20,464,335,335,198,117,29,590,2099,400,1018,1368,130,39,716,729,85,497,115,181,117,349,578,236,85,442,8,313,814,691,540,370,44,17,198,1380,21333755,1654,1018',kBL:'sA4g',kOPI:89978449};(function(){var a;((a=window.google)==null?0:a.stvsc)?google.kEI=_g.kEI:window.google=_g;}).call(this);})();(function(){google.sn='newssearch';google.kHL='en';})();(function(){\nvar g=this||self;function k(){return window.google&&window.google.kOPI||null};var l,m=[];function n(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute(\"eid\")));)a=a.parentNode;return b||l}function p(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute(\"leid\")));)a=a.parentNode;return b}function q(a){/^http:/i.test(a)&&window.location.protocol===\"https:\"&&(google.ml&&google.ml(Error(\"a\"),!1,{src:a,glmm:1}),a=\"\");return a}\nfunction r(a,b,d,c,h){var e=\"\";b.search(\"&ei=\")===-1&&(e=\"&ei=\"+n(c),b.search(\"&lei=\")===-1&&(c=p(c))&&(e+=\"&lei=\"+c));var f=b.search(\"&cshid=\")===-1&&a!==\"slh\";c=\"&zx=\"+Date.now().toString();g._cshid&&f&&(c+=\"&cshid=\"+g._cshid);(d=d())&&(c+=\"&opi=\"+d);return\"/\"+(h||\"gen_204\")+\"?atyp=i&ct=\"+String(a)+\"&cad=\"+(b+e+c)};l=google.kEI;google.getEI=n;google.getLEI=p;google.ml=function(){return null};google.log=function(a,b,d,c,h,e){e=e===void 0?k:e;d||(d=r(a,b,e,c,h));if(d=q(d)){a=new Image;var f=m.length;m[f]=a;a.onerror=a.onload=a.onabort=function(){delete m[f]};a.src=d}};google.logUrl=function(a,b){b=b===void 0?k:b;return r(\"\",a,b)};}).call(this);(function(){google.y={};google.sy=[];var d;(d=google).x||(d.x=function(a,b){if(a)var c=a.id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1});var e;(e=google).sx||(e.sx=function(a){google.sy.push(a)});google.lm=[];var f;(f=google).plm||(f.plm=function(a){google.lm.push.apply(google.lm,a)});google.lq=[];var g;(g=google).load||(g.load=function(a,b,c){google.lq.push([[a],b,c])});var h;(h=google).loadAll||(h.loadAll=function(a,b){google.lq.push([a,b])});google.bx=!1;var k;(k=google).lx||(k.lx=function(){});var l=[],m;(m=google).fce||(m.fce=function(a,b,c,n){l.push([a,b,c,n])});google.qce=l;}).call(this);google.f={};(function(){\ndocument.documentElement.addEventListener(\"submit\",function(b){var a;if(a=b.target){var c=a.getAttribute(\"data-submitfalse\");a=c===\"1\"||c===\"q\"&&!a.elements.q.value?!0:!1}else a=!1;a&&(b.preventDefault(),b.stopPropagation())},!0);document.documentElement.addEventListener(\"click\",function(b){var a;a:{for(a=b.target;a&&a!==document.do
Request
Path Params
id
string
required
Responses
Modified at 2025-05-30 07:59:01