Search businesses
search_businessesSearch businesses. Use resolve_parameters FIRST to get type slugs and location params, except in reverse mode, which resolves nothing.
BILLING: Each result costs the user 1 credit. Apply only the filters the user explicitly requested. Never fetch broad results and filter them yourself, never split one request into multiple narrower searches to approximate a broader area — both patterns waste the user's money.
COORDINATES: Only use center coordinates from resolve_parameters found_locations. Do not use your own coordinates — the geocoding service is more precise than your training data.
By default, returns count only (0 credits). Set spend_credits=true to fetch full results (costs 1 credit per result). Show the count to the user and get their confirmation before setting spend_credits=true.
LOCATION — three MUTUALLY EXCLUSIVE modes. Pick based on the query's shape:
zone (country_code + admin1_code/admin2_code/city from resolve_parameters): use when the query describes an administrative area (city, department/county, region/state, country). Uses our authoritative admin tagging of each business — more precise than a polygon drawn around the same area.
geo_polygon (array of {lat, lng} points from resolve_parameters): use when the query describes a custom shape that isn't a single administrative unit — a street, a square, a neighbourhood, a corridor, an area spanning multiple regions or countries. No size limit.
geo_radius (center from resolve_parameters + radius_km): use for "within X km of a point" queries.
REVERSE, a fourth mode: pass reverse {type, value} to find the businesses attached to one identifier. Having no location, it takes no type and no filter, and country_code is the only search parameter it accepts. The control parameters are unchanged: spend_credits, per_page and cursor work as in every other mode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_businesses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| types | No | Array of business type slugs from resolve_parameters | |
| cursor | No | ||
| fields | No | Return only these fields per result. Omit for all fields. | |
| locale | No | ||
| reverse | No | Reverse mode: the businesses attached to one identifier. Excludes every other mode, every type and every filter. | |
| per_page | No | ||
| geo_radius | No | Geo radius search | |
| skip_count | No | ||
| admin1_code | No | ||
| admin2_code | No | ||
| geo_polygon | No | Array of {lat, lng} points (3-100) from resolve_parameters found_locations. | |
| postal_code | No | ||
| country_code | No | ||
| map_has_phone | No | ||
| map_is_closed | No | ||
| spend_credits | No | ||
| map_phone_type | No | ||
| map_has_website | No | ||
| map_is_main_type | No | ||
| website_has_emails | No | ||
| website_has_tiktok | No | ||
| website_has_twitter | No | ||
| website_has_youtube | No | ||
| map_first_seen_at_gt | No | ||
| map_first_seen_at_lt | No | ||
| website_has_facebook | No | ||
| website_has_linkedin | No | ||
| map_first_seen_at_gte | No | ||
| map_first_seen_at_lte | No | ||
| map_reviews_count_gte | No | ||
| map_reviews_count_lte | No | ||
| website_has_ad_pixels | No | ||
| website_has_instagram | No | ||
| map_reviews_rating_gte | No | ||
| map_reviews_rating_lte | No | ||
| website_has_contact_pages | No |