Skip to main content

Rate Limiting

SMO1 uses Redis-based rate limiting to protect the API.

Limits

EndpointLimitWindow
General API100 requests1 hour
Link creation50 requests1 hour
Analytics200 requests1 hour

Headers

Rate limit information is included in response headers:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1704067200

Rate Limit Exceeded

When the rate limit is exceeded, the API returns:
HTTP/1.1 429 Too Many Requests
Retry-After: 3600

{
  "error": "rate limit exceeded",
  "retry_after": 3600
}

Notes

  • Rate limits are per API key or per IP address
  • Rate limiting requires Redis; if Redis is unavailable, rate limiting is disabled
  • Different limits may apply per plan tier