Rate limits
Limits count requests per key in fixed one-minute windows. Every route counts except GET /signing-keys.
Limits#
| Key | Limit per minute |
|---|---|
| Secret key | 60 requests |
| Publishable key | 600 requests in total, and 60 from any one visitor IP address |
A secret key is one website server, so all of your server's calls share its 60. A publishable key is shared by every visitor of the website, hence the larger total with a cap per visitor.
Over the limit#
Tulo answers 429 rate_limited with a Retry-After header: the seconds to wait. The browser can read it on publishable-key responses.
HTTP
HTTP/1.1 429 Too Many Requests
Retry-After: 23
Content-Type: application/json
{"error": {"code": "rate_limited", "message": "..."}}If the limiter itself is unavailable, Tulo refuses rather than letting requests through: 503 rate_limit_unavailable. Retry later.
Staying under#
- Read the calendar once per range and cache it for a minute or two on your side, instead of once per date picker click.
- Quote when the guest has chosen dates and a party, not on every keystroke.
- Reconcile with one
GET /bookingsper date range (up to 500 bookings per call) rather than oneGET /bookings/{id}per booking. Webhooks tell you about changes as they happen; see Webhooks.
