Add Tasks
Google News Search Export
Add Tasks
Add keyword-based tasks to scrape Google News articles
POST
Add Tasks
Add keyword-based tasks to scrape Google News articles. Each task represents a news search query that will fetch matching articles from Google News.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the google-news-search-export crawler |
| tasks | array | Yes | Array of task objects, each containing a keyword field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| keyword | string | Yes | The news search query (e.g., crab, climate change, tech news) |
Configure time range and language in the squid settings to filter results.
Code Examples
Response
200