Despegar Room Offers API
Room offers for one Despegar hotel and one stay. query is the accommodations detail URL, or the numeric hotel id together with check_in, check_out, and adults. status is ok when rooms are returned, no_availability when the night is sold out, and error when the page or the availability call fails. room_name is the Spanish name shown on despegar.com.ar, with nothing appended. room_id is Despegar's room identifier. Each offer can include price_list, price_logged_in, and price_mercado_pago in ARS with taxes included. A price is omitted when the site does not show it. board and cancellation are separate from the room name.
Endpoint Overview
Detailed documentation, pricing, and usage examples.
Related APIs
Expand your data capabilities with these complementary tools.
Hotel detail from a Despegar accommodations detail URL. The URL is fetched as-is. country does not rewrite it.
Route fares from Despegar. query is BUE-MAD, Buenos Aires - Madrid, or a flights URL such as https://www.despegar.com.ar/vuelos/bue/mad/. Dates are checked but do not change the route page. A URL in query is fetched as-is.
Resolve a city, airport or hotel name, or a Despegar results URL, to a destination id. A results URL is reduced to the place id in the path, such as CIT_982. A detail URL that only contains a hotel number returns 400. return_page_source is not supported and returns 400.
Search Despegar hotels by city name or by an accommodations URL. Dates are optional. If both are omitted, the stay is 3 nights starting 21 days from today. One date without the other, or a past date, returns 400. One call is one page of up to 21 hotels.
Ready to get started?
Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.
- +500 credits
- No credit card required
- All endpoints included