Places Insights makes Google Maps places data available as BigQuery data exchange listings (with no REST endpoint) so you can write SQL queries or call predefined Places Count functions for aggregated place counts, density, and monthly historical change analysis (back to January 2024) filtered by attributes such as type, brand, rating, opening hours, and EV charging.
Places Insights: key facts
- Product: Places Insights
- Also known as: Places Insights dataset
- Category: Analytics
- Platform: Dataset
- Launch stage: GA
- Lifecycle: Active
- Overview: Places Insights overview
- Regional availability: Limited. Full datasets for 50 supported countries and regions, plus city sample datasets. Brands data is available only in the US, Canada, the UK, and Australia. You can query only the listings you've subscribed to. (coverage details)
Places Insights: when to use it
Use Places Insights when:
- You need aggregated counts or density of places by type, brand, rating, hours, EV charging, or accessibility within an area, queried with SQL in BigQuery.
- You need POI context for site selection, location performance evaluation, sales forecasting, or market research models.
- You need place counts or sample Place IDs grouped by H3 cells or custom geographic boundaries.
- You need to analyze place trends or compare store openings and closings across monthly snapshots back to January 2024.
Don't use Places Insights when:
- You need details for an individual place, such as name, address, or hours, instead of aggregate counts. Use Places API (New) instead.
- You need an HTTP REST API for real-time place counts or place IDs instead of querying BigQuery with SQL. Use Places Aggregate API instead.
- You need ML embeddings that capture search trends, human activity patterns, and environmental context alongside POI counts. Use Population Dynamics Insights instead.
Places Insights: setup
- Get started: Set up Places Insights
- Reference: Places Insights reference
- Pricing: Places Insights usage and billing
- Policies: Places Insights policies
- Release notes: Places Insights release notes
Places Insights: related products
- Often used with: Places API (New), Geocoding API, Population Dynamics Insights
Places Insights: common mistakes
- Problem: Direct SQL queries on the places tables enforce an aggregation threshold of 1 (requiring
WITH AGGREGATION_THRESHOLD): if a result count is 0, the entire row is omitted from the results without an error. Fix: Use Places Count functions (for examplePLACES_COUNT_V2,PLACES_COUNT_PER_TYPE_V2,PLACES_COUNT_PER_H3, orPLACES_COUNT_CHANGE), which return explicit counts over a minimum search area of 40 m × 40 m. See /maps/documentation/placesinsights/queries. - Problem: A place is counted only if its center point falls inside the location restriction, so large places such as parks whose center is outside the area are excluded. Fix: Size the search area or polygon so that it contains the center points of the places you want to count. See /maps/documentation/placesinsights/queries.
- Problem: The JSON object passed to
PLACES_COUNT_PER_H3has a 1 MB size limit; complex boundary geometries with thousands of vertices passed under the'geography'key cause execution failures. Fix: Simplify geometries withST_SIMPLIFYbefore passing them to the function. See /maps/documentation/placesinsights/place-count-functions/places-count-per-h3. - Problem: If the
snapshot_datefilter is omitted from a Places Count function call, the query returns data from the most recent snapshot, not historical data. Fix: Passsnapshot_date(ormonth1/month2forPLACES_COUNT_CHANGE) inYYYY-MMformat insideJSON_OBJECT(back to2024-01). Direct SQL queries onplaces_historicalandplaces_sample_historicalrequireDATEformatYYYY-MM-01. See /maps/documentation/placesinsights/overview. - Problem:
PLACES_COUNT_V2,PLACES_COUNT_PER_TYPE_V2, andPLACES_COUNT_CHANGEfail if you pass ageographiesarray insideJSON_OBJECTor use named=>SQL parameters. Fix: Pass aTABLE input_geographiesargument withgeo_id(STRING) andgeo(GEOGRAPHY) columns plus aJSON_OBJECTfilters argument (PLACES_COUNT_PER_TYPE_V2also takestarget_typesas anARRAY<STRING>second argument). See /maps/documentation/placesinsights/place-count-functions/places-count-v2. - Problem: Direct SQL queries on raw
placestables can't select row-levelidor businessnamecolumns (there is nonamecolumn), and Places Count functions capsample_place_idsat 250 per row. Fix: Call a Places Count function to retrievesample_place_ids, then pass them to Places API (New) Place Details to look up business names, addresses, or phone numbers. See /maps/documentation/placesinsights/overview. - Problem: Passing an
input_geographiestable in a different BigQuery region than the linked Places Insights dataset, or with duplicategeo_idvalues, causes query failures or incorrect joins. Fix: Create or stageinput_geographiesin the same BigQuery region as the linked dataset and make sure every row has a uniquegeo_id. See /maps/documentation/placesinsights/place-count-functions/places-count-v2. - Problem: Passing a
PLACES_COUNT_PER_H3CTE directly asTABLE input_geographiesintoPLACES_COUNT_CHANGEfails with a400 BadRequestcorrelated subquery error. Fix: Pass base-table polygons or an inlineUNNEST([STRUCT(...)])table expression instead of chaining aPLACES_COUNT_PER_H3CTE directly intoPLACES_COUNT_CHANGE. See /maps/documentation/placesinsights/place-count-functions/places-count-change.
Places Insights: legacy and deprecated features
PLACES_COUNT: Legacy. Replacement:PLACES_COUNT_V2. Symptom: Returns a single count with no Place IDs, processes one search area per call, and counts the geography definition toward the 1 MB JSON parameter limit.PLACES_COUNT_PER_TYPE: Legacy. Replacement:PLACES_COUNT_PER_TYPE_V2. Symptom: Processes a single search geography per call and counts the geography definition toward the 1 MB JSON parameter limit.PLACES_COUNT_PER_GEO: Legacy. Replacement:PLACES_COUNT_V2. Symptom: Passes thegeographiesarray inside the JSON parameter instead of a table parameter, so all geography definitions count toward the 1 MB JSON limit.
What you can do with Places Insights
See the guides linked below for each task, or compare across products in the Capabilities Explorer.
- Choose between Places Count functions and direct BigQuery SQL queries in Places Insights. Note: Places Insights is a BigQuery dataset queried with SQL (not an HTTP REST API; do not use Places Aggregate API at
areainsights.googleapis.com). Recommended functions arePLACES_COUNT_PER_H3,PLACES_COUNT_V2,PLACES_COUNT_PER_TYPE_V2, andPLACES_COUNT_CHANGE;PLACES_COUNT,PLACES_COUNT_PER_TYPE, andPLACES_COUNT_PER_GEOare legacy. - Set up BigQuery and subscribe to Places Insights Analytics Hub listings. Note: Requires onboarding via the sign-up form, BigQuery API and Analytics Hub API enabled, and
roles/analyticshub.subscriptionOwner,roles/bigquery.user, androles/bigquery.dataViewer. Each country or sample city listing is subscribed separately; sample listings cover the city proper only. - Check Places Insights dataset coverage, sample listings, and aggregation rules. Note: Covers 50 full-country datasets and 50 city sample datasets (city proper only). Direct SQL enforces an aggregation threshold of 1 (omitting 0-count rows); Places Count functions enforce a 40 m × 40 m minimum search area and return up to 250
sample_place_idsper row. - Query Places Insights datasets with Places Count functions and monthly historical snapshots. Note: Call Places Count functions in the SQL
FROMclause withoutWITH AGGREGATION_THRESHOLD. Pass optionalsnapshot_dateinYYYY-MMformat (monthly snapshots back to2024-01; defaults to the latest snapshot). Pass returnedsample_place_idsto Places API (New) Place Details to look up individual place names or addresses. - Query Places Insights tables directly in BigQuery SQL for custom aggregations and joins. Note: Direct SQL queries must include
SELECT WITH AGGREGATION_THRESHOLD(threshold is 1; 0-count rows are omitted) and can't return individual place IDs or business names. For historical tables (places_historicalandplaces_sample_historical), filtersnapshot_dateusingDATEformatYYYY-MM-01(back to2024-01-01). - Batch-count places and retrieve sample Place IDs across multiple geographies with PLACES_COUNT_V2. Note: Call
PLACES_COUNT_V2(TABLE input_geographies, filters)whereinput_geographieshasgeo_id(STRING) andgeo(GEOGRAPHY). Returnsgeo_id,input_geography,place_count(including 0), and up to 250sample_place_ids. Supports optionalsnapshot_date(YYYY-MM). - Batch-count places grouped by place type across multiple geographies with PLACES_COUNT_PER_TYPE_V2. Note: Call
PLACES_COUNT_PER_TYPE_V2(TABLE input_geographies, target_types, filters)passing aTABLE(geo_id,geo), anARRAY<STRING>oftarget_types, and aJSON_OBJECTfilters argument. Returnsgeo_id,input_geography,place_type,place_count(including 0), and up to 250sample_place_ids. - Aggregate regional place density into H3 hexagonal grid cells with PLACES_COUNT_PER_H3. Note: Call
PLACES_COUNT_PER_H3(filters)with a singleJSON_OBJECTcontaining requiredgeographyandh3_resolution(0to11). Returnsh3_cell_index,geography,count, and up to 250sample_place_ids. Simplify complex boundary geometries withST_SIMPLIFYto stay under the 1 MB JSON parameter limit. - Compare place counts and added or removed Place IDs between two months with PLACES_COUNT_CHANGE. Note: Call
PLACES_COUNT_CHANGE(TABLE input_geographies, filters)whereinput_geographieshasgeo_id(STRING) andgeo(GEOGRAPHY) andfiltersrequiresmonth1andmonth2inYYYY-MMformat (monthly snapshots back to2024-01). Returnsgeo_id,start_count,end_count,net_change,percentage_change,compound_monthly_growth_rate,added_count,removed_count,sample_added_place_ids, andsample_removed_place_ids. - Filter and query place counts by commercial business brand IDs in BigQuery. Note: Brands data (
brandstable and thebrand_idsfilter on Places Count functions) is available for the US, Canada, United Kingdom, and Australia. - Inspect the core BigQuery table schema and opening hours fields for Places Insights. Note: Applies to BigQuery
placesandplaces_historicaltables (not a REST response schema). There is no businessnamecolumn; usesample_place_idsfrom Places Count functions with Places API (New) to look up individual place names or contact details. - Inspect country-specific BigQuery table schemas and supported dataset locations for Places Insights. Note: Covers per-country BigQuery dataset and table names (such as
places_insights___us.places) and country-specific administrative area columns. Direct SQL queries on country tables must useSELECT WITH AGGREGATION_THRESHOLDand can't return row-levelidornamecolumns. - Look up supported place types for filtering Places Insights BigQuery queries. Note: Query the built-in
typestable in each subscribed listing (for example,places_insights___us.types) or check the place types reference. Places Insights is a BigQuery dataset; do not use Places Aggregate API (areainsights.googleapis.com/v1:computeInsights) orincludedTypes/includedPrimaryTypes. - Filter Places Count function queries by geography, types, brands, ratings, opening hours, EV charging, and snapshot date. Note: Filter keys are case-sensitive inside
JSON_OBJECT(...)(not named=>SQL parameters). Supported filters includesnapshot_date(YYYY-MM),month1/month2(PLACES_COUNT_CHANGE),brand_ids,regular_opening_hours,min_ev_charge_connector_count,max_ev_charge_connector_count,max_ev_max_charge_rate_kw, andev_charge_connector_types. ForPLACES_COUNT_V2,PLACES_COUNT_PER_TYPE_V2, andPLACES_COUNT_CHANGE, pass geographies asTABLE input_geographiesrather than a JSONgeographiesarray. - Visualize Places Insights query results in BigQuery Studio, Colab, Data Studio, or BigQuery Geo Viz. Note: Most Places Count functions return
GEOGRAPHYcolumns (geographyorinput_geography) that render directly in BigQuery Studio Visualization and Data Studio (PLACES_COUNT_CHANGEreturnsgeo_idonly, so join it back toinput_geographiesto map results).