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
| Parameter | Type | Required | Description |
|---|---|---|---|
hotel_id | string | Yes | The hotel ID. |
locale | string | No | Locale 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
| Parameter | Type | Required | Description |
|---|---|---|---|
hotel_id | string | Yes | The hotel ID. |
check_in | string | Yes | Check-in date (YYYY-MM-DD format). |
check_out | string | Yes | Check-out date (YYYY-MM-DD format). |
adults | number | No | Number 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
| Parameter | Type | Required | Description |
|---|---|---|---|
destination | string | Yes | The destination city or area to search. |
check_in | string | Yes | Check-in date (YYYY-MM-DD format). |
check_out | string | Yes | Check-out date (YYYY-MM-DD format). |
adults | number | No | Number of adults (default 1). |
currency | string | No | Currency code for prices (e.g., 'USD'). |
Response
{
"hotels": [
{
"id": "hotel-123",
"name": "Grand Hotel",
"price": {
"amount": 199.99,
"currency": "USD"
},
"star_rating": 4
}
]
}