# Expedia Details API (expedia.profile)

- Canonical page: [https://everyinfra.com/en/expedia-api/profile](https://everyinfra.com/en/expedia-api/profile?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "expedia", "action": "profile", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=expedia&action=profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| hotel_id | platform-native meaning |
| hotel_name | platform-native meaning |
| hotel_url | platform-native 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 | platform-native meaning |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| star_rating | platform-native meaning |
| property_type | platform-native meaning |
| address | Full address, passed through as is. |
| latitude | platform-native meaning |
| longitude | platform-native meaning |
| provider | platform-native meaning |
| category_ratings | platform-native meaning |
| languages | platform-native meaning |
| review_summary | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "expedia",
        "action": "profile",
        "params": {
            "url": "https://www.expedia.com/Tokyo-Hotels-Park-Hyatt-Tokyo.h20264.Hotel-Information",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=expedia
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
