Skip to main content

Rate Limits

The Licentric API enforces rate limits to ensure fair usage and protect against abuse. Limits vary by endpoint tier.

Rate Limit Tiers

TierEndpointsLimitScope
VALIDATIONPOST /licenses/validate-key60 req/minPer IP address
ACTIVATIONPOST /machines10 req/minPer IP address
MANAGEMENTAll other API endpoints120 req/minPer API key
PUBLICPublic marketing pages300 req/minPer IP address

Response Headers

Every API response includes rate limit headers so your application can track usage proactively.

HeaderDescription
X-RateLimit-LimitMaximum number of requests allowed in the current window
X-RateLimit-RemainingNumber of requests remaining in the current window
X-RateLimit-ResetUnix timestamp (seconds) when the current window resets
Retry-AfterSeconds to wait before retrying (only present on 429 responses)

Example Response Headers

Response Headers
HTTP/1.1 200 OK
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1736942400

Rate Limited Response

When a rate limit is exceeded, the API returns HTTP 429 with a Retry-After header.

429Rate limit exceeded
json
{
  "error": "Rate limit exceeded. Retry after 42 seconds.",
  "code": "RATE_LIMITED",
  "status": 429
}
Handling Rate Limits
Implement exponential backoff with jitter in your client. Check the Retry-After header for the exact wait time before retrying.