POST/v1/tasks

Add Tasks

Add keyword-based tasks to scrape Google News articles

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

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

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

Pro Tip

Use specific keywords for more targeted news results.
Note

Note

Configure time range and language in the squid settings to filter results.