Serp / Google / News / Live / Advanced API
Get Serp / Google / News / Live / Advanced data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.
- Selected price
- $0.002 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Serp / Google / News / Live / Advanced API
Prepare your request, then continue with your agent.
Pricing
$0.002 / call
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
Serp / Google / News / Live / Advanced API
Retrieve serp Google News Live Advanced with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | dataforseo · DataForSEO — Serp / Google / News / Live / Advanced |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
cost |
Returned cost field |
status_code |
Returned status code field |
status_message |
Returned status message field |
tasks[].data |
Business payload |
tasks[].id |
Identifier |
tasks[].result |
Returned result |
tasks[].cost |
Returned cost field |
tasks[].path |
Returned path field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
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
}
]'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Serp / Google / News / Live / Advanced API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Google / News / Live / Advanced · POST · View API reference | $0.002 / call | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
API
- 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
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.
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
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.
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. |
Examples
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" }