GET

Agoda Hotel Details API

Retrieve a date-free property profile using an Agoda hotel ID.

Copy for your AI agent

Paste into Claude, ChatGPT, Cursor or Copilot — endpoint, parameters, response fields and a curl example in Markdown.

Overview

Send 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.

Endpoint URL

GET https://api.stayapi.com/v1/agoda/hotel/details

Parameters

Parameter Type Required Description
hotel_id integer Required 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 is present; street can be null when Agoda supplies only a locality address. 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.

useful_information is always an object. number_of_rooms and year_opened are nullable integers: the declared total room count and the year the property opened, not live inventory or construction year. check_in_from, check_in_until, check_out_from, and check_out_until are nullable strings preserving published time text. groups is an ordered array of name/items objects; each item has nonempty label and value strings. Unavailable information has null scalar fields and an empty groups array. Numeric values that cannot be interpreted unambiguously remain null; the published text is retained in groups.

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.

Browse documentation