Start a scrape
mapsdata_start_scrapeStart scraping Google Maps businesses and their emails. Returns IMMEDIATELY with a job id; the scrape itself takes 5 minutes to several hours.
Before calling this, confirm the category with mapsdata_search_categories and the region with mapsdata_list_regions. Those two mistakes are the overwhelming majority of rejections.
This consumes the user's monthly lead allowance. Set dry_run to check a request against every rule without spending anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | An exact Google Maps category, e.g. 'Plumber'. Verify it with mapsdata_search_categories first. | |
| cities | No | Named cities instead of whole regions. | |
| states | No | Full region names, e.g. ['Texas']. Not abbreviations. Use this or cities, not both. | |
| country | No | us | |
| dry_run | No | Validate against every rule and return the plan WITHOUT starting a scrape or spending quota. | |
| list_name | No | Label for the list. Defaults to the query. | |
| total_limit | Yes | Rows to scrape. Read max_rows_this_scrape from mapsdata_get_usage first: a larger request is reduced to the allowance left this cycle, not rejected. |