# Expedia Search API (expedia.search)

- Canonical page: [https://everyinfra.com/en/expedia-api/search](https://everyinfra.com/en/expedia-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "expedia", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 24, max 200 per call
- 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=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Specifies the hotel destination for search actions or the pick-up location or full Expedia carsearch URL for car_rental. When a full URL is provided for car_rental, its embedded parameters override standalone date inputs. It does not query flight availability. |
| currency | not declared | no | not declared | Sets the display currency for hotel search pricing, defaulting to USD without modifying API billing currencies. It does not change the currency of car_rental results. |
| sort | enum: distance / price_asc / price_desc / top_rated | no | not declared | Hotel result order for `search`: `distance`, `price_asc`, `price_desc`, or `top_rated`. Without it, results follow Expedia's recommended order. |
| limit | integer (1–200) | no | 24 | The most rows to return in this call, an integer from 1 to 200. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| hotel_id | platform-native meaning |
| name | Name of the object itself, for account, product and business capabilities. |
| url | Link to the record on the platform. |
| neighborhood | platform-native meaning |
| region | 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 |
| price_per_night | platform-native meaning |
| price_total | platform-native meaning |
| discount_percent | platform-native meaning |
| vip_access | platform-native meaning |
| latitude | platform-native meaning |
| longitude | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| provider | 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": "search",
  "params": {
    "keyword": "Paris"
  }
}'
```

```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": "search",
        "params": {
            "keyword": "Paris",
        },
    },
    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; the list keeps the first 2 of 24. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "expedia",
  "action": "search",
  "results": [
    {
      "hotel_id": "565298",
      "name": "Hotel Des Arts Paris Montmartre",
      "url": "https://www.expedia.com/Paris-Hotels-Hotel-Des-Arts-Paris-Montmartre.h565298.Hotel-Information?chkin=2026-10-26&chkout=2026-10-27&x_pwa=1&rfrr=HSR&pwa_ts=1790415006926&referrerUrl=aHR0cHM6Ly93d3cuZXhwZWRpYS5jb20vSG90ZWwtU2VhcmNo&useRewards=false&rm1=a2&regionId=2734&destination=P…",
      "neighborhood": "Montmartre",
      "region": "Paris, France",
      "rating": 9.8,
      "rating_label": "Exceptional",
      "review_count": 1017,
      "price_per_night": 206,
      "price_total": 246,
      "discount_percent": 9,
      "vip_access": false,
      "image_url": "https://images.trvl-media.com/lodging/1000000/570000/565300/565298/bffb8f88.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
      "provider": "expedia",
      "platform": "expedia",
      "rating_scale": 5
    },
    {
      "hotel_id": "9619719",
      "name": "Hotel de Roubaix",
      "url": "https://www.expedia.com/Paris-Hotels-Hotel-De-Roubaix.h9619719.Hotel-Information?chkin=2026-10-26&chkout=2026-10-27&x_pwa=1&rfrr=HSR&pwa_ts=1790415006928&referrerUrl=aHR0cHM6Ly93d3cuZXhwZWRpYS5jb20vSG90ZWwtU2VhcmNo&useRewards=false&rm1=a2&regionId=2734&destination=Paris%2C+France…",
      "neighborhood": "Paris",
      "region": "Paris, France",
      "rating": 9.4,
      "rating_label": "Exceptional",
      "review_count": 1533,
      "price_per_night": 214,
      "price_total": 243,
      "discount_percent": 10,
      "vip_access": false,
      "image_url": "https://images.trvl-media.com/lodging/10000000/9620000/9619800/9619719/7f5c6c38.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
      "provider": "expedia",
      "platform": "expedia",
      "rating_scale": 5
    }
  ],
  "count": 24,
  "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
