Expedia Hotel Details
POST /api/v1/expedia/hotels/details
Get an Expedia property from its URL, including star rating, address and coordinates, guest rating and review count, description, amenities by category, policies and fees, nearby places, FAQs and photos.
Overview
Get an Expedia property from its URL, including star rating, address and coordinates, guest rating and review count, description, amenities by category, policies and fees, nearby places, FAQs and photos.
POST /api/v1/expedia/hotels/details
Method: POST Path: /api/v1/expedia/hotels/details Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| hotel_url | string | Required | Full Expedia hotel URL (e.g. https://www.expedia.com/Paris-Hotels-Novotel-Paris-Centre-Bercy.h9732.Hotel-Information). |
| location | string | Optional | Two-letter country code to fetch the page from (default US). |
Request Example
Expedia Hotel Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/expedia/hotels/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"hotel_url": "example", "location": "US"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "hotel_id": "1234567890", "name": "string", "url": "https://example.com/...", "star_rating": 0.0, "address": { "full": "string", "street": "string", "city": "string", "region": "string", "postal_code": "string", "country": "string" }, "latitude": 0.0, "longitude": 0.0, "rating": { "score": 0.0, "score_max": 0, "word": "string", "count": 0 }, "tagline": "string", "description": "string", "about": [ "string" ], "amenities": [ { "scope": "string", "category": "string", "items": [ "string" ] } ], "policies": [ { "title": "string", "items": [ "string" ] } ], "important_information": [ { "title": "string", "items": [ "string" ] } ], "location": { "neighborhood_description": "string", "area": "string", "nearby": [ { "name": "string", "distance": "string", "travel_time": "string" } ] }, "faqs": [ { "question": "string", "answer": "string" } ], "photo_count": 0, "photo_categories": [ { "name": "string", "count": 0 } ], "photos": [ { "url": "https://example.com/...", "thumbnail": "string", "description": "string" } ], "time_taken": 0.0, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Expedia Hotel Details", "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 |
|---|---|---|---|
| hotel_id | string | Yes | Expedia property id. |
| name | string | Yes | Property name. |
| url | string | Yes | Expedia property page URL. |
| star_rating | number | null | No | Property class (stars). |
| address | object | Yes | |
| address.full | string | No | Full address on one line. |
| address.street | string | No | |
| address.city | string | No | |
| address.region | string | No | |
| address.postal_code | string | No | |
| address.country | string | No | Country code (ISO 3166-1 alpha-3). |
| latitude | number | null | No | |
| longitude | number | null | No | |
| rating | object | Yes | Guest rating summary. |
| rating.score | number | null | No | Guest rating. |
| rating.score_max | integer | No | Maximum rating (usually 10). |
| rating.word | string | No | Rating label, e.g. 'Excellent', when shown. |
| rating.count | integer | No | Number of guest reviews. |
| tagline | string | No | One-line property summary. |
| description | string | No | Property description. |
| about | array<string> | No | 'About this property' paragraphs and bullet points. |
| amenities | array<object> | No | Amenities grouped by category. |
| amenities[].scope | string | No | 'Property amenities' or 'Room amenities'. |
| amenities[].category | string | No | E.g. 'Internet', 'Food and drink'. |
| amenities[].items | array<string> | No | |
| policies | array<object> | No | Check-in/out, pets, children, payment and other policies. |
| policies[].title | string | No | |
| policies[].items | array<string> | No | |
| important_information | array<object> | No | Fees, optional extras and other things to know. |
| important_information[].title | string | No | |
| important_information[].items | array<string> | No | |
| location | object | No | |
| location.neighborhood_description | string | No | |
| location.area | string | No | |
| location.nearby | array<object> | No | |
| location.nearby[].name | string | No | |
| location.nearby[].distance | string | No | |
| location.nearby[].travel_time | string | No | |
| faqs | array<object> | No | |
| faqs[].question | string | No | |
| faqs[].answer | string | No | |
| photo_count | integer | No | Number of photos of the property. |
| photo_categories | array<object> | No | |
| photo_categories[].name | string | No | |
| photo_categories[].count | integer | No | |
| photos | array<object> | No | Property photos (up to 60). |
| photos[].url | string | No | |
| photos[].thumbnail | string | No | |
| photos[].description | string | No | |
| time_taken | number | No | Seconds taken. |
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/details?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
hotel_url,location example,US
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / 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. |