Update Settings
Google News Search Export
Update Settings
Configure the Google News Search Export parameters
POST
Update Settings
Configure the scraper parameters to control how Google News articles are collected. These settings include language, recency filters, and result limits.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonScraper Parameters
Set these parameters in theparams object:
| Parameter | Type | Description |
|---|---|---|
| language | string | Country edition and UI language for Google News (e.g., English (United States)) |
| time_range | string | Filter by recency: Any time, Past hour, Past 24h, Past week, Past year |
| max_results | integer | Maximum articles to scrape. Leave blank to extract all news since 2005. |
Max Results Behavior
Themax_results setting affects how the scraper operates:
- ≤ 100: No date filter is applied, fetches recent articles
- > 100: Scraper breaks the span into daily windows and fetches news day by day
- Blank: Pulls every article back to 2005-01-01 (when combined with
Any time)
Code Examples
Response
201