Agoda Hotel Rooms API
Fetch hotel room inventory/pricing data with optional stay window, guest configuration, locale/currency, sorting, and pagination.
- 1 credit per call
- Failed calls are free
- Updated
- agoda.hotel.rooms
{ "collected_at": "2026-11-24T16:54:13Z", "end_page": 1, "has_more": false, "hotel_id": "1105091", "hotel_name": "Hotel Boss", "start_page": 1, "rooms": [ { "name": "Triple Room", "price": 214, "board_type": "room only", "cancel_policy": "Cancellation policy", "currency": "USD", "occupancy": "max 3 guests", "price_excluding_tax": 214, "price_including_tax": 233, "room_id": "6941773", "tax_amount": 19, "amenities": [ "Air conditioning", "Closet" ] }, { "name": "Triple Room with Western Breakfast", "price": 246, "board_type": "breakfast included", "cancel_policy": "Cancellation policy", "currency": "USD", "occupancy": "max 3 guests", "price_excluding_tax": 246, "price_including_tax": 268, "room_id": "11129407", "tax_amount": 22, "amenities": [ "Air conditioning", "Complimentary tea" ] } ]}
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… |
| adults | integer | no | Number of adult guests. From 0 to 30. | 2 |
| check_in | string | no | Check-in date. | 2030-06-10 |
| check_out | string | no | Check-out date. | 2030-06-12 |
| children | integer | no | Number of child guests. From 0 to 20. | 1 |
| currency | string | no | Currency for returned prices. | USD |
| guests | array<object> | no | ||
| locale | string | no | Locale to use for the request. | en-US |
| max_pages | integer | no | Maximum number of result pages to fetch. From 1 to 5. | 1 |
| page | integer | no | One-based result page to fetch. From 1 to 100. | |
| rooms | integer | no | Number of rooms. From 1 to 10. | 1 |
| sort | string | no | Sort order for returned results. Allowed values: price_low_to_high, price_high_to_low, name_asc, name_desc. |
price_low_to_high |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| collected_at | string | 2026-11-24T16:54:13Z |
| end_page | integer | 1 |
| has_more | boolean | false |
| hotel_id | string | 1105091 |
| hotel_name | string | Hotel Boss |
| rooms | array | 3 records |
| rooms[].amenities | array | Air conditioning, Closet, Clothes rack |
| rooms[].board_type | string | room only |
| rooms[].cancel_policy | string | Cancellation policy |
| rooms[].currency | string | USD |
| rooms[].name | string | Triple Room |
| rooms[].occupancy | string | max 3 guests |
| rooms[].price | integer | 214 |
| rooms[].price_excluding_tax | integer | 214 |
| rooms[].price_including_tax | integer | 233 |
| rooms[].room_id | string | 6941773 |
| rooms[].tax_amount | integer | 19 |
| start_page | integer | 1 |
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.rooms", "input": { "adults": 2, "check_in": "2030-06-10", "check_out": "2030-06-12", "children": 1, "currency": "USD", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_pages": 1, "rooms": 1, "sort": "price_low_to_high" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "agoda.hotel.rooms", "input": { "adults": 2, "check_in": "2030-06-10", "check_out": "2030-06-12", "children": 1, "currency": "USD", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_pages": 1, "rooms": 1, "sort": "price_low_to_high" }}''')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.rooms", "input": { "adults": 2, "check_in": "2030-06-10", "check_out": "2030-06-12", "children": 1, "currency": "USD", "hotel_url": "https://www.agoda.com/hotel-boss/hotel/singapore-sg.html", "locale": "en-US", "max_pages": 1, "rooms": 1, "sort": "price_low_to_high" }}),});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 rooms for adults "2", check in "2030-06-10" and check out "2030-06-12". 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 Rooms API FAQ
The short answers. The docs have the long ones.
How much does the Agoda Hotel Rooms 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.rooms, 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.