Skip to main content
POST
Configure Chain
Once your Google Maps Leads Scraper squid collects place URLs, you can chain it to a Google Maps Reviews Scraper so that reviews are fetched automatically for every place found — no manual steps required. When a leads run completes with a status of DONE, the scheduler extracts the url field from each result and queues it as a task on the reviews squid, then starts a new run. Runs that end in ERROR do not trigger the chain.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Must be application/json. Value: application/json

Request Body

string
required
Hash ID of the Google Maps Reviews Scraper crawler. Retrieve it from GET /v1/crawlers.
object
required
Maps the url field from leads results to the url input on the reviews crawler. Always {"url": "url"} for this chain.
boolean
Whether the reviews run starts automatically. Defaults to true.
string
Name for the auto-created reviews squid. Example: "Google Maps Reviews (chained)".
integer
Concurrency for the reviews squid. Defaults to 1.

Code Examples

Response

201
target_cluster is null until the first leads run completes and triggers the chain. After that it will contain the auto-created reviews squid.
Set autostart: false if you want to review the queued tasks before the reviews run starts.