Google News API
Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
Try it
Make your first request
{
"data": {
"items": [
{
"createdUtc": 12.5,
"snippet": "A short example description of this item.",
"source": "https://example.com/page",
"title": "Example title",
"url": "https://example.com/page"
}
]
},
"found": true
}interface GoogleNewsResponse {
data: {
items: {
createdUtc?: number;
snippet?: string;
source?: string;
title: string;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/google.news \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"gl":"us","hl":"en","query":"openai"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "openai"News search query; supports operators like '-', 'OR', and 'site:' (e.g. bitcoin site:cnn.com). |
| gl | string | "us"Two-letter country code for result localization (e.g. us, gb, de). |
| hl | string | "en"Two-letter interface and results language code (e.g. en, es, de). |
| limit | integer | Requested article count (1-20, default 20). Google News returns its latest matching articles and may return more or fewer than requested. Price is flat per request. |
| location | string | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
| timeframe | string | How far back to search, written as a count plus a unit: h hours, d days, w weeks, m months, y years. So 2h is the last two hours, 30d the last thirty days, 6m the last six months. Omit this field, or send 'all', to search without a time limit. |
| Response | ||
| data | object | Result payload, or null when nothing was found. |
| data.items | object[] | Article records: headline, source name, article link, and publish time. Populated whenever the provider has data for the entity. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].snippet | string | Article snippet when available. |
| data.items[].source | string | Publisher name. Populated whenever the provider has data for the entity. |
| data.items[].title | string | Article headline. Populated whenever the provider has data for the entity. |
| data.items[].url | string | Article link. Populated whenever the provider has data for the entity. |
| found | boolean | True when the search returned at least one article. |
| Price | ||
| Price per request | USD | $0.00099 |
| Price /1k req | USD | $0.99 |
FAQ
About the Google News API
The AnyAPI Google News API returns Google news data as normalized JSON from one POST call to /v1/run/google.news. Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $0.99 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Google news calls through AnyAPI succeeded, with a median response time of 0.9 seconds across 707 measured calls.