Rate Limits
The Submagic API implements rate limiting to ensure fair usage and maintain service quality for all users. Different endpoints have different rate limits based on their resource intensity.Rate Limit Tiers
Lightweight
1000 requests/hour - Languages endpoint - Templates endpoint
Standard
100 requests/hour - Project retrieval
Upload
30 requests/hour - File upload endpoint, Project creation
Rate Limit Headers
Every API response includes rate limit information in the headers: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 Exceeded
When you exceed the rate limit, you’ll receive a429 Too Many Requests
response:
retryAfter
: Seconds to wait before making another requestRetry-After
header: Same information asretryAfter
field
Best Practices
1. Implement Exponential Backoff
When you receive a 429 response, implement exponential backoff:2. Monitor Rate Limit Headers
Track your remaining requests to avoid hitting limits:3. Use Webhooks
Instead of polling for status updates, use webhooks to get notified when processing completes:Rate Limit by Endpoint
Endpoint | Method | Rate Limit |
---|---|---|
/v1/languages | GET | 1000/hour |
/v1/templates | GET | 1000/hour |
/v1/projects/:id | GET | 100/hour |
/v1/projects | POST | 30/hour |
/v1/projects/upload | POST | 30/hour |
Increasing Rate Limits
If you need higher rate limits for your application:1
Contact Support
Reach out to our support team with your use case details
2
Provide Usage Patterns
Share information about your expected request volume and patterns
3
Review and Approval
Our team will review your request and may offer custom rate limits
4
Enterprise Plans
Consider our enterprise plans for guaranteed higher limits
Need Higher Limits?
Contact our team at support@submagic.co to
discuss enterprise plans with custom rate limits.