maps
Retrieves up to 60 local business listings with names, ratings, addresses, phone numbers, websites, hours, and GPS coordinates for a keyword and location, excluding paid map pins.
Instructions
Returns local map results with GPS coordinates — up to 60 listings with name, place_id, rating, reviews_count, address, phone, website, hours, lat/lng, and categories. Paid map pins are excluded from the ranking and listed in sponsored_results. If the first search returns nothing, the API automatically retries once with the city appended to the keyword (geo_fallback_applied: true, keyword_used shows the retried keyword). Unresolvable locations return a validation error instead of silently searching country-wide. local_pack returns just the top 3 with CIDs if that's all you need. Costs 2 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results. Default: 20, max: 100 | |
| keyword | Yes | Search keyword (e.g. "dentist") | |
| location | Yes | City and state (e.g. "Orchard Park, NY") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | ||
| results | Yes | ||
| location | Yes | ||
| keyword_used | No | ||
| total_results | Yes | ||
| location_resolved | No | ||
| sponsored_results | No | ||
| geo_fallback_applied | No |