Skip to content

API action

Get your limits(how many requests you may send)

See every limit of your key, and how much of each is left.

About this action

What it does
Gives every your key has. For each one: how much you may send, how much you used, and how much is left.
When to use it
Before a big update, and after an error 429 RATE_LIMITED. Your software can read it and slow down before a request is refused.
Who can use it
A or a . No scope is needed.
Address
GET https://api.zimmerstack.com/api/v1/connect-api/v1/limits

Things to know

  1. A company key can name a hotel, or not. Without the , the answer has the limits of your company. With it, the answer has the limits of that hotel too.
  2. Limits over an hour or a day are only here. The headers of every answer show the limits of one minute. The longer limits are in this answer only.
  3. Some limits are for one key, some for the whole hotel. The field per says which. A limit of the hotel is shared by every key of that hotel.

The request, in your language

Put your key in place of zsk_test_YOUR_KEY.

Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.

terminal
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/limits" -H "Authorization: Bearer zsk_test_YOUR_KEY"

What comes back

The is 200. The answer is a list of limits. Each one says how much is left.

response · status code 200
{
  "statuscode": 200,
  "message": "OK",
  "data": {
    "asOf": "2026-11-22T09:30:12.000Z",
    "key": {
      "kind": "hotel",
      "mode": "live",
      "propertyId": 61
    },
    "budgets": [
      {
        "scope": "requests",
        "header": "key",
        "per": "key",
        "window": "60 s sliding",
        "windowSeconds": 60,
        "quota": 120,
        "unit": "requests",
        "used": 3,
        "remaining": 117,
        "resetSeconds": 42,
        "counts": "every request on one key"
      },
      {
        "scope": "writes",
        "header": "key-writes",
        "per": "key",
        "window": "60 s sliding",
        "windowSeconds": 60,
        "quota": 30,
        "unit": "writes",
        "used": 1,
        "remaining": 29,
        "resetSeconds": 42,
        "counts": "every request on one key that is not a GET (PUT, POST and DELETE); a dry run (dryRun: true) is a write here"
      },
      {
        "scope": "cells",
        "header": "cells",
        "per": "property (all its keys)",
        "window": "60 s sliding",
        "windowSeconds": 60,
        "quota": 20000,
        "unit": "cells",
        "used": 730,
        "remaining": 19270,
        "resetSeconds": 42,
        "counts": "cells a property's writes name after range expansion, charged before anything is read or written. A dry run is charged the same cells as the write it previews; a close or a reopen (POST /availability/close) is charged the room type's count and each of its rate plans for every night"
      },
      {
        "scope": "property-bookings-day",
        "header": null,
        "per": "property (all its keys)",
        "window": "rolling 24 hours",
        "windowSeconds": 86400,
        "quota": 500,
        "unit": "bookings",
        "used": 12,
        "remaining": 488,
        "resetSeconds": 61200,
        "counts": "POST /bookings per property per ROLLING 24 HOURS (not per minute); the owner can raise it per property"
      }
    ],
    "shield": {
      "standing": {
        "level": "CLEAR",
        "reason": null,
        "until": null
      },
      "budgets": [
        {
          "scope": "cells-hour",
          "header": null,
          "per": "property (all its keys)",
          "window": "one clock hour (UTC)",
          "windowSeconds": 3600,
          "quota": 20440,
          "unit": "changed cells",
          "used": 43,
          "remaining": 20397,
          "resetSeconds": 1788,
          "counts": "changed cells, all of a property's keys together. At least this many; a larger property gets two of its own full calendars an hour. A dry run changes nothing and is never counted here"
        },
        {
          "scope": "cells-day",
          "header": null,
          "per": "property (all its keys)",
          "window": "rolling 24 hours",
          "windowSeconds": 86400,
          "quota": 61320,
          "unit": "changed cells",
          "used": 1138,
          "remaining": 60182,
          "resetSeconds": 40188,
          "counts": "changed cells, all of a property's keys together. At least this many; a larger property gets six of its own full calendars a day. A dry run changes nothing and is never counted here"
        }
      ]
    },
    "caps": [
      {
        "scope": "maxUpdatesPerRequest",
        "per": "request",
        "quota": 1000,
        "unit": "entries",
        "counts": "entries in one updates array (400 TOO_MANY_UPDATES past it)"
      },
      {
        "scope": "maxCellsPerRequest",
        "per": "request",
        "quota": 5000,
        "unit": "cells",
        "counts": "cells (entity × night) one request may name after range expansion (400 TOO_MANY_CELLS past it)"
      }
    ],
    "note": "Reading this spends nothing: each window is looked at, never reserved. remaining null means the budget is not counted where this route can read it; its quota still holds. The RateLimit headers on every answer carry the budgets that answer was measured against."
  }
}
key
Your key: its kind (hotel or company), its mode (live or test) and the hotel it named.
budgets
The limits, one item for each.
scope
The name of the limit. An error 429 names the same limit in data.scope.
per
Whose requests are counted together: one key, one hotel, or one company.
window
The time the limit is counted over, in words. For example 60 seconds.
quota
The most you may send in that time.
unit
What is counted: requests, writes, or bookings.
used, remaining
How much you used, and how much is left. Here null means it cannot be read on this request.
resetSeconds
How many seconds until there is room again.
shield
The limits of the hotel over an hour and a day. In it, standing.level is CLEAR when nothing holds your updates back. It is null when a company key named no hotel.
caps
The most one request may hold, like the number of cells in one update.

When a limit is used up

The answer to your request is then 429 RATE_LIMITED. Wait the number of seconds in the header. Then send the same request again.

Common mistakes

This request has no mistakes of its own. The ones below can happen on any request.

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.
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-After header, 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.
403 SCOPE_MISSING
The key does not hold the scope this request needs. The answer names it in details.needed. For example channel-bookings:read or direct-bookings:read to read bookings, or direct-bookings:cancel to cancel a website booking. The key's owner gives the scope when editing the key.
404 PROPERTY_NOT_FOUND
The property id is not a hotel this key may use. Read GET /properties again. The hotel's owner may have ended your access.
404 PROPERTY_REQUIRED
You hold a company key, and the request did not say which hotel. Add the header X-ZS-Property with the id of one of your hotels. The answer already lists the first 20 in details.properties (id and name), with details.total for how many there are. GET /properties lists them all.
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 your limits

It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.

Go deeper

  • Rate limits: How fast you may call the API, and what to do when you are told to wait.

Words on this page

Rate limit
How many requests you may send in a minute, an hour or a day.
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.
Status code
A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
Cell
One night of one room type or rate plan. An update for 3 nights of 1 room type is 3 cells.
Retry-After
A header in an answer. It says how many seconds to wait before you send again.
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 18:57:31 UTC.