> Full index: https://docs.buchungapp.com/llms.txt
> Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples.

# Rate limits

## Storefront request budgets [#storefront-request-budgets]

| Scope | Requests per minute |
| --- | ---: |
| Client address (before key resolution) | 1200 |
| Booking channel and client address, reads (GET and POST `/query`) | 600 |
| Booking channel and client address, checkout handoff | 60 |

Budgets use fixed one-minute windows keyed by client IP (IPv6 counted by `/64` prefix). Cheap checks (URL length, body size, credential format and locale syntax) run before spending budget.

Because storefront limits count per channel **and** per client IP, calling the API directly from the visitor's browser gives each visitor their own budget. If you proxy requests through a server, all visitors arrive from your server's IP and share one budget of 600 reads and 60 handoffs per minute. See [authentication](/docs/developers/authentication#can-a-browser-use-a-channel-key).

POST catalogue queries (`/activities/query`, `/availabilities/query`, `/activities/{id}/availabilities/query`) share the GET read bucket and enforce a 16 KiB body cap.

## Response headers [#response-headers]

Responses include `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix timestamp in seconds), all exposed through CORS. On `429 rate_limited`, honor `Retry-After` (in seconds) and back off with jitter.

## Degraded states and timeouts [#degraded-states-and-timeouts]

- **Limiter outage:** reads fall back to per-instance limiting, while checkout handoffs and management writes fail safely with `503 service_unavailable` and `Retry-After: 30`.
- **Exact-count timeout:** reads return `503 count_timeout` when exact counting exceeds its statement budget. Retry with backoff instead of displaying `0` or an estimate.

## Management API budgets [#management-api-budgets]

Backend integrations using `/management` endpoints have a per-machine budget (shared across that machine's credentials) of **600 reads/minute** and **300 writes/minute**, with a 64 KiB request body cap and 20 MiB PDF upload cap. See [Management API](/docs/developers/management-api).

