Expedia Hotel Search
POST /api/v1/expedia/hotels/search
Search Expedia for a destination and stay dates and get matching properties with nightly and total prices, guest ratings, review counts, neighborhoods, amenity highlights, refund options and photos.
Overview
Search Expedia for a destination and stay dates and get matching properties with nightly and total prices, guest ratings, review counts, neighborhoods, amenity highlights, refund options and photos.
POST /api/v1/expedia/hotels/search
Method: POST Path: /api/v1/expedia/hotels/search Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| adults | integer | Optional | Number of adult guests in one room (default 2). |
| checkin | string | Optional | Check-in date (YYYY-MM-DD). Defaults to 14 days from today. |
| checkout | string | Optional | Checkout date (YYYY-MM-DD). Defaults to one night after check-in; stays up to 28 nights. |
| limit | integer | Optional | Maximum number of properties to return (1-100). |
| location | string | Optional | Two-letter country code to search from (default US). |
| query | string | Required | Destination to search, e.g. "Singapore", "Paris, France" or "Times Square, New York". |
Request Example
Expedia Hotel Search Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/expedia/hotels/search" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"adults": "2", "checkin": "example", "checkout": "example", "limit": "50", "location": "US", "query": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "search_parameters": { "query": "string", "checkin": "string", "checkout": "string", "nights": 0, "adults": 0, "location": "string", "limit": 0, "url": "https://example.com/..." }, "destination": { "name": "string", "region_id": "1234567890" }, "heading": "string", "results_summary": "string", "total_results": 0, "returned_results": 0, "time_taken": 0.0, "properties": [ { "position": 0, "hotel_id": "1234567890", "name": "string", "url": "https://example.com/...", "neighborhood": "string", "review_score": 0.0, "review_score_max": 0, "review_score_word": "string", "review_count": 0, "summary": "string", "amenities": [ "string" ], "price": { "per_night": 0.0, "per_night_formatted": "string", "total": 0.0, "total_formatted": "string", "original_total": 0.0, "original_total_formatted": "string", "discount": "string", "currency": "USD", "taxes_and_fees_included": false, "messages": [ "string" ] }, "rooms_left": 0, "refund_options": [ "string" ], "badges": [ "string" ], "sponsored": false, "photos": [ "string" ] } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Expedia Hotel Search", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| search_parameters | object | Yes | The search that was run. |
| search_parameters.query | string | Yes | Destination searched (city, region, landmark or airport). |
| search_parameters.checkin | string | Yes | Check-in date (YYYY-MM-DD). |
| search_parameters.checkout | string | Yes | Checkout date (YYYY-MM-DD). |
| search_parameters.nights | integer | No | Number of nights. |
| search_parameters.adults | integer | No | Number of adult guests. |
| search_parameters.location | string | No | Country the search was run from. |
| search_parameters.limit | integer | No | Maximum number of properties requested. |
| search_parameters.url | string | No | Expedia search results URL. |
| destination | object | No | Destination Expedia matched the query to. |
| destination.name | string | No | |
| destination.region_id | string | No | Expedia region id, when known. |
| heading | string | No | Results page heading. |
| results_summary | string | No | Results summary, e.g. '504 Properties in Paris, France. December 12, 2026 through December 15, 2026'. |
| total_results | integer | Yes | Total number of matching properties. |
| returned_results | integer | Yes | Number of properties returned in this response. |
| time_taken | number | No | Seconds taken to run the search. |
| properties | array<object> | Yes | Matching properties in Expedia's recommended order. |
| properties[].position | integer | Yes | 1-based rank in the results. |
| properties[].hotel_id | string | Yes | Expedia property id. |
| properties[].name | string | Yes | Property name. |
| properties[].url | string | Yes | Expedia property page URL. |
| properties[].neighborhood | string | No | Neighborhood or area shown on the card. |
| properties[].review_score | number | null | No | Guest rating. |
| properties[].review_score_max | integer | null | No | Maximum guest rating (usually 10). |
| properties[].review_score_word | string | No | Rating label, e.g. 'Wonderful'. |
| properties[].review_count | integer | No | Number of guest reviews. |
| properties[].summary | string | No | Short property summary, when shown. |
| properties[].amenities | array<string> | No | Highlighted amenities. |
| properties[].price | object | Yes | Price for the stay. |
| properties[].price.per_night | number | null | No | Price per night. |
| properties[].price.per_night_formatted | string | No | |
| properties[].price.total | number | null | No | Total price for the stay. |
| properties[].price.total_formatted | string | No | |
| properties[].price.original_total | number | null | No | Price before discount, when discounted. |
| properties[].price.original_total_formatted | string | No | |
| properties[].price.discount | string | No | Discount amount, e.g. '$208'. |
| properties[].price.currency | string | No | |
| properties[].price.taxes_and_fees_included | boolean | No | True when the total includes taxes and fees. |
| properties[].price.messages | array<string> | No | Other price notes, e.g. 'Lower than similar properties'. |
| properties[].rooms_left | integer | null | No | Rooms left at this price, when shown. |
| properties[].refund_options | array<string> | No | E.g. 'Fully refundable', 'Reserve now, pay later'. |
| properties[].badges | array<string> | No | Badges such as 'VIP Access'. |
| properties[].sponsored | boolean | No | True for sponsored/ad placements. |
| properties[].photos | array<string> | No | Photo URLs. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/expedia/hotels/search?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
query,adults,checkin,checkout,limit,location example,2,example,example,50,US
Pricing & Rate Limits
Endpoint Pricing
$0.02 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |