# OTA rate comparison

Best for: Rate parity in one call. Category: Hotel prices and metasearch.

One call fans out to Booking.com, Hotels.com, Agoda and Expedia for the same stay and returns each source with its status, plus the minimum and spread when the prices are comparable. A blocked source does not sink the others: you get a partial answer you can see.

- Look up by: The identifier of each OTA you want compared
- Coverage: Booking.com, Hotels.com, Agoda and Expedia
- Cost: 30 credits a call; failed and empty calls are free
- Answers: Prices

## Endpoints

- `GET /v1/ota/sources`: OTA sources, free. https://scrapercompany.com/docs/reference/ota-sources
- `POST /v1/ota/compare`: OTA compare, 30 credits. https://scrapercompany.com/docs/reference/ota-compare

## Example

OTA compare (`POST /v1/ota/compare`):

```bash
curl -X POST "https://api.scrapercompany.com/v1/ota/compare" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "check_in": "2026-12-25",
    "nights": 1,
    "currency": "USD",
    "booking_pagename": "moxy-boston-downtown",
    "booking_country": "us",
    "hotels_property_id": "38766175",
    "hotels_market": "US",
    "agoda_property_id": "8795952",
    "expedia_property_id": "38766175",
    "expedia_market": "US"
  }'
```

## Good to know

- comparison.comparable is false for a single priced source, mixed currencies or mixed price bases; minima and spreads are then left out rather than guessed.
- GET /v1/ota/sources lists what each OTA can answer and what it costs, for free.

## Guides

- [Compare OTA rates for one night](https://scrapercompany.com/docs/guides/compare-ota-rates)

- [All data sources](https://scrapercompany.com/docs/data-sources)
