datasets_apple_maps_places_facets
Aggregate stored Apple Maps places by category, country, state, city, price symbol, or catalog country, applying search and location filters to return facet counts and reveal valid category names.
Instructions
Facet stored Apple Maps places. Returns terms aggregation counts for the stored Apple Maps place directory. Facet enum: category, country_code, state, city, price_symbol, catalog_country. Accepts the same filter parameters as search to scope the aggregation. Use facet=category to discover the exact category names the category filter accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text search over place name, category, city and address | |
| lat | No | Latitude for radius filtering, requires lon | |
| lon | No | Longitude for radius filtering, requires lat | |
| city | No | Exact city filter | |
| facet | Yes | Facet enum: category, country_code, state, city, price_symbol, catalog_country | |
| state | No | Exact state/region filter | |
| category | No | Exact Apple category name | |
| radius_m | No | Radius in meters, 1 through 50000; requires lat and lon | |
| has_phone | No | Phone presence filter | |
| min_rating | No | Minimum rating, from 0 through 5 | |
| has_website | No | Website presence filter | |
| postal_code | No | Exact postal code filter | |
| country_code | No | ISO 3166-1 alpha-2 country filter | |
| min_rating_count | No | Minimum number of ratings behind the rating |