Agoda Hotel Details API
Retrieve a date-free property profile using an Agoda hotel ID.
Endpoint
GET https://api.stayapi.com/v1/agoda/hotel/detailsSend your API key in X-API-Key. This endpoint returns public property metadata, without prices, reviews, or availability. Calls use standard account authentication and usage limits.
Parameters
| Parameter | Type | Required | Rules |
|---|---|---|---|
hotel_id | integer | Yes | A positive integer from 1 to 2147483647, for example 10884. Supply it exactly once. |
Only hotel_id is accepted. URLs, dates, locale, currency, unknown query parameters, and duplicate keys are rejected. There is no pagination, filtering, or sorting.
Response
success is true and hotel_id matches the requested ID. name is the property name. address contains nullable strings full, street, city, area, country, and postal_code, nullable integer city_id and country_id, and boolean is_obfuscated.
When is_obfuscated is false, full and street addresses are present. When true, full, street, latitude, and longitude are null; public city, area, and country context is retained when available.
accommodation_type and plain-text description are nullable strings. star_rating, latitude, and longitude are nullable numbers. amenities lists explicitly available facilities as group/name objects. photos contains selected HTTPS image URLs published by Agoda, including supplier photos, and nullable captions. Either array can be empty; neither is a promise of an exhaustive inventory or gallery. retrieved_at is a UTC ISO timestamp. This response has no canonical hotel URL or guest rating field.
Example below: description, amenities, and photos shortened for readability.
{
"success": true,
"hotel_id": 10884,
"name": "Banyan Tree Phuket",
"address": {
"is_obfuscated": false,
"full": "33 Moo 4 Srisoonthorn Road Cherngtalay, Bang Thao, Phuket, Thailand, 83110",
"street": "33 Moo 4 Srisoonthorn Road Cherngtalay",
"city": "Phuket",
"city_id": 16056,
"area": "Bang Thao",
"country": "Thailand",
"country_id": 106,
"postal_code": "83110"
},
"accommodation_type": "Hotel",
"star_rating": 5.0,
"latitude": 8.010550498962402,
"longitude": 98.29580688476563,
"description": "Experience Luxury and Tranquility at Banyan Tree Phuket Nestled just 15 kilometers from the vibrant ",
"amenities": [
{
"group": "Take a look at these facilities:",
"name": "Fitness center"
},
{
"group": "Take a look at these facilities:",
"name": "Garden"
}
],
"photos": [
{
"url": "https://pix8.agoda.net/hotelImages/10884/0/0fb9f4117c4170172a443131152862a7.jpg?va=1&ce=3&s=1024x768",
"caption": "Exterior view"
}
],
"retrieved_at": "2026-10-14T14:50:59.864184+00:00"
}Find an ID and continue
Find candidate IDs with hotel name lookup or hotel search. Resolve an existing URL with URL to hotel ID, then pass the ID here. Use hotel prices for dated availability and hotel reviews for guest feedback.
The former /v1/agoda/hotel?url= endpoint is unavailable and returns 404. Migrate URL-based requests by resolving the URL to an ID, then calling this details endpoint.
Errors
Errors use RFC 7807 Problem Details. Invalid values, unsupported query keys, or duplicate keys return 400. Missing or incorrectly typed required input returns 422. A confirmed missing hotel returns 404; upstream or malformed data returns 502. Temporary unavailability returns 503, and timeouts can return 504. Authentication and account limits can return 401, 402, or 429. A failure is never represented as a successful empty profile.