Search hotels (v1)
Returns one page of 45 properties in a city for dates and guests, with star rating, guest score, area, nightly price with and without taxes, stay total and cancellation terms. Sold-out properties stay in the list without a price. An unknown location is rejected with a 400.
Authorization
ApiKeyAuth In: header
Query Parameters
location_id from the Locations endpoint (an Agoda city ID such as 9395 for Bangkok), or an agoda.com search link such as https://www.agoda.com/search?city=9395.
length <= 1000Arrival date, YYYY-MM-DD; today or later.
Departure date, YYYY-MM-DD; after checkin and at most 30 nights later.
Adults across all rooms.
1 <= value <= 162Rooms to book.
1 <= value <= 81ISO 4217 currency for every price, such as USD, EUR or THB.
^[A-Z]{3}$"USD"Each child's age (0-17), separated by commas. Omit for no children.
^(?:\d{1,2}(?:\s*,\s*\d{1,2})*)?$length <= 60""recommended (Agoda's own order), price (lowest first), rating (guest score) or stars (hotel class).
"recommended"Value in
- "recommended"
- "price"
- "rating"
- "stars"
One-based page of 45 hotels. Prices are live, so a hotel can move between pages from one request to the next.
1 <= value <= 2001curl -X GET "https://example.com/v1/agoda/search?location=9395&checkin=2026-12-10&checkout=2026-12-12" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "location": "9395", "city": "Bangkok", "country": "Thailand", "checkin": "2026-12-10", "checkout": "2026-12-12", "adults": 0, "rooms": 0, "children": [ 0 ], "currency": "USD", "sort": "recommended", "page": 1, "page_size": 45, "total": 6650, "has_more": true, "count": 0, "results": [ { "hotel_id": "10636", "name": "Asia Hotel Bangkok", "star_rating": 4, "star_rating_scale_max": 5, "property_type": "Hotel", "city": "Bangkok", "neighborhood": "Siam", "country": "Thailand", "latitude": 13.7514, "longitude": 100.53109, "review_score": 8.3, "review_score_scale_max": 10, "review_count": 64941, "url": "https://www.agoda.com/asia-hotel-bangkok/hotel/bangkok-th.html", "country_code": "TH", "photo_url": "string", "is_ad": true, "is_sold_out": true, "price": { "per_night": 50.46, "per_night_before_taxes": 42.87, "stay_total_amount": 100.91, "strike_price": 56.78, "currency": "USD", "free_cancellation": true, "free_cancellation_until": "2026-12-06T00:00:00.000+07:00", "pay_later": true, "pay_at_hotel": true, "rooms_left": 17 } } ] }, "details": { "reason": "string", "message": "string" }}