GET /business_photos

Business Photos

Get every photo and video of a Google Maps business in pages of 20, with dish labels, uploader, video links and optional upload dates and coordinates.

Google Maps Scraper API

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

1
GET /business_photos

Parameters

ParameterTypeRequiredDefaultDescription
business_idstringYes—Google ID (0x...:0x...), place ID (ChIJ...) or numeric CID. Use the google_id from Locate and Search
langstringNo"en"Language code. Changes upload_date_text (“8 years ago”) and labels
countrystringNo"us"Country code for regional context
limitintegerNo201 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
categorystringNoAllA hash from Business Photos Categories , e.g. CgIYIQ== for Menu. Omit for All (CgIgAQ==)
next_page_tokenstringNo—The next_token of the previous response. The next call starts exactly where the last one ended
detailsbooleanNofalseAlso return the Business Photo Details fields for every photo: upload date and hour, date taken, coordinates, upload source

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  "status": true,
  "request_id": "1b1b547f-1986-24f2-adb5-ed2b0253",
  "data": [
    {
      "id": "CIHM0ogKEICAgIDynbm0Dg",
      "url": "https://lh3.googleusercontent.com/gps-cs-s/ANWiy9SQybDkb9krDtKvlzgy0NylT7Aw...=w160-h103-k-no",
      "type": "photo",
      "label": "atmosphere",
      "max_size": [5642, 3654],
      "aspect_ratio": 1.5441,
      "video_url": null,
      "video_duration_ms": null,
      "user_name": "Bestia",
      "user_id": "114405245811654264852",
      "user_profile_url": "https://www.google.com/maps/contrib/114405245811654264852",
      "user_avatar": "https://lh3.googleusercontent.com/a/ACg8ocLtp4DoIJB7dsTGSTvmF20_svdCT06697lKSkLftdczYZYTNQ=s100-p-k-no-mo",
      "upload_date_text": "8 years ago"
    },
    {
      "id": "CIABIhAy4vOBRyrhTAeRfrujmGyh",
      "url": "https://lh3.googleusercontent.com/gps-cs-s/ANWiy9SiQM2ADCb7AYMY9xbCZDVphDET...=w160-h284-k-no",
      "type": "video",
      "label": "Peruvian Scallop Crudo",
      "max_size": [1080, 1920],
      "aspect_ratio": 0.5625,
      "video_url": "https://lh3.googleusercontent.com/gpms-cs-s/AM4Q-U9KwqZUSZaW4DukkGW-RV00gIQT...=m37",
      "video_duration_ms": 30000,
      "user_name": "May Xoxooo",
      "user_id": "100498337643327877349",
      "user_profile_url": "https://www.google.com/maps/contrib/100498337643327877349",
      "user_avatar": "https://lh3.googleusercontent.com/a-/ALV-UjVMdp8SAQOupP4RFYi88Yy5xfBI_kv0DcMwzoYMhyy4g9fI0TTA=s100-p-k-no-mo",
      "upload_date_text": "7 months ago"
    }
  ],
  "next_token": "EvgDKYQi49-NlUMIDwAAAAEAAAMAAAACAAAAAAAEAAAA...",
  "request_params": {
    "business_id": "0x80c2c621d7d91b49:0x5e3e80cfbddfba70",
    "limit": "20"
  }
}

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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "id": "CIHM0ogKEICAgIDynbm0Dg",
  "url": "https://lh3.googleusercontent.com/gps-cs-s/ANWiy9SQybDkb9krDtKvlzgy0NylT7Aw...=w160-h103-k-no",
  "type": "photo",
  "label": "atmosphere",
  "max_size": [5642, 3654],
  "aspect_ratio": 1.5441,
  "video_url": null,
  "video_duration_ms": null,
  "user_name": "Bestia",
  "user_id": "114405245811654264852",
  "user_profile_url": "https://www.google.com/maps/contrib/114405245811654264852",
  "user_avatar": "https://lh3.googleusercontent.com/a/ACg8ocLtp4DoIJB7dsTGSTvmF20_svdCT06697lKSkLftdczYZYTNQ=s48-p-k-no-mo",
  "upload_date_text": "8 years ago",
  "date": "2018-2-15",
  "timestamp": 1518721200,
  "taken_date": "2014-10-30",
  "taken_timestamp": 1414627200,
  "latitude": 34.03383380791417,
  "longitude": -118.2293286680481,
  "uploaded_by_owner": true,
  "upload_source": "business_profile",
  "from_review": false
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique identifier for this request
dataarrayPhotos and videos
data[].idstringPhoto id. Pass it as photo_id to Business Photo Details
data[].urlstringThumbnail URL. Change the =w160-h103-k-no suffix to get a bigger size
data[].typestring/nullphoto, video, or null for a Street View panorama
data[].labelstring/nullWhat 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_sizearray/null[width, height] of the original in pixels
data[].aspect_rationumberWidth divided by height
data[].video_urlstring/nullMP4 link (largest rendition), videos only
data[].video_duration_msinteger/nullVideo length in milliseconds, videos only
data[].user_namestring/nullWho uploaded it. For owner photos this is the business name
data[].user_idstring/nullUploader’s Google Maps contributor id
data[].user_profile_urlstring/nullUploader’s contributor page
data[].user_avatarstring/nullUploader’s avatar URL
data[].upload_date_textstring/nullRelative upload date in the requested language (“8 years ago”)
next_tokenstringPass it back as next_page_token. Empty when there are no more photos
request_paramsobjectThe parameters you sent

With details=true every item also has these fields (see Business Photo Details for the full description):

FieldTypeDescription
data[].datestringUpload date as YYYY-M-D (not zero-padded)
data[].timestampintegerUpload time as Unix epoch seconds, to the hour, UTC
data[].taken_datestring/nullDate the photo was taken, YYYY-M-D
data[].taken_timestampinteger/nulltaken_date at midnight UTC
data[].latitudenumberPhoto latitude
data[].longitudenumberPhoto longitude
data[].uploaded_by_ownerboolean/nulltrue when the business uploaded it, false for a customer
data[].upload_sourcestring/nullbusiness_profile, maps_android, maps_ios, maps_web, google_search or other
data[].from_reviewboolean/nulltrue 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=5 gets the full first page of 20; limit=45 gets 3 pages, up to 60 photos. Read the length of data, not limit.
  • 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_token you received as next_page_token. When next_token is empty you have every photo.
  • category takes the hash from Business Photos Categories , not the category name.

Billing

This endpoint is billed by volume, unlike the other Google Maps endpoints:

RequestRequests counted
limit=201 (one page)
limit=402
limit=603 (fewer if the business has fewer photos)
limit=20&details=true21 (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 carry date, timestamp, latitude or longitude (the keys are absent). Use upload_date_text for a quick relative date, or details=true / Business Photo Details for exact values. The coordinates there are in the right order.
  • user_avatar is =s100 here and =s48 with details=true. Change the suffix for any size.
  • For a full-size image, replace the size suffix on url with the values from max_size (e.g. =w5642-h3654-k-no).

Error Responses

1
2
3
4
5
{
  "status": false,
  "request_id": "...",
  "error": "Error message"
}
Status CodeCauseDescription
400Unknown businessThe business_id does not match a Google Maps business
503Upstream failureGoogle did not answer. Retry the call

A malformed next_page_token returns HTTP 200 with status: false and an empty data.

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import requests

url = "https://google-maps-extractor2.p.rapidapi.com/business_photos"

querystring = {
    "business_id": "0x80c2c621d7d91b49:0x5e3e80cfbddfba70",
    "lang": "en",
    "country": "us",
    "limit": "20"
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "google-maps-extractor2.p.rapidapi.com"
}

photos = []
while True:
    data = requests.get(url, headers=headers, params=querystring).json()
    photos.extend(data["data"])
    if not data.get("next_token") or len(photos) >= 100:
        break
    querystring["next_page_token"] = data["next_token"]

for photo in photos:
    width, height = photo["max_size"] or (None, None)
    print(f"{photo['type']} {width}x{height} {photo['label']} by {photo['user_name']}")
    if photo["type"] == "video":
        print(f"  video: {photo['video_url']} ({photo['video_duration_ms'] / 1000:.0f}s)")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const url = "https://google-maps-extractor2.p.rapidapi.com/business_photos";

const params = new URLSearchParams({
  business_id: "0x80c2c621d7d91b49:0x5e3e80cfbddfba70",
  lang: "en",
  country: "us",
  limit: "20",
});

const response = await fetch(`${url}?${params}`, {
  method: "GET",
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "google-maps-extractor2.p.rapidapi.com",
  },
});

const { data, next_token } = await response.json();

data.forEach((photo) => {
  console.log(`${photo.type} ${photo.label ?? "-"} by ${photo.user_name}, ${photo.upload_date_text}`);
});

// Pass next_token back as next_page_token for the following page
1
2
3
4
5
6
7
curl -G "https://google-maps-extractor2.p.rapidapi.com/business_photos" \
  --data-urlencode "business_id=0x80c2c621d7d91b49:0x5e3e80cfbddfba70" \
  --data-urlencode "lang=en" \
  --data-urlencode "country=us" \
  --data-urlencode "limit=20" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: google-maps-extractor2.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI