Get the photos and videos of a business on Google Maps, in pages of 20. Each item comes with a thumbnail URL, the original size, a label for what the photo shows (a dish, “atmosphere”), the uploader, and a relative upload date. Videos also carry an MP4 link and their length. Filter by category with a hash from Business Photos Categories
, and add details=true when you need the exact upload date, the date the photo was taken and its coordinates.
HTTP Request
| |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
business_id | string | Yes | — | Google ID (0x...:0x...), place ID (ChIJ...) or numeric CID. Use the google_id from Locate and Search |
lang | string | No | "en" | Language code. Changes upload_date_text (“8 years ago”) and labels |
country | string | No | "us" | Country code for regional context |
limit | integer | No | 20 | 1 to 60. Photos come in whole pages of 20: 1–20 fetches 1 page, 21–40 fetches 2, 41–60 fetches 3. Above 60 is served as 60 |
category | string | No | All | A hash from Business Photos Categories
, e.g. CgIYIQ== for Menu. Omit for All (CgIgAQ==) |
next_page_token | string | No | — | The next_token of the previous response. The next call starts exactly where the last one ended |
details | boolean | No | false | Also return the Business Photo Details fields for every photo: upload date and hour, date taken, coordinates, upload source |
Response
| |
Response with details=true
The same call with limit=3&details=true returned the whole first page (20 photos), each with these extra fields. The first item:
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique identifier for this request |
data | array | Photos and videos |
data[].id | string | Photo id. Pass it as photo_id to Business Photo Details |
data[].url | string | Thumbnail URL. Change the =w160-h103-k-no suffix to get a bigger size |
data[].type | string/null | photo, video, or null for a Street View panorama |
data[].label | string/null | What the photo shows, as Google tags it: a dish name (“Peruvian Scallop Crudo”) or a topic (“atmosphere”). Present on about 70% of photos |
data[].max_size | array/null | [width, height] of the original in pixels |
data[].aspect_ratio | number | Width divided by height |
data[].video_url | string/null | MP4 link (largest rendition), videos only |
data[].video_duration_ms | integer/null | Video length in milliseconds, videos only |
data[].user_name | string/null | Who uploaded it. For owner photos this is the business name |
data[].user_id | string/null | Uploader’s Google Maps contributor id |
data[].user_profile_url | string/null | Uploader’s contributor page |
data[].user_avatar | string/null | Uploader’s avatar URL |
data[].upload_date_text | string/null | Relative upload date in the requested language (“8 years ago”) |
next_token | string | Pass it back as next_page_token. Empty when there are no more photos |
request_params | object | The parameters you sent |
With details=true every item also has these fields (see Business Photo Details
for the full description):
| Field | Type | Description |
|---|---|---|
data[].date | string | Upload date as YYYY-M-D (not zero-padded) |
data[].timestamp | integer | Upload time as Unix epoch seconds, to the hour, UTC |
data[].taken_date | string/null | Date the photo was taken, YYYY-M-D |
data[].taken_timestamp | integer/null | taken_date at midnight UTC |
data[].latitude | number | Photo latitude |
data[].longitude | number | Photo longitude |
data[].uploaded_by_owner | boolean/null | true when the business uploaded it, false for a customer |
data[].upload_source | string/null | business_profile, maps_android, maps_ios, maps_web, google_search or other |
data[].from_review | boolean/null | true when the photo was posted with a review |
Pages, limit and pagination
- Google serves photos in pages of 20, and the API returns whole pages.
limit=5gets the full first page of 20;limit=45gets 3 pages, up to 60 photos. Read the length ofdata, notlimit. - The first page of “All” can hold fewer than 20 photos. Google mixes images from the web into it, and the API drops them because they are not Google Maps photos.
- To get the next page, send the
next_tokenyou received asnext_page_token. Whennext_tokenis empty you have every photo. categorytakes thehashfrom Business Photos Categories , not the category name.
Billing
This endpoint is billed by volume, unlike the other Google Maps endpoints:
| Request | Requests counted |
|---|---|
limit=20 | 1 (one page) |
limit=40 | 2 |
limit=60 | 3 (fewer if the business has fewer photos) |
limit=20&details=true | 21 (one page + 20 photos with details) |
Each page of 20 photos fetched counts as 1 request, and with details=true each photo returned with details counts as 1 more.
Notes
- Upload date and coordinates need
details=true. Since 2026-10-30 the default items no longer carrydate,timestamp,latitudeorlongitude(the keys are absent). Useupload_date_textfor a quick relative date, ordetails=true/ Business Photo Details for exact values. The coordinates there are in the right order. user_avataris=s100here and=s48withdetails=true. Change the suffix for any size.- For a full-size image, replace the size suffix on
urlwith the values frommax_size(e.g.=w5642-h3654-k-no).
Error Responses
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Unknown business | The business_id does not match a Google Maps business |
| 503 | Upstream failure | Google did not answer. Retry the call |
A malformed next_page_token returns HTTP 200 with status: false and an empty data.
Code Examples
| |
| |
| |
Related Endpoints
- Business Photo Details — Upload date, date taken, coordinates and upload source for one photo
- Business Photos Categories
— Get the
hashvalues for thecategoryfilter - Business Details — Full business profile with a photo preview
- Business Reviews — Get reviews for this business