POST
/v1/tasksAdd Tasks
Add keyword-based tasks to scrape Google News articlesAdd keyword-based tasks to scrape Google News articles. Each task represents a news search query that will fetch matching articles from Google News.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the google-news-search-export crawler
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `keyword` field
Task Object
keyword
Type:
string
Required:
Yes
Description:
The news search query (e.g., `crab`, `climate change`, `tech news`)
Pro Tip
Use specific keywords for more targeted news results.
Note
Configure time range and language in the squid settings to filter results.