Skip to content

Simple quote

GET /v1/quotes returns the quote for one hotel. Identify it by hotel_id (preferred: resolves directly, with no matching step) or, if you don’t have one yet, by name + city/lat/lon so matching can confirm the right hotel by GPS distance.

Ventana de terminal
curl "https://api.rateshooter.com/v1/quotes?hotel_id=2008&checkin=2026-12-10&checkout=2026-12-11&adults=2" \
-H "Authorization: Bearer <your_api_key>"
200 OK
{
"status": "ok",
"hotel": {
"resolved_name": "Grand Oasis Cancun",
"hotel_id": 2008
},
"offers": [
{
"vendor": "The Grand Oasis Cancun - All Inclusive",
"price_per_night": 244.62436,
"total_price": 244.62436,
"taxes_included": true
},
{
"vendor": "Super.com",
"price_per_night": 185.50781,
"total_price": 185.50781,
"taxes_included": true
},
{
"vendor": "trivago DEALS",
"price_per_night": 194.74443,
"total_price": 194.74443,
"taxes_included": true
},
{
"vendor": "klook",
"price_per_night": 189.70154,
"total_price": 189.70154,
"taxes_included": true
},
{
"vendor": "Traveluro",
"price_per_night": 192.82333,
"total_price": 192.82333,
"taxes_included": true
},
{
"vendor": "goseek.com",
"price_per_night": 203.48438,
"total_price": 203.48438,
"taxes_included": true
},
{
"vendor": "Billabook.com",
"price_per_night": 210,
"total_price": 210,
"taxes_included": true
},
{
"vendor": "Expedia.mx",
"price_per_night": 301.96912,
"total_price": 301.96912,
"taxes_included": true
},
{
"vendor": "Despegar",
"price_per_night": 301.375,
"total_price": 301.375,
"taxes_included": true
},
{
"vendor": "Priceline",
"price_per_night": 297.90625,
"total_price": 297.90625,
"taxes_included": true
},
{
"vendor": "Booking.com",
"price_per_night": 297.90625,
"total_price": 297.90625,
"taxes_included": true
},
{
"vendor": "Evendo",
"price_per_night": 230.56097,
"total_price": 230.56097,
"taxes_included": true
},
{
"vendor": "Hoteles.com",
"price_per_night": 301.96912,
"total_price": 301.96912,
"taxes_included": true
},
{
"vendor": "Agoda",
"price_per_night": 297.90625,
"total_price": 297.90625,
"taxes_included": true
},
{
"vendor": "Qantas Hotels",
"price_per_night": 302.14362,
"total_price": 302.14362,
"taxes_included": true
},
{
"vendor": "Central de Reservas",
"price_per_night": 245.76666,
"total_price": 245.76666,
"taxes_included": true
},
{
"vendor": "Hotel prive",
"price_per_night": 292.5,
"total_price": 292.5,
"taxes_included": true
},
{
"vendor": "HomeToGo",
"price_per_night": 254.875,
"total_price": 254.875,
"taxes_included": true
},
{
"vendor": "Trip.com",
"price_per_night": 310.22986,
"total_price": 310.22986,
"taxes_included": true
},
{
"vendor": "Closest Hotel",
"price_per_night": 302.875,
"total_price": 302.875,
"taxes_included": true
}
],
"meta": {
"offers_count": 20,
"billable": true
},
"stay": {
"checkin": "2026-12-10",
"checkout": "2026-12-11",
"nights": 1,
"adults": 2,
"rooms": 1,
"children": [],
"currency": "USD"
}
}
Parameter Required Description
hotel_id no* The hotel’s id. Preferred: resolves directly, with no matching.
hotel_ref no* An id you already have, prefixed with namespace:id (e.g. code:100231).
name no* Only when you don’t have an id. Searches our catalogue by name.
city no Context for humans; not used for matching.
lat / lon no Send them together with name: GPS distance confirms the match.
country no ISO-3166-1 alpha-2. Narrows candidates when matching by name.
phone no Only its last 8 digits are compared. Can promote a candidate.
checkin / checkout yes YYYY-MM-DD. checkout must be after checkin.
adults yes Adults in the stay.
rooms no Rooms. Default 1.
children no Children’s ages, comma-separated (0 to 17).
currency no Default USD.
market no Point of sale. Default mx.
max_age no Acceptable cache age, in seconds. 0 forces a live lookup. Default 300.
max_wait_ms no How long this request waits for a high-occupancy cell to warm up.

* You must send at least one of hotel_id, hotel_ref or name.

  • hotel: the resolved hotel (resolved_name, hotel_id).
  • offers: one entry per channel with an offer. price_per_night always includes taxes — it’s the only field comparable across channels.
  • meta.offers_count: how many channels responded. meta.billable: whether this call is charged (see what gets charged).
  • stay: the normalized stay this quote used.
Header What it reports
X-HotelQuotes-Charged How many hotel-quotes this call charged.
X-Quota-Limit / X-Quota-Used / X-Quota-Remaining Your monthly quota.
X-Request-Id This call’s identifier, useful for support.

A party that doesn’t fit the hotel’s rooms gets a 422, not a 200 with an empty list:

422 — rooms_insufficient
{
"status": "not_quotable",
"reason": "rooms_insufficient",
"min_rooms": 3,
"max_rooms": 14,
"message": "Este grupo necesita al menos 3 habitaciones"
}

min_rooms and max_rooms are always present in this case, so you can show the user the valid range without guessing. More cases in errors and limits.