Skip to main content
POST
Add Tasks
Add keyword or topic tasks to scrape Google News articles. Each task represents a search query or topic that will fetch matching articles from Google News.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Request body format. Value: application/json

Request Body

Task Object

To scrape a specific topic page or section URL from news.google.com, set topic_url in the squid settings instead — task keywords are ignored when topic_url is set.
Configure time range, language, and date filters in the squid settings.

Code Examples

Response

200