keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advancedGet live Google News results for any keyword, location and language: headlines, sources, URLs, dates and rank.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "serp",
"function": "live",
"se": "google",
"se_type": "news"
},
"id": "08200931-2190-0139-0000-86da6c337640",
"path": [
"v3",
"serp",
"google",
"… 3 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40501,
"status_message": "Invalid Field: 'keyword'.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0078 sec.",
"version": "0.1.20260806"
}
]Select an example to load its inputs and result into the playground.
Returns live Google News results for a keyword, location and language. Each result has its source domain, a text snippet, a publish time, an image URL and its rank. Send keyword, location_code and language_code.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "running shoes", "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
depth | string | No | Number of results to return. |
keyword | string | No | Search query. |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | DataForSEO location code, e.g. 2840 for the United States. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "serp",
"device": "desktop",
"function": "live",
"keyword": "running shoes",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google"
},
"id": "11030829-1614-0139-0000-75eda89264ed",
"path": [
"v3"
],
"result": [
{
"check_url": "https://www.google.com/search?q=running%20shoes&num=10&hl=en&gl=US&gws_rd=cr&tbm…",
"datetime": "2026-11-03 08:29:31 +00:00",
"includes_non_news_search_results": false,
"item_types": [
"news_search"
],
"items": [
{
"domain": "google.com",
"image_url": "https://api.dataforseo.com/cdn/i/11030829-1614-0139-0000-75eda89264ed:0",
"rank_absolute": 1,
"rank_group": 1,
"rectangle": null,
"snippet": "New Balance FuelCell Rebel Trail review: We think New Balance made a questionabl…",
"time_published": "17 hours ago",
"timestamp": "2026-11-02 15:29:29 +00:00"
}
],
"items_count": 10,
"keyword": "running shoes",
"language_code": "en"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "3.8170 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "4.0184 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].items[].domain | Domain of the site that published the news result. |
tasks[].result[].items[].snippet | Short text excerpt shown for the news result. |
tasks[].result[].items[].rank_group / rank_absolute | Position of the result in the news list, starting at 1. |
tasks[].result[].items[].time_published | Publish time as relative text, such as 17 hours ago. |
tasks[].result[].items[].timestamp | Publish time as a date and time with a UTC offset, such as 2026-11-02 15:29:29 +00:00. |
tasks[].result[].items[].image_url | URL of the thumbnail image for the result. |
tasks[].result[].items_count | Number of news items in the result. |
tasks[].result[].check_url | The Google News search URL for this query, location and language. |
tasks[].result[].datetime | Date and time of the result set, in UTC. |
tasks[].data.keyword / location_code / language_code | The query settings that were used for the search. |
tasks[].result[].items[]. Check status_code (20000 means Ok.) at the top level and inside each task.location_code for the country or area, for example 2840 for the United States. Use language_code for the language, for example en.depth to ask for more results. It is a string in the request schema.timestamp uses the format YYYY-MM-DD HH:MM:SS +00:00, so you can sort results by date.Billed at the actual cost of each call, about $0.002 for the request above. Failed calls are not charged.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"keyword": "running shoes",
"language_code": "en",
"location_code": 2840
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
keywordstringSearch query.
location_codeintegerDataForSEO location code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
depthstringNumber of results to return.
Saved example response for this API; no live request is made when viewing it.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "serp",
"function": "live",
"se": "google",
"se_type": "news"
},
"id": "08200931-2190-0139-0000-86da6c337640",
"path": [
"v3",
"serp",
"google",
"… 3 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40501,
"status_message": "Invalid Field: 'keyword'.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0078 sec.",
"version": "0.1.20260806"
}
]Explore more
| API | Price | Response |
|---|---|---|
DataForSEO Google News SERPThis API DataForSEO | From $0.002 per call | JSON |
DataForSEO | From $0.0102 per call | JSON |
DataForSEO | From $0.000724 per call | JSON |
DataForSEO | $0.004 per call | JSON |
DataForSEO | From $0.00162 per call | JSON |
DataForSEO | From $0.001105 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advanced with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
From $0.002 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
No parameters are required. Optional: keyword (string), location_code (integer), language_code (string) and depth (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. DataForSEO Google News SERP runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.