> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Expedia Hotels

> Read an Expedia hotel search page with a destination as JSON with the expedia-hotels parser. $1 per 1,000 calls. Send the page to scrape.

Reads an Expedia hotel search page with a destination, like expedia.com/Hotel-Search?destination=Paris, and returns a list of listings as JSON.

## Make a request

Send the page's URL to [scrape](https://docs.stophy.dev/api-reference/endpoint/scrape.md) with a `json` format that names the parser. Get an API key in the [Quickstart](https://docs.stophy.dev/quickstart).

```bash cURL theme={null}
curl -X POST https://api.stophy.dev/v1/scrape \
  -H "Authorization: Bearer $STOPHY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.expedia.com/Hotel-Search?destination=Paris&startDate=2026-12-10&endDate=2026-12-12&adults=2","formats":[{"type":"json","parser":"expedia-hotels"}]}'
```

```typescript TypeScript theme={null}
const response = await fetch("https://api.stophy.dev/v1/scrape", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://www.expedia.com/Hotel-Search?destination=Paris&startDate=2026-12-10&endDate=2026-12-12&adults=2",
    formats: [{ type: "json", parser: "expedia-hotels" }],
  }),
});
console.log(await response.json());
```

```python Python theme={null}
import os

import requests

response = requests.post(
    "https://api.stophy.dev/v1/scrape",
    headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
    json={
        "url": "https://www.expedia.com/Hotel-Search?destination=Paris&startDate=2026-12-10&endDate=2026-12-12&adults=2",
        "formats": [{"type": "json", "parser": "expedia-hotels"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `results`, `cursor`, `page` and `total`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "results": [
        {
          "id": "9619719",
          "url": "https://www.expedia.com/Paris-Hotels-Hotel-De-Roubaix.h9619719.Hotel-Information?chkin=2026-12-10&chkout=2026-12-12&rm1…",
          "title": "Hotel de Roubaix",
          "description": null,
          "price": {
            "amount": 193,
            "currency": "USD"
          },
          "pricePeriod": "night",
          "status": null,
          "address": null,
          "location": null,
          "bedrooms": null,
          "bathrooms": null,
          "area": null,
          "propertyType": null,
          "rating": 4.7,
          "reviewCount": 1581,
          "images": [
            "https://images.trvl-media.com/lodging/10000000/9620000/9619800/9619719/7f5c6c38.jpg?impolicy=resizecrop&ra=fit&rw=455&r…"
          ],
          "host": null,
          "neighborhood": "Paris",
          "ratingText": "Exceptional",
          "hasFreeCancellation": true,
          "amenities": [
            "restaurant",
            "airport-shuttle"
          ],
          "totalPrice": {
            "amount": 438,
            "currency": "USD"
          },
          "totalPriceBefore": {
            "amount": 564,
            "currency": "USD"
          }
        }
      ],
      "cursor": null,
      "page": null,
      "total": 482
    }
  }
}
```

## Options

Send options in the `options` object of the `json` format.

| Option | What it does |
| - | - |
| `sort` | Expedia's own sort: relevance (Recommended), priceLow (lowest price first) or rating (guest rating). |
| `page` | Page number, starting at 1. |

## Price

\$1 per 1,000 calls. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be an Expedia hotel search page with a destination, like expedia.com/Hotel-Search?destination=Paris. Any other URL fails with `invalidRequest`.
* The answer comes back in `data.json`. If the page cannot be read, the call fails with an error code from [Errors](https://docs.stophy.dev/api-reference/errors.md).

## Related

* [Pre-built parsers](https://docs.stophy.dev/scrape/prebuilt-parsers) lists every parser.
* [Scrape](https://docs.stophy.dev/scrape/overview) has the options every scrape takes.
* [Google Maps](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/google-maps.md)
* [Google Maps place](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/google-maps-place.md)
* [Google Maps reviews](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/google-maps-reviews.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.