Docs / API reference

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.

Execution model

Live request

Runtime depends on endpoint, target, pagination, rendering mode, and active plan limits.

Credit weight

Live catalog

Current weights are managed from the Data API Weights admin table and shown on pricing before use.

Parameters

NameTypeRequirementDescription
querystringRequiredNews search query (1-2048 characters).
num_resultsnumberOptionalNumber of articles to return (1-500).
languagestringOptionalLanguage code (hl parameter).
countrystringOptionalCountry code for geo-targeting (gl parameter, e.g. us, uk, in).
time_rangestringOptionalTime filter: "hour", "day", "week", "month", "year".
sort_bystringOptionalSort order: "relevance", "date".

Request and response

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"
}'
Example response
{
  "success": true,
  "query": "artificial intelligence regulation",
  "total_results": "10",
  "time_taken": 2.14,
  "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"
    }
  ]
}