Skip to main content
The Leonar API enforces rate limits to ensure fair usage and platform stability.

Limits

Exception — POST /sourcing/advanced/profiles/search is not subject to the global per-API-key rate limit. Throughput on that endpoint is gated solely by the workspace’s sourcing credit balance (one credit consumed per profile returned). Standard X-RateLimit-* response headers are not returned for that endpoint.

Response headers

Every API response includes rate limit headers:

Handling rate limits

When you exceed the limit, the API returns a 429 status code:
Best practices:
  1. Check X-RateLimit-Remaining before making requests
  2. Use exponential backoff when you receive a 429
  3. Cache responses when possible to reduce API calls
  4. Use bulk endpoints (e.g., sequence enrollment accepts multiple contact IDs)