datasets_google_map_businesses_facets
Retrieve aggregated counts of Google Maps businesses grouped by facet. Filter by search, location, rating, and more to analyze business data.
Instructions
Facet stored Google Maps businesses. Returns terms aggregation counts for Google Maps businesses. Facet enum: category, country, state, county, city, town, website_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facet | Yes | Facet enum: category, country, state, county, city, town, website_status | |
| q | No | Full-text business search query, max 256 characters | |
| category | No | Exact category filter, max 128 characters | |
| country | No | Exact country filter, max 128 characters | |
| state | No | Exact state filter, max 128 characters | |
| county | No | Exact county filter, max 128 characters | |
| city | No | Exact city filter, max 128 characters | |
| town | No | Exact town filter, max 128 characters | |
| min_rating | No | Minimum rating, 0 through 5 | |
| min_review_count | No | Minimum review count | |
| has_website | No | Filter by website presence | |
| has_phone | No | Filter by phone presence | |
| lat | No | Latitude for radius filtering | |
| lon | No | Longitude for radius filtering | |
| radius_m | No | Radius in meters, 1 through 50000; requires lat and lon when supplied | |
| sort | No | Sort enum: relevance, updated_at_desc, rating_desc, review_count_desc, distance_asc |