---
title: "Rate limits | Hostemi"
description: "Per key and per route, the RateLimit headers on every answer, and what to do with a 429. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/api/rate-limits
source: https://hostemi.com/docs/api/rate-limits.md
---

# Rate limits

Per key and per route, the RateLimit headers on every answer, and what to do with a 429.

#### On this page

1. [Per key, per route](#per-key-per-route)
2. [Before a key is checked](#before-a-key-is-checked)
3. [Handling a 429](#handling-a-429)
4. [MCP and the CLI](#mcp-and-the-cli)

## Per key, per route

Each route has its own hourly budget for each key. Most writes allow 60 an hour; routes that cost more allow fewer, cheap reads more. The numbers that govern a call are on its answer:

| Header | Meaning |
| --- | --- |
| `RateLimit-Limit` | The budget of this route for this key. |
| `RateLimit-Remaining` | What is left of it. |
| `RateLimit-Reset` | Seconds until the window starts again (not a timestamp). |
| `RateLimit-Policy` | The budget and window, RFC 9331 style. |
| `Retry-After` | On a 429: seconds to wait. |

## Before a key is checked

Every address gets 240 calls a minute on `/public/v1` before authentication (a valid key does not lift that), so a health check on `/status` every second never notices it, and a stream of bad keys is cut off.

## Handling a 429

```bash
curl -s -i "$API/reservations" -H "Authorization: $HOSTEMI_KEY" | grep -i -E '^(HTTP|ratelimit|retry-after)'
```

- Slow down on `RateLimit-Remaining` before the 429 comes.
- On a 429 wait `Retry-After` seconds, then repeat the same call (with the same `Idempotency-Key` for a write).
- Budgets are per route: a busy export does not slow your calendar reads.

## MCP and the CLI

The CLI uses this API and these limits. The MCP server counts per workspace instead: [MCP limits](https://hostemi.com/docs/mcp/limits).

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
