API action
Get rates(the price of each night)
Read the price of each night, as ZimmerStack holds it now.
About this action
- What it does
- Gives the price of every of the hotel, night by night, for the dates you ask for.
- When to use it
- To show a calendar in your software, or to compare ZimmerStack's prices with your own. You do not need it before an update.
- Who can use it
- A or a . A company key names the hotel with the . The key needs the
ari:read. - Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/rates
What you send
At the end of the address, after a question mark:
- from
- Optional. The first night, like
2026-12-24. Without it: today, on the calendar of the hotel. - to
- Optional. The last night. Without it: 30 days after
from.
Things to know
- The answer comes from ZimmerStack's own record. It is the price ZimmerStack holds and sends to the OTAs. ZimmerStack does not ask an for it.
- Read the field named rate. It is the price as you send it, like
"4500.00". You never divide or multiply by 100. - One request reads a limited number of nights. It can read up to 500 nights. For a longer time, send several requests.
The request, in your language
Show the examples for
A sandbox's own key works for one hotel: choose "A hotel key" for it.
Put your key in place of zsk_test_YOUR_KEY, and your hotel's property id in place of YOUR_PROPERTY_ID.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/rates?from=2026-12-24&to=2026-12-26" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "X-ZS-Property: YOUR_PROPERTY_ID"Put your key in place of zsk_test_YOUR_KEY. A hotel key works for one hotel, so the request does not name the hotel.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/rates?from=2026-12-24&to=2026-12-26" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The is 200. The answer is a list named cells: one item for each rate plan and each night.
{
"statuscode": 200,
"message": "OK",
"data": {
"from": "2026-12-24",
"to": "2026-12-26",
"currency": "INR",
"decimals": 2,
"cells": [
{
"ratePlanId": 901,
"date": "2026-12-24",
"rate": "4500.00",
"rateMinor": 450000,
"source": "MANUAL"
},
{
"ratePlanId": 901,
"date": "2026-12-25",
"rate": "5200.00",
"rateMinor": 520000,
"source": "MANUAL"
},
{
"ratePlanId": 901,
"date": "2026-12-26",
"rate": "5200.00",
"rateMinor": 520000,
"source": "MANUAL"
},
{
"ratePlanId": 904,
"date": "2026-12-24",
"rate": "4000.00",
"rateMinor": 400000,
"source": "PLAN_DEFAULT"
},
{
"ratePlanId": 904,
"date": "2026-12-25",
"rate": "4000.00",
"rateMinor": 400000,
"source": "PLAN_DEFAULT"
},
{
"ratePlanId": 904,
"date": "2026-12-26",
"rate": "4000.00",
"rateMinor": 400000,
"source": "PLAN_DEFAULT"
}
]
}
}- from, to
- The first and the last night of the answer.
- currency
- The of the hotel. Every price in the answer is in it.
- decimals
- How many digits the currency has after the point. Rupees have 2.
- cells
- The list. One night of one rate plan is one .
- ratePlanId
- The id of the rate plan.
- date
- The night.
- rate
- The price of this night, as text. It has the same form as the price in Update rates.
- rateMinor
- The same price multiplied by 100, as a whole number. So
450000is 4500.00. Userate, not this. - source
- Where the price came from.
MANUALmeans your software or a person set it.
Common mistakes
- 400 RANGE_INVALID
tois beforefrom, or the range is longer than 500 nights.- 400 VALIDATION
- A date is not written like
2026-12-24.
Other errors this request can give
- 401 API_KEY_INVALID
- The key is not right. Copy it again, all of it, with no space before or after.
- 400 PROPERTY_REQUIRED
- You hold a company key and did not name the hotel. Add the
X-ZS-Propertyheader. - 404 PROPERTY_NOT_FOUND
- The property id is not one of your hotels. Use an id from List your hotels.
- 403 SCOPE_MISSING
- The key is not allowed to do this. It needs the scope
ari:read. - 403 IP_NOT_ALLOWED
- The key only works from the addresses its owner allowed.
- 429 RATE_LIMITED
- Too many requests in a short time. Wait the number of seconds in the
Retry-Afterheader, then send again. - 401 API_KEY_REVOKED
- The key was switched off, or it was replaced and its extra 24 hours are over. Ask the key's owner for the new key. Nothing else makes this key work.
- 409 ARI_NOT_AUTHORITATIVE
- The hotel is not live yet: your software is not its source of truth, so nothing was saved. GET /readiness says what is missing, and POST /go-live makes the switch. To send rates before that, add the header X-ZS-Before-Go-Live: true. It is the same for a company key and for a hotel's own key: a hotel key with ari:read or ari:write can be made before its hotel is live.
- 409 CHANNEL_MANAGER_DISABLED
- The hotel's channel manager is off, so nothing would be sent to an OTA. details.reason says why. not_on_channel_manager: the hotel was never put on it. With a company key, send its room types and rate plans (PUT /catalog/room-types, then PUT /catalog/rate-plans), or press Finish setup in the Channels app. Either puts it there. switched_off: the hotel's owner switched it off. Only the owner can switch it back on.
- 409 PROPERTY_UNAVAILABLE
- The hotel is deleted or is a demo. Or a test key was used on a real hotel, or a live key on a sandbox. Check which key you send. If the key is right, contact the hotel's owner.
Try it now
No code and no install. This box sends a real request to your . It works with a only, so it can never change a real hotel.
Try it here: get rates
It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.
Go deeper
- Money: How to send a price, in any currency.
Words on this page
- Rates
- The price of a room for one night. Learn more
- Rate plan
- One way to sell a room type, with its own price. For example Room only, or With breakfast.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- Hotel key
- A key that works for one hotel only. The hotel's owner makes it, or a partner makes it for a hotel it added.
- X-ZS-Property
- The header that tells ZimmerStack which hotel a request is for. Its value is the property id.
- Header
- A small piece of extra information sent with a request, like your key.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- OTA
- Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- Currency
- The money a hotel sells in, like INR for rupees or USD for dollars.
- Cell
- One night of one room type or rate plan. An update for 3 nights of 1 room type is 3 cells.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
New here? Start with the partner path or the one-hotel path.
Routes, samples, limits and codes on this page come from the API's public contract, read live, Fri, 04 Dec 2026 16:20:29 UTC.