Start tracking a hotel price
track_hotel_priceStart free, anonymous, public price tracking of one hotel (agoda_hotel_id from search_hotels) for one stay (check_in to check_out, YYYY-MM-DD). The Agoda price is then checked automatically several times a day and every observed price is recorded. If the same hotel and dates are already tracked, the existing tracking is returned instead of a duplicate. The response includes booking_url (the Agoda page for this hotel via a HotelRefund redirect) and track_page_url (the public price-history page).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_in | Yes | Check-in date, YYYY-MM-DD (today up to 540 days ahead). | |
| currency | No | Optional ISO currency for recorded prices: KRW, JPY, USD, EUR, TWD, HKD, CNY, SGD, THB, GBP, AUD or VND. Defaults by language. | |
| language | No | Optional locale for the tracked rate: ko-kr, ja-jp, en-us, zh-cn, zh-tw or zh-hk (default en-us). | |
| check_out | Yes | Check-out date, YYYY-MM-DD (after check_in, stay of 60 nights or less). | |
| agoda_hotel_id | Yes | Hotel id from search_hotels. |