datasets_google_map_facets
Facet stored Google Maps businesses to obtain aggregated counts by category, location, or website status for targeted filtering and analysis.
Instructions
Facet stored Google Maps businesses. Returns terms aggregation counts for Google Maps businesses. Facet enum: category, country, state, county, city, town, website_status. Category facet values are exact locale-specific Google Maps labels and can be localized, non-ASCII, or contain punctuation; pass a returned value unchanged to the category filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text business search query, max 256 characters | |
| lat | No | Latitude for radius filtering | |
| lon | No | Longitude for radius filtering | |
| city | No | Exact city filter, max 128 characters | |
| sort | No | Sort enum: relevance, updated_at_desc, rating_desc, review_count_desc, distance_asc | |
| town | No | Exact town filter, max 128 characters | |
| facet | Yes | Facet enum: category, country, state, county, city, town, website_status | |
| state | No | Exact state filter, max 128 characters | |
| county | No | Exact county filter, max 128 characters | |
| country | No | Exact country filter, max 128 characters | |
| has_geo | No | Filter by location presence: true keeps only mappable businesses with coordinates; false isolates locationless service-area businesses that have no map location | |
| category | No | Exact locale-specific Google Maps category label; use the category facet to discover values, max 128 characters | |
| radius_m | No | Radius in meters, 1 through 50000; requires lat and lon when supplied | |
| has_phone | No | Filter by phone presence | |
| min_rating | No | Minimum rating, 0 through 5. Businesses with no aggregate Google rating are returned with rating null, so any min_rating above 0 excludes them. | |
| has_website | No | Filter by website presence | |
| min_review_count | No | Minimum review count |