Logocowtic
Public API

Rate limits

RateLimit response headers, Retry-After, and 429 handling

Limits are applied per API key using a fixed window (default 120 requests / 60 seconds). Exact values may be configured on the server.

Response headers

Every authenticated Public API response includes:

HeaderMeaning
RateLimit-LimitMaximum requests allowed in the current window
RateLimit-RemainingRemaining requests in the window
RateLimit-ResetUnix timestamp (seconds) when the window resets

When you exceed the limit

The API responds with 429 Too Many Requests and:

  • Retry-After — seconds to wait before retrying
  • application/problem+json with type https://cowtic.com/problems/rate-limited
HTTP/1.1 429 Too Many Requests
RateLimit-Limit: 120
RateLimit-Remaining: 0
RateLimit-Reset: 1721491200
Retry-After: 60
Content-Type: application/problem+json

Client guidance

  1. Read RateLimit-Remaining and slow down before hitting zero when possible.
  2. On 429, wait at least Retry-After seconds (exponential backoff is fine on top).
  3. Spread bursts; prefer background jobs over tight loops.
  4. Use separate keys per integration if you need independent budgets.

On this page