Expedia Details API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Read an Expedia hotel's property page from its url. Get star class, guest rating, category ratings, property type, address, coordinates, languages and review summary. Pass a single hotel page, not a search results page.
Send POST https://api.everyinfra.com/api/v1/social with platform set to expedia and action set to profile. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Expedia Details endpoint (expedia/profile).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to expedia and action to profile, and put the parameters inside params.
- Required parameters:
- url: Accepts a single hotel page URL from Expedia or compatible Hotels.com links to fetch property profiles or reviews. It does not accept search result pages.
- Returns one object. Main fields: hotel_id, hotel_name, hotel_url, rating, rating_scale, rating_label, review_count, star_rating, property_type, address, latitude, longitude; 16 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=expedia.
- Example request body:
{
"platform": "expedia",
"action": "profile",
"params": {
"url": "https://www.expedia.com/Tokyo-Hotels-Park-Hyatt-Tokyo.h20264.Hotel-Information"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | expedia | Platform identifier, fixed value. |
action | body | string | Yes | profile | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Accepts a single hotel page URL from Expedia or compatible Hotels.com links to fetch property profiles or reviews. It does not accept search result pages. Car rental queries must pass full search URLs via the keyword parameter instead. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "expedia",
"action": "profile",
"params": {
"url": "https://www.expedia.com/Tokyo-Hotels-Park-Hyatt-Tokyo.h20264.Hotel-Information"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "expedia", "action": "profile", "results": { "hotel_id": "20264", "hotel_name": "Channel Inn", "hotel_url": "https://www.expedia.com/Tokyo-Hotels-Park-Hyatt-Tokyo.h20264.Hotel-Information", "rating": 6.6, "review_count": 1000, "address": { "street": "650 Water St Sw", "city": "Washington", "region": "DC", "postal_code": "20024", "country": "USA" }, "latitude": 38.87778, "longitude": -77.02241, "provider": "expedia", "category_ratings": [ { "label": "Cleanliness", "percent": 70 }, { "label": "Staff & service", "percent": 65 }, { "label": "Property conditions & facilities", "percent": 57 } ], "platform": "expedia", "rating_scale": 5 }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
hotel_id | Keeps the platform's own meaning |
hotel_name | Keeps the platform's own meaning |
hotel_url | Keeps the platform's own meaning |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
rating_label | Keeps the platform's own meaning |
review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
star_rating | Keeps the platform's own meaning |
property_type | Keeps the platform's own meaning |
address | Full address, passed through as is. |
latitude | Keeps the platform's own meaning |
longitude | Keeps the platform's own meaning |
provider | Keeps the platform's own meaning |
category_ratings | Keeps the platform's own meaning |
languages | Keeps the platform's own meaning |
review_summary | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Expedia: Hotel Classifications on Property Pages ↗
Expedia distinguishes hotel star classifications from separate national ratings used in some regions, and a classification does not guarantee every listed amenity. On a property record, `star_rating` is not an average guest score or a universal hardware certification.
Checked 2026-09-04