GET /google-maps/business_photos

Business Photos

Retrieve photos for a specific business on Google Maps with category filtering and pagination.

Google Maps Scraper API

Retrieve photos for a specific business. Supports filtering by photo category and pagination for businesses with large photo collections. Use the Business Photos Categories endpoint to discover available categories before filtering.

HTTP Request

1
GET /google-maps/business_photos

Parameters

ParameterTypeRequiredDefaultDescription
business_idstringYesUnique business identifier in hex format (0x...:0x...) or place ID
languagestringNo"en"Language code for the response
countrystringNo"us"Country code for regional context
limitintegerNo20Maximum number of photos to return
categorystringNoFilter photos by category (use Business Photos Categories endpoint to get available values)
next_page_tokenstringNoPagination token from a previous response to fetch the next page

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
{
  "status": "OK",
  "data": [
    {
      "photo_url": "https://lh5.googleusercontent.com/p/AF1QipN...",
      "width": 4032,
      "height": 3024,
      "author": "Jane D.",
      "time": "2025-09-20T10:00:00Z"
    },
    {
      "photo_url": "https://lh5.googleusercontent.com/p/AF1QipM...",
      "width": 3024,
      "height": 4032,
      "author": "Mike R.",
      "time": "2025-08-15T14:30:00Z"
    }
  ],
  "next_token": "CAESBkVnSUlDZw=="
}

Response Fields

FieldTypeDescription
statusstringRequest status
dataarrayList of photos
data[].photo_urlstringURL of the photo
data[].widthintegerPhoto width in pixels
data[].heightintegerPhoto height in pixels
data[].authorstringPhoto contributor name
data[].timestringUpload timestamp (ISO 8601)
next_tokenstring/nullToken for fetching the next page of photos

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
import requests

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

querystring = {
    "business_id": "0x89c259a9aeb1c6b5:0x35b1cfbc380cb867",
    "language": "en",
    "country": "us",
    "limit": "20"
}

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

response = requests.get(url, headers=headers, params=querystring)
data = response.json()

for photo in data["data"]:
    print(f"Photo by {photo['author']} ({photo['width']}x{photo['height']})")
    print(f"  URL: {photo['photo_url']}\n")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const url = "https://google-maps-extractor2.p.rapidapi.com/google-maps/business_photos";

const params = new URLSearchParams({
  business_id: "0x89c259a9aeb1c6b5:0x35b1cfbc380cb867",
  language: "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 = await response.json();

data.data.forEach((photo) => {
  console.log(`Photo by ${photo.author} (${photo.width}x${photo.height})`);
  console.log(`  URL: ${photo.photo_url}\n`);
});
1
2
3
4
5
6
7
curl -G "https://google-maps-extractor2.p.rapidapi.com/google-maps/business_photos" \
  --data-urlencode "business_id=0x89c259a9aeb1c6b5:0x35b1cfbc380cb867" \
  --data-urlencode "language=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