Add Tasks
Google Search Scraper
Add Tasks
Add keyword-based search tasks to scrape Google Search results
POST
Add Tasks
Add keyword-based tasks to scrape Google Search results. Each task represents a search query that will be executed on Google.
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-search-scraper crawler |
| tasks | array | Yes | Array of task objects, each containing a keyword field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| keyword | string | Yes | The search query to execute on Google |
Configure search parameters like country, language, and max_pages in the squid settings.
Code Examples
Response
200