DataForSEO — Serp / Google / News / Live / Advanced
Retrieve serp Google News Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility.
- Selected price
- $0.002 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Google / News / Live / Advanced · POST | $0.002 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringcalculate_rectanglesbooleandevicestringfunctionstringkeywordstringlanguage_namestringlocation_namestringosstringsestringse_typestring
idstringpathstring[]resultobject[]check_urlstringdatetimestringincludes_non_news_search_resultsbooleanitem_typesstring[]itemsobject[]domainstringimage_urlstringrank_absoluteintegerrank_groupintegerrectangleobjectheightintegerwidthintegerxintegeryinteger
snippetstringtime_publishednulltimestampstringtitlestringtypestringurlstringxpathstringitemsobject[]amp_versionbooleandatestringdomainstringimage_urlnullsourcestringtimestampstringtitlestringtypestringurlstring
positionstring
items_countintegerkeywordstringlanguage_codestringlocation_codeintegerrefinement_chipsnullse_domainstringse_results_countintegerspellnulltypestring
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cost?: number;
status_code?: number;
status_message?: string;
tasks?: Array<{
cost?: number;
data?: {
api?: string;
calculate_rectangles?: boolean;
device?: string;
function?: string;
keyword?: string;
language_name?: string;
location_name?: string;
os?: string;
se?: string;
se_type?: string;
};
id?: string;
path?: Array<string>;
result?: Array<{
check_url?: string;
datetime?: string;
includes_non_news_search_results?: boolean;
item_types?: Array<string>;
items?: Array<{
domain?: string;
image_url?: string;
rank_absolute?: number;
rank_group?: number;
rectangle?: {
height?: number;
width?: number;
x?: number;
y?: number;
};
snippet?: string;
time_published?: null;
timestamp?: string;
title?: string;
type?: string;
url?: string;
xpath?: string;
items?: Array<{
amp_version?: boolean;
date?: string;
domain?: string;
image_url?: null;
source?: string;
timestamp?: string;
title?: string;
type?: string;
url?: string;
}>;
position?: string;
}>;
items_count?: number;
keyword?: string;
language_code?: string;
location_code?: number;
refinement_chips?: null;
se_domain?: string;
se_results_count?: number;
spell?: null;
type?: string;
}>;
result_count?: number;
status_code?: number;
status_message?: string;
time?: string;
}>;
tasks_count?: number;
tasks_error?: number;
time?: string;
version?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keyword": "android",
"language_code": "en",
"location_code": 2840
}
]'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | Live Google News SERP provides real-time data on top search engine results for the specified keyword, search engine, and location. minItems: 1 · maxItems: 1 Nested fields and variants
Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"cost": 0.006,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.006,
"data": {
"api": "serp",
"calculate_rectangles": true,
"device": "desktop",
"function": "live",
"keyword": "android",
"language_name": "English",
"location_name": "United States",
"os": "windows",
"se": "google",
"se_type": "news"
},
"id": "01132007-1535-0139-0000-7b275022ce6d",
"path": [
"v3",
"serp",
"google",
"news",
"live",
"advanced"
],
"result": [
{
"check_url": "https://www.google.com/search?q=android&num=100&hl=en&gl=US&gws_rd=cr&tbm=nws&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ie=UTF-8&oe=UTF-8",
"datetime": "2022-01-13 18:07:52 +00:00",
"includes_non_news_search_results": false,
"item_types": [
"news_search",
"top_stories"
],
"items": [
{
"domain": "www.eff.org",
"image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:0",
"rank_absolute": 1,
"rank_group": 1,
"rectangle": {
"height": 178,
"width": 652,
"x": 180,
"y": 182
},
"snippet": "Last year Google quietly pushed a new feature to its Android operating nsystem allowing users to optionally disable 2G at the modem level in...",
"time_published": null,
"timestamp": "2022-01-12 22:07:51 +00:00",
"title": "VICTORY: Google Releases “disable 2g” Feature for New Android Smartphones",
"type": "news_search",
"url": "https://www.eff.org/deeplinks/2022/01/victory-google-releases-disable-2g-feature-new-android-smartphones",
"xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]"
},
{
"items": [
{
"amp_version": false,
"date": "1 day ago",
"domain": "www.theverge.com",
"image_url": null,
"source": "The Verge",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "The Nvidia Shield is getting Android 11 and other upgrades",
"type": "top_stories_element",
"url": "https://www.theverge.com/2022/1/12/22880057/nvidia-shield-android-11-update-set-top-box-streaming"
},
{
"amp_version": false,
"date": "10 hours ago",
"domain": "www.pcgamer.com",
"image_url": null,
"source": "PC Gamer",
"timestamp": "2022-01-13 08:07:51 +00:00",
"title": "Nvidia Shield Android 11 update brings improved 4k streaming and gaming",
"type": "top_stories_element",
"url": "https://www.pcgamer.com/nvidia-shield-android-11-update-brings-improved-4k-streaming-and-gaming/"
},
{
"amp_version": false,
"date": "1 day ago",
"domain": "gizmodo.com",
"image_url": null,
"source": "Gizmodo",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "Nvidia Shield TVs Are Getting a Long-Awaited Update, but Not Android 12",
"type": "top_stories_element",
"url": "https://gizmodo.com/nvidia-shield-tvs-are-getting-a-long-awaited-update-bu-1848342653"
}
],
"position": "left",
"rank_absolute": 2,
"rank_group": 1,
"rectangle": {
"height": 325,
"width": 652,
"x": 180,
"y": 376
},
"title": "Nvidia's Shield TVs get Android 11 upgrade",
"type": "top_stories",
"xpath": "/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]"
},
{
"domain": "www.cnet.com",
"image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:1",
"rank_absolute": 3,
"rank_group": 2,
"rectangle": {
"height": 178,
"width": 652,
"x": 180,
"y": 729
},
"snippet": "The game streaming service, offered by chipmaker Nvidia, has new touch ncontrols to make it easier to play the game too.",
"time_published": null,
"timestamp": "2022-01-13 17:07:51 +00:00",
"title": "Nvidia's GeForce Now service can stream Fortnite on iPhone and Android",
"type": "news_search",
"url": "https://www.cnet.com/tech/gaming/nvidias-geforce-now-service-can-stream-fortnite-on-iphone-and-android/",
"xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]"
},
{
"items": [
{
"amp_version": false,
"date": "2 days ago",
"domain": "arstechnica.com",
"source": "Ars Technica",
"timestamp": "2022-01-11 18:07:51 +00:00",
"title": "After ruining Android messaging, Google says iMessage is too powerful",
"type": "top_stories_element",
"url": "https://arstechnica.com/gadgets/2022/01/after-ruining-android-messaging-google-says-imessage-is-too-powerful/"
},
{
"amp_version": false,
"date": "1 day ago",
"domain": "www.howtogeek.com",
"source": "How-To Geek",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "Watch Out for Wordle Scams on iPhone and Android",
"type": "top_stories_element",
"url": "https://www.howtogeek.com/779288/watch-out-for-wordle-scams-on-iphone-and-android/"
},
{
"amp_version": false,
"date": "4 hours ago",
"domain": "www.androidpolice.com",
"source": "Android Police",
"timestamp": "2022-01-13 14:07:51 +00:00",
"title": "Apple’s leaked take on the punch-hole camera would make it stand out from nthe Android crowd once again",
"type": "top_stories_element",
"url": "https://www.androidpolice.com/apples-leaked-take-on-the-punch-hole-camera-would-make-it-stand-out-from-the-android-crowd-once-again/"
}
],
"position": "left",
"rank_absolute": 4,
"rank_group": 2,
"rectangle": {
"height": 325,
"width": 652,
"x": 180,
"y": 923
},
"title": "News about Android",
"type": "top_stories",
"xpath": "/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]"
}
],
"items_count": 100,
"keyword": "android",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 771000000,
"spell": null,
"type": "news"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "14.1495 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "14.2469 sec.",
"version": "0.1.20220104"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.002000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| 任务错误数必须为零 | $0.000000 / billing unit | Response · /tasks_error · Numeric value | Always | 0 billing unit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# DataForSEO — Serp / Google / News / Live / Advanced
Retrieve serp Google News Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility.
## Available implementations
DataForSEO · DataForSEO — Serp / Google / News / Live / Advanced: https://openany.si/markets/apis/capabilities/dataforseo-serp-google-news-live-advanced?offering=1c7f09f7-5e32-443a-8609-409ad80b972b · $0.002 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-serp-google-news-live-advanced
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced
Price: $0.002 / call
Provider: DataForSEO
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keyword": "android",
"language_code": "en",
"location_code": 2840
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Serp / Google / News / Live / Advanced",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": " Live Google News SERP provides real-time data on top search engine results for the specified keyword, search engine, and location.",
"json_schema": {
"example": [
{
"keyword": "android",
"language_code": "en",
"location_code": 2840
}
],
"items": {
"example": [
{
"keyword": "android",
"language_code": "en",
"location_code": 2840
}
],
"nullable": true,
"properties": {
"browser_screen_height": {
"description": "browser screen height optional field you can set a custom browser screen height to calculate pixel rankings for a particular device; by default, the parameter is set to 1080; Note: to use this parameter, set calculate_rectangles to true",
"nullable": true,
"type": "integer",
"x-original-openapi-description": "browser screen height optional field you can set a custom browser screen height to calculate pixel rankings for a particular device; by default, the parameter is set to 1080 ; Note: to use this parameter, set calculate_rectangles to true",
"x-required-status": "optional"
},
"browser_screen_resolution_ratio": {
"description": "browser screen resolution ratio optional field you can set a custom browser screen resolution ratio to calculate pixel rankings for a particular device; by default, the parameter is set to 1; Note: to use this parameter, set calculate_rectangles to true",
"nullable": true,
"type": "integer",
"x-original-openapi-description": "browser screen resolution ratio optional field you can set a custom browser screen resolution ratio to calculate pixel rankings for a particular device; by default, the parameter is set to 1 ; Note: to use this parameter, set calculate_rectangles to true",
"x-required-status": "optional"
},
"browser_screen_width": {
"description": "browser screen width optional field you can set a custom browser screen width to calculate pixel rankings for a particular device; by default, the parameter is set to 1920; Note: to use this parameter, set calculate_rectangles to true",
"format": "int64",
"nullable": true,
"type": "integer",
"x-original-openapi-description": "browser screen width optional field you can set a custom browser screen width to calculate pixel rankings for a particular device; by default, the parameter is set to 1920 ; Note: to use this parameter, set calculate_rectangles to true",
"x-required-status": "optional"
},
"calculate_rectangles": {
"description": "calculate pixel rankings for SERP elements in advanced results optional field pixel ranking refers to the distance between the result snippet and top left corner of the screen; Visit Help Center to learn more>> by default, the parameter is set to false Note: if set to true, the charge per task will be multiplied by 2",
"nullable": true,
"type": "boolean",
"x-original-openapi-description": "calculate pixel rankings for SERP elements in advanced results optional field pixel ranking refers to the distance between the result snippet and top left corner of the screen; Visit Help Center to learn more>> by default, the parameter is set to false Note: if set to true , the charge per task will be multiplied by 2",
"x-required-status": "optional"
},
"depth": {
"default": 10,
"description": "parsing depth optional field number of results in SERP default value: 10 max value: 200 Your account will be billed per each SERP containing up to 10 results; Setting depth above 10 may result in additional charges if the search engine returns more than 10 results; If the specified depth is higher than the number of results in the response, the difference will be refunded to your account balance automatically The cost can be calculated on the Pricing page.",
"maximum": 200,
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"default",
"maximum"
],
"x-required-status": "optional"
},
"keyword": {
"description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the \"%\" character for your keyword, please specify it as \"%25\"; if you need to use the “+” character for your keyword, please specify it as “%2B”; if this field contains such parameters as 'allinanchor:', 'allintext:', 'allintitle:', 'allinurl:', 'define:', 'filetype:', 'id:', 'inanchor:', 'info:', 'intext:', 'intitle:', 'inurl:', 'link:', 'related:', 'site:', the charge per task will be multiplied by 5 Note: queries containing the ‘cache:’ parameter are not supported and will return a validation error learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"type": "string",
"x-original-openapi-description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the \"%\" character for your keyword , please specify it as \"%25\"; if you need to use the “+” character for your keyword , please specify it as “%2B”; if this field contains such parameters as 'allinanchor:', 'allintext:', 'allintitle:', 'allinurl:', 'define:', 'filetype:', 'id:', 'inanchor:', 'info:', 'intext:', 'intitle:', 'inurl:', 'link:', 'related:', 'site:' , the charge per task will be multiplied by 5 Note: queries containing the ‘cache:’ parameter are not supported and will return a validation error learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"x-required-status": "required"
},
"language_code": {
"description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/serp/google/languages example: en",
"type": "string",
"x-original-openapi-description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages example: en",
"x-required-status": "conditional"
},
"language_name": {
"description": "full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/serp/google/languages example: English",
"type": "string",
"x-original-openapi-description": "full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages example: English",
"x-required-status": "conditional"
},
"location_code": {
"description": "search engine location code required field if you don't specify location_name or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations of the search engines with their location_code by making a separate request to the https://api.dataforseo.com/v3/serp/google/locations example: 2840",
"type": "integer",
"x-original-openapi-description": "search engine location code required field if you don't specify location_name or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations of the search engines with their location_code by making a separate request to the https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations example: 2840",
"x-required-status": "conditional"
},
"location_coordinate": {
"description": "GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\": 7 the minimum value for \"radius\": 199.9 (mm) the maximum value for \"radius\": 199999 (mm) example: 53.476225,-2.243572,200",
"type": "string",
"x-original-openapi-description": "GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\" : 7 the minimum value for \"radius\" : 199.9 (mm) the maximum value for \"radius\" : 199999 (mm) example: 53.476225,-2.243572,200",
"x-required-status": "conditional"
},
"location_name": {
"description": "full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/serp/google/locations example: London,England,United Kingdom",
"type": "string",
"x-original-openapi-description": "full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations example: London,England,United Kingdom",
"x-required-status": "conditional"
},
"max_crawl_pages": {
"description": "page crawl limit optional field number of search results pages to crawl max value: 100 Note: the max_crawl_pages and depth parameters complement each other; learn more at our help center",
"maximum": 100,
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"maximum"
],
"x-required-status": "optional"
},
"os": {
"description": "device operating system optional field note that this API provides results for desktop only choose from the following values: windows, macos default value: windows",
"nullable": true,
"type": "string",
"x-original-openapi-description": "device operating system optional field note that this API provides results for desktop only choose from the following values: windows , macos default value: windows",
"x-required-status": "optional"
},
"se_domain": {
"description": "search engine domain optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: google.co.uk, google.com.au, google.de, etc.",
"nullable": true,
"type": "string",
"x-original-openapi-description": "search engine domain optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: google.co.uk , google.com.au , google.de , etc.",
"x-required-status": "optional"
},
"search_param": {
"description": "additional parameters of the search query optional field Get the list of available parameters and additional details here.",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"url": {
"description": "direct URL of the search query optional field you can specify a direct URL and we will sort it out to the necessary fields. Note that this method is the most difficult for our API to process and also requires you to specify the exact language and location in the URL. In most cases, we wouldn’t recommend using this method. example: https://www.google.co.uk/search?q=%20rank%20tracker%20api&hl=en&gl=GB&uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS",
"nullable": true,
"type": "string",
"x-required-status": "optional"
}
},
"required": [
"keyword"
],
"type": "object",
"x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
},
"maxItems": 1,
"minItems": 1,
"type": "array",
"x-openany-retail-scope": "single_native_task_per_sale_execution",
"x-openapi-version": "3.0.1",
"x-schema-origin": "official_openapi_with_local_refs_rebased"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "2000",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "task_errors",
"label": "任务错误数必须为零",
"max_quantity": "0",
"measure": "value",
"pointer": "/tasks_error",
"price_micro_usd": "0",
"quantity_scale": 0,
"source": "response",
"unit": "task_error",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
"request": {
"body": [
{
"keyword": "android",
"language_code": "en",
"location_code": 2840
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cost": 0.006,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.006,
"data": {
"api": "serp",
"calculate_rectangles": true,
"device": "desktop",
"function": "live",
"keyword": "android",
"language_name": "English",
"location_name": "United States",
"os": "windows",
"se": "google",
"se_type": "news"
},
"id": "01132007-1535-0139-0000-7b275022ce6d",
"path": [
"v3",
"serp",
"google",
"news",
"live",
"advanced"
],
"result": [
{
"check_url": "https://www.google.com/search?q=android&num=100&hl=en&gl=US&gws_rd=cr&tbm=nws&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ie=UTF-8&oe=UTF-8",
"datetime": "2022-01-13 18:07:52 +00:00",
"includes_non_news_search_results": false,
"item_types": [
"news_search",
"top_stories"
],
"items": [
{
"domain": "www.eff.org",
"image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:0",
"rank_absolute": 1,
"rank_group": 1,
"rectangle": {
"height": 178,
"width": 652,
"x": 180,
"y": 182
},
"snippet": "Last year Google quietly pushed a new feature to its Android operating nsystem allowing users to optionally disable 2G at the modem level in...",
"time_published": null,
"timestamp": "2022-01-12 22:07:51 +00:00",
"title": "VICTORY: Google Releases “disable 2g” Feature for New Android Smartphones",
"type": "news_search",
"url": "https://www.eff.org/deeplinks/2022/01/victory-google-releases-disable-2g-feature-new-android-smartphones",
"xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]"
},
{
"items": [
{
"amp_version": false,
"date": "1 day ago",
"domain": "www.theverge.com",
"image_url": null,
"source": "The Verge",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "The Nvidia Shield is getting Android 11 and other upgrades",
"type": "top_stories_element",
"url": "https://www.theverge.com/2022/1/12/22880057/nvidia-shield-android-11-update-set-top-box-streaming"
},
{
"amp_version": false,
"date": "10 hours ago",
"domain": "www.pcgamer.com",
"image_url": null,
"source": "PC Gamer",
"timestamp": "2022-01-13 08:07:51 +00:00",
"title": "Nvidia Shield Android 11 update brings improved 4k streaming and gaming",
"type": "top_stories_element",
"url": "https://www.pcgamer.com/nvidia-shield-android-11-update-brings-improved-4k-streaming-and-gaming/"
},
{
"amp_version": false,
"date": "1 day ago",
"domain": "gizmodo.com",
"image_url": null,
"source": "Gizmodo",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "Nvidia Shield TVs Are Getting a Long-Awaited Update, but Not Android 12",
"type": "top_stories_element",
"url": "https://gizmodo.com/nvidia-shield-tvs-are-getting-a-long-awaited-update-bu-1848342653"
}
],
"position": "left",
"rank_absolute": 2,
"rank_group": 1,
"rectangle": {
"height": 325,
"width": 652,
"x": 180,
"y": 376
},
"title": "Nvidia's Shield TVs get Android 11 upgrade",
"type": "top_stories",
"xpath": "/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]"
},
{
"domain": "www.cnet.com",
"image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:1",
"rank_absolute": 3,
"rank_group": 2,
"rectangle": {
"height": 178,
"width": 652,
"x": 180,
"y": 729
},
"snippet": "The game streaming service, offered by chipmaker Nvidia, has new touch ncontrols to make it easier to play the game too.",
"time_published": null,
"timestamp": "2022-01-13 17:07:51 +00:00",
"title": "Nvidia's GeForce Now service can stream Fortnite on iPhone and Android",
"type": "news_search",
"url": "https://www.cnet.com/tech/gaming/nvidias-geforce-now-service-can-stream-fortnite-on-iphone-and-android/",
"xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]"
},
{
"items": [
{
"amp_version": false,
"date": "2 days ago",
"domain": "arstechnica.com",
"source": "Ars Technica",
"timestamp": "2022-01-11 18:07:51 +00:00",
"title": "After ruining Android messaging, Google says iMessage is too powerful",
"type": "top_stories_element",
"url": "https://arstechnica.com/gadgets/2022/01/after-ruining-android-messaging-google-says-imessage-is-too-powerful/"
},
{
"amp_version": false,
"date": "1 day ago",
"domain": "www.howtogeek.com",
"source": "How-To Geek",
"timestamp": "2022-01-12 18:07:51 +00:00",
"title": "Watch Out for Wordle Scams on iPhone and Android",
"type": "top_stories_element",
"url": "https://www.howtogeek.com/779288/watch-out-for-wordle-scams-on-iphone-and-android/"
},
{
"amp_version": false,
"date": "4 hours ago",
"domain": "www.androidpolice.com",
"source": "Android Police",
"timestamp": "2022-01-13 14:07:51 +00:00",
"title": "Apple’s leaked take on the punch-hole camera would make it stand out from nthe Android crowd once again",
"type": "top_stories_element",
"url": "https://www.androidpolice.com/apples-leaked-take-on-the-punch-hole-camera-would-make-it-stand-out-from-the-android-crowd-once-again/"
}
],
"position": "left",
"rank_absolute": 4,
"rank_group": 2,
"rectangle": {
"height": 325,
"width": 652,
"x": 180,
"y": 923
},
"title": "News about Android",
"type": "top_stories",
"xpath": "/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]"
}
],
"items_count": 100,
"keyword": "android",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 771000000,
"spell": null,
"type": "news"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "14.1495 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "14.2469 sec.",
"version": "0.1.20220104"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · 官方历史成对样例(未运行) (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Live Google News SERP provides real-time data on top search engine results for the specified keyword, search engine, and location.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/news/live/advanced' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "keyword": "android", "language_code": "en", "location_code": 2840 } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.006, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.006, "data": { "api": "serp", "calculate_rectangles": true, "device": "desktop", "function": "live", "keyword": "android", "language_name": "English", "location_name": "United States", "os": "windows", "se": "google", "se_type": "news" }, "id": "01132007-1535-0139-0000-7b275022ce6d", "path": [ "v3", "serp", "google", "news", "live", "advanced" ], "result": [ { "check_url": "https://www.google.com/search?q=android&num=100&hl=en&gl=US&gws_rd=cr&tbm=nws&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc&ie=UTF-8&oe=UTF-8", "datetime": "2022-01-13 18:07:52 +00:00", "includes_non_news_search_results": false, "item_types": [ "news_search", "top_stories" ], "items": [ { "domain": "www.eff.org", "image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:0", "rank_absolute": 1, "rank_group": 1, "rectangle": { "height": 178, "width": 652, "x": 180, "y": 182 }, "snippet": "Last year Google quietly pushed a new feature to its Android operating nsystem allowing users to optionally disable 2G at the modem level in...", "time_published": null, "timestamp": "2022-01-12 22:07:51 +00:00", "title": "VICTORY: Google Releases “disable 2g” Feature for New Android Smartphones", "type": "news_search", "url": "https://www.eff.org/deeplinks/2022/01/victory-google-releases-disable-2g-feature-new-android-smartphones", "xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]" }, { "items": [ { "amp_version": false, "date": "1 day ago", "domain": "www.theverge.com", "image_url": null, "source": "The Verge", "timestamp": "2022-01-12 18:07:51 +00:00", "title": "The Nvidia Shield is getting Android 11 and other upgrades", "type": "top_stories_element", "url": "https://www.theverge.com/2022/1/12/22880057/nvidia-shield-android-11-update-set-top-box-streaming" }, { "amp_version": false, "date": "10 hours ago", "domain": "www.pcgamer.com", "image_url": null, "source": "PC Gamer", "timestamp": "2022-01-13 08:07:51 +00:00", "title": "Nvidia Shield Android 11 update brings improved 4k streaming and gaming", "type": "top_stories_element", "url": "https://www.pcgamer.com/nvidia-shield-android-11-update-brings-improved-4k-streaming-and-gaming/" }, { "amp_version": false, "date": "1 day ago", "domain": "gizmodo.com", "image_url": null, "source": "Gizmodo", "timestamp": "2022-01-12 18:07:51 +00:00", "title": "Nvidia Shield TVs Are Getting a Long-Awaited Update, but Not Android 12", "type": "top_stories_element", "url": "https://gizmodo.com/nvidia-shield-tvs-are-getting-a-long-awaited-update-bu-1848342653" } ], "position": "left", "rank_absolute": 2, "rank_group": 1, "rectangle": { "height": 325, "width": 652, "x": 180, "y": 376 }, "title": "Nvidia's Shield TVs get Android 11 upgrade", "type": "top_stories", "xpath": "/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]" }, { "domain": "www.cnet.com", "image_url": "https://api.dataforseo.com/cdn/i/01132007-1535-0139-0000-7b275022ce6d:1", "rank_absolute": 3, "rank_group": 2, "rectangle": { "height": 178, "width": 652, "x": 180, "y": 729 }, "snippet": "The game streaming service, offered by chipmaker Nvidia, has new touch ncontrols to make it easier to play the game too.", "time_published": null, "timestamp": "2022-01-13 17:07:51 +00:00", "title": "Nvidia's GeForce Now service can stream Fortnite on iPhone and Android", "type": "news_search", "url": "https://www.cnet.com/tech/gaming/nvidias-geforce-now-service-can-stream-fortnite-on-iphone-and-android/", "xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]" }, { "items": [ { "amp_version": false, "date": "2 days ago", "domain": "arstechnica.com", "source": "Ars Technica", "timestamp": "2022-01-11 18:07:51 +00:00", "title": "After ruining Android messaging, Google says iMessage is too powerful", "type": "top_stories_element", "url": "https://arstechnica.com/gadgets/2022/01/after-ruining-android-messaging-google-says-imessage-is-too-powerful/" }, { "amp_version": false, "date": "1 day ago", "domain": "www.howtogeek.com", "source": "How-To Geek", "timestamp": "2022-01-12 18:07:51 +00:00", "title": "Watch Out for Wordle Scams on iPhone and Android", "type": "top_stories_element", "url": "https://www.howtogeek.com/779288/watch-out-for-wordle-scams-on-iphone-and-android/" }, { "amp_version": false, "date": "4 hours ago", "domain": "www.androidpolice.com", "source": "Android Police", "timestamp": "2022-01-13 14:07:51 +00:00", "title": "Apple’s leaked take on the punch-hole camera would make it stand out from nthe Android crowd once again", "type": "top_stories_element", "url": "https://www.androidpolice.com/apples-leaked-take-on-the-punch-hole-camera-would-make-it-stand-out-from-the-android-crowd-once-again/" } ], "position": "left", "rank_absolute": 4, "rank_group": 2, "rectangle": { "height": 325, "width": 652, "x": 180, "y": 923 }, "title": "News about Android", "type": "top_stories", "xpath": "/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]" } ], "items_count": 100, "keyword": "android", "language_code": "en", "location_code": 2840, "refinement_chips": null, "se_domain": "google.com", "se_results_count": 771000000, "spell": null, "type": "news" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "14.1495 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "14.2469 sec.", "version": "0.1.20220104" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use DataForSEO — Serp / Google / News / Live / Advanced with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.