Overview
The Refine API implements rate limiting to ensure fair usage and maintain service reliability for all users. Rate limits are applied per organization based on your subscription tier.Rate Limit Tiers
Free Tier
Free Tier
- 100 requests per minute
- 1,000 requests per hour
- 10,000 requests per day
Professional
Professional
- 1,000 requests per minute
- 30,000 requests per hour
- 500,000 requests per day
Enterprise
Enterprise
- 10,000 requests per minute
- Custom hourly limits
- No daily limits
- Dedicated support
Rate Limit Headers
Every API response includes headers that show your current rate limit status:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed in the current window |
X-RateLimit-Remaining | Number of requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit window resets |
Rate Limit Response
When you exceed the rate limit, the API returns a429 Too Many Requests response:
Grace Period
Non-Enterprise subscriptions have a rate limit grace period. If your subscription expires or you exceed your quota, the API will continue to work for a limited time before returning 401 Unauthorized errors.
Best Practices
1. Implement Exponential Backoff
When you receive a 429 response, implement exponential backoff:2. Cache Responses
Reduce API calls by caching responses when appropriate:- Cache catalog listings for 5-10 minutes
- Cache product details for 1-5 minutes
- Never cache search results or recommendations
3. Batch Operations
Use batch endpoints when available:- Create multiple products in a single request
- Delete multiple products in one operation
- Process updates in batches rather than individually
4. Monitor Usage
Track your API usage to avoid hitting limits:Rate Limit Optimization
Use Webhooks
Subscribe to webhooks instead of polling for updates
Implement Caching
Cache frequently accessed data to reduce API calls
Batch Requests
Combine multiple operations into single requests
Use Filters
Apply filters to reduce response size and processing time
Need Higher Limits?
If you’re consistently hitting rate limits, consider:- Upgrading your plan - Higher tiers offer increased limits
- Contacting sales - Enterprise plans can be customized
- Optimizing your integration - Our team can help identify optimization opportunities
Contact Sales
Discuss custom rate limits for your use case