POST /api/agoda/hotels
Price: 10 credits
Get full Agoda hotel details by property id (or hotel URL): name, property type, star rating, full address, coordinates, description, check-in/check-out times, guest review score with category subscores, guest recommendation scores, per-aspect review tags, guest review snippets, AI review summary, property highlights, favorite features, location highlights, facility highlights, grouped amenities, useful information (year opened, number of rooms, floors), property policies (children, adult, extra bed), city ranking metrics, host response rate, infant cot availability, nearby places, nearby airports and transport, official photos, guest photos and video.
Fetch a single Agoda hotel by numeric property id or a hotel URL containing hotelId. Returns one item with id, name, property_type, accommodation_type, star_rating, is_luxury, description, address, area, city, city_id, country, country_code, postal_code, latitude, longitude, check_in_time, check_out_time, is_infant_cot_available, response_rate (host responsiveness 0-1), ranking (property_count = hotels in the city, plus metrics with name, rank and absolute_value — e.g. facility count, average room size, location rating ranks), review_score (score, max_score, review_count, grades with category scores and city averages), recommendation_score, frequent_traveller_recommendation_score (0-100 guest recommendation %), review_tags (per-aspect sentiment: name, positive_percentage, rating_type), review_snippets (guest quotes: text, rating, author, demographic, country, country_code, created_at), ai_summary_positive, ai_summary_negative, gold_circle_year, highlights, favorite_features, location_highlights, facility_highlights, amenity_groups (grouped facilities), info_groups (useful property info), policies (children stay-free age range and details, adult definition, extra_bed and additional rules), nearby_places (name, distance_km, type_name, abbr), nearby_properties (airports and transport grouped by category), images, ugc_images (guest photos) and video_url.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)hotel string required — Agoda property id or a hotel URL containing it (examples: "10696", "https://www.agoda.com/shangri-la-hotel-bangkok/hotel/bangkok-th.html?hotelId=10696"; minLength: 1)@type string (default: "AgodaHotel")id string requiredname string nullableproperty_type string nullableaccommodation_type string nullablestar_rating number nullableis_luxury boolean nullabledescription string nullableaddress string nullablearea string nullablecity string nullablecity_id integer nullablecountry string nullablecountry_code string nullablepostal_code string nullablelatitude number nullablelongitude number nullablecheck_in_time string nullablecheck_out_time string nullableis_infant_cot_available boolean nullableresponse_rate number nullableranking object nullable@type string (default: "AgodaPropertyRanking")property_count integer nullablemetrics array (default: [])@type string (default: "AgodaRankingMetric")name string requiredrank integer nullableabsolute_value number nullablereview_score object nullable@type string (default: "AgodaReviewScore")score number nullablemax_score integer nullablereview_count integer nullablegrades array (default: [])@type string (default: "AgodaReviewGrade")name string requiredscore number nullablecity_average number nullablerecommendation_score integer nullablefrequent_traveller_recommendation_score integer nullablereview_tags array (default: [])@type string (default: "AgodaReviewTag")name string requiredpositive_percentage number nullablerating_type string nullablereview_snippets array (default: [])@type string (default: "AgodaReviewSnippet")text string requiredrating number nullableauthor string nullabledemographic string nullablecountry string nullablecountry_code string nullablecreated_at string nullableai_summary_positive string nullableai_summary_negative string nullablegold_circle_year integer nullablehighlights array (default: [])favorite_features array (default: [])location_highlights array (default: [])facility_highlights array (default: [])amenity_groups array (default: [])@type string (default: "AgodaAmenityGroup")name string requiredamenities array (default: [])info_groups array (default: [])@type string (default: "AgodaInfoGroup")name string requireditems array (default: [])@type string (default: "AgodaInfoItem")name string requiredvalue string nullablepolicies object nullable@type string (default: "AgodaPolicies")children object nullable@type string (default: "AgodaChildrenPolicy")stay_free_min_age integer nullablestay_free_max_age integer nullabledetails array (default: [])@type string (default: "AgodaChildPolicyDetail")description string nullableis_infant boolean nullableadult array (default: [])extra_bed array (default: [])additional array (default: [])nearby_places array (default: [])@type string (default: "AgodaNearbyPlace")name string requireddistance_km number nullabletype_name string nullableabbr string nullablenearby_properties array (default: [])@type string (default: "AgodaNearbyProperty")category string requiredplaces array (default: [])@type string (default: "AgodaNearbyPlace")name string requireddistance_km number nullabletype_name string nullableabbr string nullableimages array (default: [])ugc_images array (default: [])video_url string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — Hotel not found (well-formed but nonexistent property id) Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.