Retrieve the list of available photo categories for a specific business. Use the returned category values with the Business Photos endpoint to filter photos by category. Categories are determined by Google based on the photos uploaded for the business.
HTTP Request
| |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
business_id | string | Yes | — | Unique business identifier in hex format (0x...:0x...) or place ID |
language | string | No | "en" | Language code for the response |
country | string | No | "us" | Country code for regional context |
Response
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique identifier for this request |
data | array | List of photo categories for this business |
data[].name | string | Human-readable category name |
data[].hash | string | Base64 token to pass as category_hash to Business Photos |
Notes
- Categories vary by business. A restaurant exposes
FoodandInside; a hotel or park returns a different set, so read them per business rather than hardcoding. - Pass the
hashvalue, not thename, to the Business Photos endpoint. Filtering by name returns an empty result rather than an error.
Code Examples
| |
| |
| |
Related Endpoints
- Business Photos — Fetch photos using the categories returned by this endpoint
- Business Details — Get full business information