Agoda Hotel Gallery API
Extract Agoda hotel gallery image assets from dedicated and fallback gallery endpoints.
- 1 credit per call
- Failed calls are free
- Updated
- agoda.hotel.gallery
{ "collected_at": "2026-11-24T16:36:00Z", "hotel_id": "1105091", "hotel_name": "Hotel Boss", "images": [ { "position": 1 }, { "position": 2, "url": "https://pix8.agoda.net/hotelImages/4894014/0/3987f8c8bc58bfdc747239b6146c502f.jpeg?va=1&ce=3&s=1024x768" } ]}
| # | Position | Url |
|---|---|---|
| 1 | 1 | |
| 2 | 2 | https://pix8.agoda.net/hotelImages/4894014/0/3987f8c8bc58bfdc74… |
| 3 | 3 | https://pix8.agoda.net/hotelImages/1105091/0/e331cfa8ba7e5c43a6… |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| hotel_url | string | yes | Public URL of the hotel. | https://www.agoda.com/hotel-boss/hotel/singapor… |
| locale | string | no | Locale to use for the request. | en-US |
| max_items | integer | no | Maximum number of items to return. From 1 to 250. | 8 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| images[].position | integer | 1 |
| collected_at | string | 2026-11-24T16:36:00Z |
| hotel_id | string | 1105091 |
| hotel_name | string | Hotel Boss |
| images | array | 3 records |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "agoda.hotel.gallery", "input": { "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 8 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "agoda.hotel.gallery", "input": { "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 8 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "agoda.hotel.gallery", "input": { "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_items": 8 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Agoda Travel & Hotels hotel gallery for https://www.agoda.com/hotel-boss/hotel/singapore-sg.html, locale "en-US" and max items "8". Tell me what it costs before you run it, then show the results as a table.
More from the Agoda Travel & Hotels API
Agoda Hotel Gallery API FAQ
The short answers. The docs have the long ones.
How much does the Agoda Hotel Gallery API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send hotel_url. The input fields below list every option with its type and limits.
Do I need an Agoda Travel & Hotels login?
No. It reads public Agoda Travel & Hotels data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds agoda.hotel.gallery, checks its price and runs it with the same credits as the REST API.
Your first Agoda Travel & Hotels call is free.
Up to 100 free credits to start, no card needed.