GET
Accor Photos API
Get the full photo and video gallery for a single Accor property.
Overview
Ready-to-use image URLs
Image URLs are public ahstatic.com links — no signed token or expiry. Each image returns every published size variant in formats, and url is the highest-resolution one.
Returns the complete image and video set for a property, organized by category (rooms, restaurant, pool, spa, and more). Take the id from a Search result and pass it as hotel_id.
Endpoint URL
GET https://api.stayapi.com/v1/accor/hotel/photos
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| hotel_id | string | Required | Accor hotel id from the Search endpoint (e.g., "2185") |
| categories | string | Optional | Comma-separated category filter (e.g., BEDROOM,POOL). Default: all categories |
| include_videos | boolean | Optional | Include video media alongside photos. Default: true |
Response Format
Response Structure
- success: Boolean indicating request success
- hotel_id / name: The property id and name
- photos: Array of media items
- total: Number of media items returned
- categories: Legend of category codes present, with labels
Media Item Fields
| Field | Type | Description |
|---|---|---|
| category | string | Media category (e.g., "HOTEL", "BEDROOM", "POOL") |
| type | string | "IMAGE" or "VIDEO" |
| url | string | Highest-resolution image URL (the first/largest entry in formats) |
| formats | array | Every published size variant, each with url, width, height |
| video | object | For video items: embedded_url, download_url, preview_url. Null for images. |
Error Responses
Errors follow the RFC 7807 Problem Details format with provider: "accor" and product: "photos".
404 Not Found
No Accor property matches that hotel_id.
502 Bad Gateway
Upstream service error from Accor.
Related Endpoints
Request
Response