Lodol Docs

Expedia

API actions for the Expedia integration.

Expedia

Search and retrieve lodging data from Expedia.


Get hotel details

Get detailed information about a specific hotel.

Parameters

ParameterTypeRequiredDescription
hotel_idstringYesThe hotel ID.
localestringNoLocale for the response (e.g., 'en_US').

Response

{
  "address": "123 Main St, City",
  "amenities": [
    "Pool",
    "WiFi",
    "Spa"
  ],
  "description": "A luxury hotel in the heart of the city.",
  "id": "hotel-123",
  "name": "Grand Hotel"
}

Get room offers

Get available room offers for a hotel with specific dates.

Parameters

ParameterTypeRequiredDescription
hotel_idstringYesThe hotel ID.
check_instringYesCheck-in date (YYYY-MM-DD format).
check_outstringYesCheck-out date (YYYY-MM-DD format).
adultsnumberNoNumber of adults (default 1).

Response

{
  "offers": [
    {
      "cancellation_policy": "Free cancellation until 24h before check-in",
      "id": "offer-123",
      "price": {
        "amount": 249.99,
        "currency": "USD"
      },
      "room_type": "Deluxe King"
    }
  ]
}

Search hotels

Search for hotels in a destination with check-in/check-out dates.

Parameters

ParameterTypeRequiredDescription
destinationstringYesThe destination city or area to search.
check_instringYesCheck-in date (YYYY-MM-DD format).
check_outstringYesCheck-out date (YYYY-MM-DD format).
adultsnumberNoNumber of adults (default 1).
currencystringNoCurrency code for prices (e.g., 'USD').

Response

{
  "hotels": [
    {
      "id": "hotel-123",
      "name": "Grand Hotel",
      "price": {
        "amount": 199.99,
        "currency": "USD"
      },
      "star_rating": 4
    }
  ]
}

On this page