Skip to main content
Rate limiting may be applied to ensure platform stability. If you exceed the limit for your API key, you’ll receive a 429 response.
{
  "success": false,
  "error": {
    "code": 429,
    "timestamp": "2024-01-01T00:00:00.000Z",
    "message": "Rate limit exceeded",
    "details": "error/rate_limit_exceeded"
  }
}

Handling Rate Limits

If you receive a 429 response, back off and retry after a short delay. Use exponential backoff to avoid hitting the limit again immediately. If you’re using the TypeScript SDK, the withRetry() utility handles this automatically:
import { withRetry } from 'legitmark';

const result = await withRetry(() => legitmark.sr.create(request));
If you have specific throughput requirements, contact accounts@legitmark.com.