PeumeAPI

Places & travel

Agoda Hotel Details by ID

Fetch an Agoda hotel by ID and stay dates into hotel details and per-room offers.

$0.0015 per call

Call it

curl https://api.peume.com/v1/call/agoda-hotel-details-by-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "hotelId": 10,
    "checkIn": "your checkIn",
    "checkOut": "your checkOut",
    "rooms": 10,
    "adults": 10,
    "children": 10
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: agoda-hotel-details-by-id.

Parameters

hotelIdRequiredinteger

Agoda's numeric hotel ID (from the hotel page or a prior search).

checkInRequiredstring

Check-in date in YYYY-MM-DD format.

checkOutRequiredstring

Check-out date in YYYY-MM-DD format.

roomsRequiredinteger

Number of rooms.

adultsRequiredinteger

Number of adult guests.

childrenRequiredinteger

Number of child guests.

currencyRequiredstring

Three-letter currency code for returned prices, e.g. 'USD'.

localeRequiredstring

Locale for returned content, e.g. 'en-US'.

loginRequiredinteger

Upstream login-state flag passed to the scraper verbatim (the vendor's examples use 1).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.