Search local prospects (Google Maps)
search_local_prospectsFind busy local businesses via Google Maps (UK) using a 30-day cached depth-100 city snapshot and server-side seen memory. Normalizes snake_case/hyphenated/concatenated categories (e.g. mortgage_broker -> mortgage broker). By default (excludeSeen: true), skips businesses already returned in prior searches or already registered, honours optional excludeDomains/excludeCids (with persistExclusions: true to remember them), omits repeat Maps exclusions on cached pages (override with includeExcluded), and returns providerCostUsd ($0 on cache hits), remainingUnseen, and poolExhausted. Requires an API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>",
"city": "<city>"
},
"name": "search_local_prospects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City, e.g. "Edinburgh" | |
| limit | No | ||
| refresh | No | Bypass the 30-day cached depth-100 Google Maps snapshot and fetch a fresh list from DataForSEO | |
| category | Yes | Business category, e.g. "emergency plumber" | |
| markSeen | No | Record returned prospects in server memory so future calls skip them (default true; set false for dry-run) | |
| countryIso | No | ISO country code (MVP supports GB only) | GB |
| minReviews | No | Minimum Google review count | |
| excludeCids | No | Additional Google Maps CIDs to skip | |
| excludeSeen | No | Skip prospects already returned in prior searches or registered in businesses (default true) | |
| excludeDomains | No | Additional domains or website URLs to skip (e.g. leads already in an external CRM/CSV) | |
| requireWebsite | No | ||
| includeExcluded | No | Include Maps pre-screen excluded listings. Defaults to true on fresh pulls (cached=false) and false on cached follow-up pages so repeat pages only return newly excluded items (e.g. Companies House insolvencies). | |
| persistExclusions | No | Also save caller-supplied excludeDomains/excludeCids into server-side prospect_memory so they do not need to be resent on future calls (default false). | |
| includeCompaniesHouse | No | When countryIso is GB and UK company checks are configured, verify UK Companies House status to exclude liquidated/dissolved companies |