POST/v1/data/google/news
Google News
Search Google News for articles. Supports time range filtering, language/country targeting, and relevance/date sorting. Returns article metadata including source, date, and thumbnail.
Target Latency
1.2s - 4.5s
Credits
1 cr/req
Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| query | string | REQUIRED | News search query (1-2048 characters). |
| num_results | number | optional | Number of articles to return (1-500). |
| language | string | optional | Language code (hl parameter). |
| country | string | optional | Country code for geo-targeting (gl parameter, e.g. us, uk, in). |
| time_range | string | optional | Time filter: "hour", "day", "week", "month", "year". |
| sort_by | string | optional | Sort order: "relevance", "date". |
cURL Example
curl -X POST "https://api.datablue.dev/v1/data/google/news" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "artificial intelligence regulation",
"num_results": 10,
"time_range": "week",
"language": "en",
"country": "us"
}'System Responses
200 OK
Request processed successfully.
401 UNAUTHORIZED
Missing or invalid API key.
429 RATE LIMIT
System capacity exceeded.
500 SYSTEM FAILURE
Internal core exception.
EXAMPLE RESPONSE
{
"success": true,
"query": "artificial intelligence regulation",
"total_results": "10",
"time_taken": 2.14,
"source_strategy": "searxng_google_news",
"articles": [
{
"position": 1,
"title": "EU AI Act Enforcement Begins: What Companies Need to Know",
"url": "https://www.reuters.com/technology/eu-ai-act-enforcement-2026-04-01",
"source": "Reuters",
"source_url": "reuters.com",
"date": "3 hours ago",
"published_date": "2026-04-03T09:00:00Z",
"snippet": "The European Union's AI Act enters its enforcement phase today, requiring all AI systems classified as high-risk to undergo compliance assessments...",
"thumbnail": "https://static.reuters.com/image/ai-regulation.jpg"
},
{
"position": 2,
"title": "US Senate Proposes Comprehensive AI Safety Bill",
"url": "https://www.washingtonpost.com/technology/2026/04/02/ai-safety-bill",
"source": "The Washington Post",
"source_url": "washingtonpost.com",
"date": "1 day ago",
"snippet": "Bipartisan legislation would create a federal AI licensing framework for frontier models..."
}
],
"related_searches": [
{
"query": "AI regulation news today"
},
{
"query": "EU AI Act requirements"
}
]
}