Google News
Real-time Google News search with country, language, outlet, and exact date-window filters, unified into one canonical article schema
Real-time Google News results behind the unified SocialCrawl envelope. One GET call returns up to 100 ranked articles with the outlet name, real article URL, thumbnail, and a precise ISO-8601 publish timestamp.
Base URL: /v1/google_news/...
depth (default 10, max 100, multiples of 10) is the only size control, and
there is no pagination beyond it. To reach further back, narrow the window
with from/to rather than asking for a second page.
Quickstart
1. Search the headlines
curl "https://www.socialcrawl.dev/v1/google_news/search?keyword=openai" \
-H "x-api-key: YOUR_API_KEY"One successful call costs 1 credit. Cache hits (5-minute window) cost 0 credits, empty result sets cost 0 credits, and invalid parameters are rejected before billing.
2. Narrow to an outlet and a window
curl "https://www.socialcrawl.dev/v1/google_news/search?keyword=nvidia%20earnings&publisher=bbc.com&from=2026-07-01&to=2026-07-15&depth=50" \
-H "x-api-key: YOUR_API_KEY"Search the news
| Endpoint | Credits | What it returns | Key parameters |
|---|---|---|---|
GET /v1/google_news/search | 1 | Up to 100 ranked articles with outlet name, publisher URL, thumbnail, and a publish timestamp | keyword, depth, location_name, location_code, location_coordinate, language_code, time_range, publisher, from, to |
The search composes five filter families:
- Query.
keywordsupports any language, quoted phrases, and boolean operators (AND,OR,NOT):"Elon Musk" AND (Tesla OR SpaceX) NOT stock. Google advanced operators likesite:are rejected with a clear 400. Usepublisherinstead. - Market.
location_name(country name, for exampleSouth Korea),location_code(numeric), orlocation_coordinate(GPSlat,lng,radiusfor hyper-local news). Use one of the three. - Language.
language_code(en,ko,pt,ja, and so on), independent of the market. - Recency.
time_range(hour,day,week,month,year) for friendly windows, orfrom/to(YYYY-MM-DDor Unix timestamp) for an exact publish-date window. Explicitfrom/tooverridestime_range, andtodefaults to today when onlyfromis set.time_rangeresolves to whole calendar days, sodaymeans "since yesterday's date" rather than the last 24 hours.houris the only true rolling window. - Outlet.
publisherrestricts results to one domain (bbc.com). Bare domain only.
# Native-language local market
curl "https://www.socialcrawl.dev/v1/google_news/search?keyword=%EC%82%BC%EC%84%B1%EC%A0%84%EC%9E%90&location_name=South%20Korea&language_code=ko" \
-H "x-api-key: YOUR_API_KEY"Reading the response
Each item is one article with a stable id (same URL, same id, safe to dedupe on), title, url (the real publisher link, scrape it for the full body), source (human outlet name), domain, image_url, published_at (ISO-8601 UTC, second precision, sort on this when recency matters), rank (1-based position), placement, and a nullable snippet. Treat the snippet as a bonus field, never as required.
See the NewsArticle schema for the full field table with per-field nullability.
All endpoints
1 endpoint available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| Search Google News | /v1/google_news/search | standard (1cr) |
Platform notes
publisher,fromandtocannot be combined withlocation_coordinateortime_range=hour. The API returns a clear 400 naming the conflict, and it is never billed.- There is no pagination.
depthis the only size control, and it caps at 100. - Responses cache for 5 minutes. Send
Cache-Control: no-cachefor a billed fresh fetch. - Set client timeouts to at least 20 seconds. Typical calls run around 2 seconds, with a resilient tail.
- For a planned, multi-country, auto-localized version of the same question, use
/v1/search/news, which rides on this endpoint per country edition.
