Books by finzkoDevelopers

Rate limits

Fixed 60-second windows, counted per token (per IP when there is no token). Headers on every response tell you where you stand.

Tiers

TierCounted byRequests / minute
DefaultBearer token600
AnonymousClient IP address60

Default applies to every request that carries a Authorization: Bearer … header. Anonymous applies to requests with no bearer token, such as GET /ping and the partner provisioning calls that authenticate with X-Partner-Key. They share one 60/minute budget per IP address, so several callers behind one NAT share it. The OpenAPI, Swagger UI and Redoc pages are not rate limited.

A token can carry a PARTNER tier (3,000 requests per minute), shown as tier by GET /whoami. Today the limiter does not read that field: the limit it enforces is the X-RateLimit-Limit value on your responses, which is 600 unless FinzBooks has set a higher limit for your token. If your integration needs more, contact us and check that header afterwards.

Headers

Every response includes:

X-RateLimit-Limit:      600
X-RateLimit-Remaining:  587
X-RateLimit-Reset:      28

Reset is the number of seconds left in the current window, not a timestamp. Windows are aligned to the clock minute, so the counter resets at the top of each UTC minute regardless of when your first request arrived. A burst at the end of one window and the start of the next can therefore total close to twice the limit.

When you hit the limit

HTTP/1.1 429 Too Many Requests
Retry-After: 28
X-RateLimit-Limit: 600
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 28

{
  "code": "rate_limit.exceeded",
  "message": "Per-token rate limit (600/min) exceeded. Retry after 28s."
}

Honour Retry-After— it's the seconds until the window ends (same value as X-RateLimit-Reset). Don't hammer. The 429 body is a flat { code, message } without a request_id.

Best practices

  • Watch X-RateLimit-Remainingand back off when it's low rather than waiting for a 429.
  • Use cursor pagination with per_page=200 for bulk reads — fewer requests, faster.
  • Use the Idempotency-Keyheader so a transient 429 retry doesn't create duplicate resources.