Google News
POST /api/v1/google/news
Search Google News articles with headlines, publishers, links, timestamps, and images.
Overview
Search Google News articles with headlines, publishers, links, timestamps, and images.
POST /api/v1/google/news
Method: POST Path: /api/v1/google/news Category: Search Engine
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| ceid | string | Optional | Google News edition identifier (e.g. US:en, GB:en). |
| country | string | Optional | Country code to localise results, e.g. US, GB, DE. |
| language | string | Optional | Interface language code, e.g. en-US, en, fr. |
| num_results | integer | Optional | Number of news results to return (1-100). |
| query | string | Required | Search query for news articles, e.g. "artificial intelligence". |
| topic | string | Optional | Google News topic ID (e.g. "TECHNOLOGY", "BUSINESS"). |
| url | string | Optional | Full Google News URL to scrape directly. |
Request Example
Google News Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/google/news" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"ceid": "US:en", "country": "US", "language": "en-US", "num_results": "10", "query": "example", "topic": "example", "url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "search_information": { "query_displayed": "string", "url": "https://example.com/..." }, "menu_links": [ { "title": "string", "topic_token": "string", "link": "https://example.com/..." } ], "news_results": [ { "title": "string", "snippet": "string", "author": "string", "source": "string", "lastUpdated": "string", "url": "https://example.com/...", "link": "https://example.com/...", "redirect_link": "https://example.com/...", "imgSrc": "string", "thumbnail": "string", "favicon": "string", "icon": "string", "authors": [ "string" ], "date": "2026-01-01T12:00:00Z", "rank": 0 } ], "articles": [ { "article_data": { "headline": "string", "publisher_name": "string", "publisher_favicon_logo": "string", "publication_datetime": "string", "original_story_url": "https://example.com/...", "thumbnail_image": "string", "author": "string", "topic_tags": [ "string" ], "related_coverage_clusters": [ "string" ], "title": "string", "snippet": "string", "source": "string", "lastUpdated": "string", "url": "https://example.com/...", "link": "https://example.com/...", "redirect_link": "https://example.com/...", "imgSrc": "string", "thumbnail": "string", "favicon": "string", "icon": "string", "authors": [ "string" ], "date": "2026-01-01T12:00:00Z", "rank": 0 } } ], "pagination": { "current": "string", "next": "string" }, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Google News", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| search_information | object | Yes | Search metadata. |
| search_information.query_displayed | string | Yes | Query or topic that was searched. |
| search_information.url | string | Yes | Google News URL that was requested. |
| menu_links | array<object> | Yes | Google News topic sections. |
| menu_links[].title | string | Yes | Section name (e.g. 'Technology'). |
| menu_links[].topic_token | string | Yes | Google News topic token. |
| menu_links[].link | string | Yes | Google News URL for the section. |
| news_results | array<object> | Yes | News articles in a flat format, up to num_results. |
| news_results[].title | string | Yes | Article headline. |
| news_results[].snippet | string | Yes | Article description. |
| news_results[].author | string | Yes | First author. Empty string when unknown. |
| news_results[].source | string | Yes | Publisher name. |
| news_results[].lastUpdated | string | Yes | Publication time for display (e.g. '2 hours ago' or 'Jul 8, 2026'). |
| news_results[].url | string | Yes | Article URL on the publisher's site (resolved from the Google News link when possible). |
| news_results[].link | string | Yes | Article URL (same as url). |
| news_results[].redirect_link | string | Yes | Original Google News link. |
| news_results[].imgSrc | string | Yes | Thumbnail URL. Empty string when none. |
| news_results[].thumbnail | string | Yes | Thumbnail URL (same as imgSrc). |
| news_results[].favicon | string | Yes | Publisher favicon URL. |
| news_results[].icon | string | Yes | Publisher icon URL. |
| news_results[].authors | array<string> | Yes | Article authors. |
| news_results[].date | string | null | Yes | Publication time in ISO-8601 (e.g. '2026-10-20T10:00:00.000Z'). |
| news_results[].rank | integer | Yes | Position in the results (1 = first). |
| articles | array<object> | Yes | The same articles with extra detail. |
| articles[].article_data | object | Yes | Detailed article data. |
| articles[].article_data.headline | string | Yes | Article headline. |
| articles[].article_data.publisher_name | string | null | Yes | Publisher name. |
| articles[].article_data.publisher_favicon_logo | string | null | Yes | Publisher logo URL. |
| articles[].article_data.publication_datetime | string | null | Yes | Publication time as provided by Google. |
| articles[].article_data.original_story_url | string | null | Yes | Article URL on the publisher's site (resolved when possible). |
| articles[].article_data.thumbnail_image | string | null | Yes | Thumbnail URL. |
| articles[].article_data.author | string | Yes | First author. Empty string when unknown. |
| articles[].article_data.topic_tags | array<string> | Yes | Tags for the article (the query or topic searched). |
| articles[].article_data.related_coverage_clusters | array<string> | Yes | Related 'Full coverage' story names. |
| articles[].article_data.title | string | Yes | Article headline. |
| articles[].article_data.snippet | string | Yes | Article description. |
| articles[].article_data.source | string | Yes | Publisher name. |
| articles[].article_data.lastUpdated | string | Yes | Publication time for display (e.g. '2 hours ago' or 'Jul 8, 2026'). |
| articles[].article_data.url | string | Yes | Article URL on the publisher's site (resolved from the Google News link when possible). |
| articles[].article_data.link | string | Yes | Article URL (same as url). |
| articles[].article_data.redirect_link | string | Yes | Original Google News link. |
| articles[].article_data.imgSrc | string | Yes | Thumbnail URL. Empty string when none. |
| articles[].article_data.thumbnail | string | Yes | Thumbnail URL (same as imgSrc). |
| articles[].article_data.favicon | string | Yes | Publisher favicon URL. |
| articles[].article_data.icon | string | Yes | Publisher icon URL. |
| articles[].article_data.authors | array<string> | Yes | Article authors. |
| articles[].article_data.date | string | null | Yes | Publication time in ISO-8601 (e.g. '2026-10-20T10:00:00.000Z'). |
| articles[].article_data.rank | integer | Yes | Position in the results (1 = first). |
| pagination | object | No | Present only when Google returns a next page. |
| pagination.current | string | Yes | Current page number. |
| pagination.next | string | Yes | URL of the next page. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/google/news?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
query,ceid,country,language,num_results,topic,url example,US:en,US,en-US,10,example,example
Pricing & Rate Limits
Endpoint Pricing
$0.005 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |