# Despegar Hotel Search ## Overview | Property | Value | |----------|-------| | **Status** | private | | **Method** | `GET` | | **Endpoint** | `/v2/despegar/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/despegar-search | ## Description Search Despegar hotel listings by destination and dates and get prices, ratings, amenities, and availability as structured JSON in real time. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/despegar/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Search hotels in Buenos Aires for 2 adults ```json [ { "id": "hotel-bsas-22741", "url": "https://www.despegar.com/hoteles/argentina/buenos-aires/alvear-palace-hotel/hotel/22741?adults=2&rooms=1&checkin=2026-08-10&checkout=2026-08-15", "name": "Alvear Palace Hotel", "stars": 5, "taxes": 110520, "rating": 9.3, "address": { "city": "Buenos Aires", "full": "Av. Alvear 1891, Recoleta, Buenos Aires, Argentina", "country": "Argentina", "neighborhood": "Recoleta" }, "currency": "ARS", "location": { "lat": -34.5874, "lng": -58.3932, "distance_to_center": "2.1 km del centro" }, "amenities": [ "Wi-Fi gratis", "Restaurante", "Spa", "Gimnasio", "Piscina cubierta", "Concierge 24h" ], "thumbnail": "https://photos.despegar.com/hotels/22741/main.jpg", "total_price": 921000, "rating_label": "Excelente", "reviews_count": 1874, "price_per_night": 184200, "free_cancellation": false, "breakfast_included": true } ] ``` ## Documentation ## Overview Despegar is Latin America's largest online travel agency, covering Argentina, Mexico, Colombia, Chile, Peru, and 20+ other countries. It applies Akamai Bot Manager to block programmatic access. Piloterr handles the bypass and returns paginated hotel search results as structured JSON. Each result includes hotel name, star rating, guest review score, nightly rate, total price, breakfast and free-cancellation flags, address, GPS coordinates, and amenity list. ## Quickstart ``` GET https://api.piloterr.com/v2/despegar/search?destination=Buenos+Aires&check_in=2026-08-10&check_out=2026-08-15&adults=2¤cy=ARS ``` ## Main use cases - Track real-time hotel price fluctuations across Despegar destinations to build a LATAM accommodation pricing database - Monitor competitor hotel rates in key tourist destinations for yield management analysis - Build a travel deal alert system that detects hotel prices dropping below a threshold - Aggregate availability and ratings data for a hospitality market intelligence tool covering LATAM - Feed a corporate travel platform with live hotel rates across multiple cities for per-diem benchmarking