Overview
Sardis enforces rate limits to ensure fair usage and platform stability. Rate limits are applied per API key.Rate Limit Tiers
| Tier | Requests/Minute | Requests/Hour | Requests/Day |
|---|---|---|---|
| Free | 60 | 1,000 | 10,000 |
| Starter | 300 | 10,000 | 100,000 |
| Pro | 1,000 | 50,000 | 500,000 |
| Enterprise | Custom | Custom | Custom |
Contact [email protected] for Enterprise rate limits.
Rate Limit Headers
Every API response includes rate limit information:Header Descriptions
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed in the current window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit resets |
Rate Limit Response
When you exceed the rate limit, you’ll receive a429 Too Many Requests response:
Rate Limit Windows
Rate limits are enforced across multiple time windows:- Per-second: Burst protection (10 requests/second)
- Per-minute: Primary rate limit (varies by tier)
- Per-hour: Secondary limit for sustained usage
- Per-day: Daily cap for total requests
Endpoint-Specific Limits
Some endpoints have stricter rate limits:Payment Operations
- Rate Limit: 10 requests/minute per wallet
- Reason: Prevent abuse and ensure payment safety
Webhook Management
- Rate Limit: 5 requests/minute
- Reason: Prevent webhook flooding
API Key Operations
- Rate Limit: 3 requests/minute
- Reason: Security-sensitive operations
Handling Rate Limits
Check Headers Before Calling
Exponential Backoff
Batch Operations
Use batch endpoints when available:Request Queuing
Implement a queue to manage request rate:Monitoring Rate Limit Usage
Check Current Usage
Dashboard Monitoring
View real-time rate limit usage in the Dashboard:- Current usage by endpoint
- Historical usage graphs
- Rate limit violations
- Recommendations for optimization
Rate Limit Best Practices
1. Cache Responses
Cache frequently accessed data:2. Use Webhooks
Instead of polling for updates, use webhooks:3. Parallel Requests
Use parallel requests within rate limits:4. Request Only What You Need
Use field filtering and pagination:Increasing Rate Limits
To increase your rate limits:- Upgrade your plan in the Dashboard
- Contact sales for Enterprise limits: [email protected]
- Optimize usage following best practices above