Google Maps response objects
Every object the Google Maps endpoints return, field by field, named after Google's Places API. Every key is there on every call: a field the platform does not show is null, and a list is empty.
google_maps_place
One business or place, as its Google Maps listing shows it. Returned by google-maps/places, google-maps/place.
| Field | What it is |
|---|---|
place_id | Google's place ID — the same one the Places API and every Maps URL use. |
name | As the listing shows it. |
category | The category printed under the name, e.g. "Coffee shop". |
categories | Every category on the listing, the main one first. |
formatted_address | The address as one line, as Google formats it. |
address | The same address in parts. Where the source gives the address as one line, only country_code is filled. |
address.street | Street and number. null where the source gives the address as one line: see formatted_address. |
address.city | City or town. |
address.region | State, province or region. |
address.postal_code | Postal or ZIP code. |
address.country_code | ISO 3166-1 alpha-2, e.g. US. |
location | The pin. null when the source does not give it. |
location.lat | Latitude. |
location.lng | Longitude. |
plus_code | The global plus code, e.g. 87G8P2QX+RV. |
rating | The star rating, 1.0–5.0. null until the place has ratings. |
user_ratings_total | How many ratings the star rating is the average of. |
rating_distribution | How many ratings of each star value, as the listing's bar chart shows them. |
rating_distribution.1 | One-star ratings. |
rating_distribution.2 | Two-star ratings. |
rating_distribution.3 | Three-star ratings. |
rating_distribution.4 | Four-star ratings. |
rating_distribution.5 | Five-star ratings. |
price_level | 0 (free) to 4 (very expensive), as the Places API counts it. |
formatted_phone_number | The phone number in local format. |
international_phone_number | With the country code, e.g. +1 718-555-0142. |
website | The business's own site. |
url | The place on Google Maps. |
business_status | As the Places API reports it. OPERATIONAL · CLOSED_TEMPORARILY · CLOSED_PERMANENTLY |
opening_hours | Regular opening hours. null when the listing has none. |
opening_hours.weekday_text | Seven lines, Monday first, as the listing prints them. |
opening_hours.periods | The same hours as data. A place open around the clock has one period with no close. |
opening_hours.periods[].open | When it opens. |
opening_hours.periods[].open.day | 0 is Sunday. |
opening_hours.periods[].open.time | 24-hour HHMM, local time. |
opening_hours.periods[].close | When it closes. |
opening_hours.periods[].close.day | 0 is Sunday. |
opening_hours.periods[].close.time | 24-hour HHMM, local time. |
popular_times | The "Popular times" chart. null for places too quiet to have one. |
popular_times[].day | 0 is Sunday. |
popular_times[].busyness | Twenty-four values, midnight first, 0–100 relative to the place's busiest hour. |
about | The listing's About tab, by heading: service_options, accessibility, amenities, payments and so on — only the headings the place has. |
claimed | Whether the owner has claimed the listing. Unclaimed ones offer "Own this business?". |
photo | The listing's main photo. |
photo.url | The image on Google's CDN. We do not rehost images. |
photo.width | Pixels. |
photo.height | Pixels. |
photo.author_name | Who uploaded it, as the listing credits them. null for the owner's own photos. |
photo.author_url | Their Google Maps contributor page. |
google_maps_review
One Google review of a place. Returned by google-maps/reviews.
| Field | What it is |
|---|---|
review_id | Google's id for the review. |
place_id | The place it is about. |
author | Who wrote the review. |
author.name | As shown on the review. null where the source gives none. |
author.url | Their Google Maps contributor page. |
author.profile_photo_url | Their profile photo. |
author.is_local_guide | Whether they carry the Local Guide badge. |
author.review_count | How many reviews they have written, as the review shows. |
author.photo_count | How many photos they have posted. |
rating | 1 to 5. null when the source gives no rating. |
text | null for a rating with no words. |
language | Two-letter code of the language it was written in. |
publish_time | When it was posted. null when the source does not say. |
like_count | How many people marked it helpful. |
photos | Photos attached to the review. |
photos[].url | The image on Google's CDN. We do not rehost images. |
photos[].width | Pixels. |
photos[].height | Pixels. |
photos[].author_name | Who uploaded it, as the listing credits them. null for the owner's own photos. |
photos[].author_url | Their Google Maps contributor page. |
owner_response | The "Response from the owner", where there is one. |
owner_response.text | The owner's reply. |
owner_response.publish_time | When the owner replied. null when the source does not say. |
google_maps_photo
One photo on a place's listing. Returned by google-maps/photos.
| Field | What it is |
|---|---|
url | The image on Google's CDN. We do not rehost images. |
width | Pixels. |
height | Pixels. |
author_name | Who uploaded it, as the listing credits them. null for the owner's own photos. |
author_url | Their Google Maps contributor page. |
google_maps_post
An update the owner posted on a Google Maps listing. Returned by google-maps/posts.
| Field | What it is |
|---|---|
text | The post's text. |
date | YYYY-MM-DD: the day the listing shows; it gives no time. |
image_url | The post's image. |
link_url | Where the post links, such as a booking page. |