Rate Limits
API usage limits, tier details, and best practices for efficient API consumption.
Overview
The HOLE Foundation API implements rate limiting to ensure fair usage and service reliability for all users. Limits are applied per authentication token and reset on a rolling window basis.
Rate Limit Tiers
Free Tier
Perfect for experimentation and small projects.
Cost: Free Signup: Get started
Standard Tier
For production applications and regular use.
Cost: $29/month Upgrade: Contact sales
Premium Tier
For high-volume applications and enterprise use.
Cost: $199/month Custom: Enterprise pricing available
Enterprise Tier
Custom limits and SLA for mission-critical applications.
- Custom rate limits
- Dedicated support
- SLA guarantees
- Priority access
- Custom integrations
Contact: Enterprise sales
Rate Limit Headers
Every API response includes rate limit information:
Header Descriptions
Example Response
Rate Limit Exceeded
When you exceed your rate limit, you’ll receive a 429 Too Many Requests response:
Response includes Retry-After header:
Handling Rate Limits
TypeScript
Check rate limit headers:
Automatic Retry
Python
Best Practices
1. Cache Responses
Reduce API calls by caching common queries:
2. Batch Requests
Combine multiple queries when possible:
3. Monitor Usage
Track your rate limit usage:
4. Request Prioritization
Prioritize important requests:
5. Implement Circuit Breaker
Prevent repeated failures:
Rate Limit Exemptions
Some operations don’t count against rate limits:
- Health check endpoint (
/health) - Authentication/token validation
- Rate limit status queries
- Error responses (4xx, 5xx)
Upgrading Your Tier
Check Current Usage
View your current tier and usage in the dashboard:
Contact Sales
To upgrade your tier:
- Review your usage patterns
- Estimate future needs
- Contact sales: api@theholefoundation.org
- Upgrade effective immediately
Common Questions
Do failed requests count?
- ✅ Successful requests (2xx): Count against limit
- ✅ Client errors (4xx): Count against limit
- ❌ Server errors (5xx): Don’t count against limit
- ❌ Rate limit errors (429): Don’t count against limit
When do limits reset?
Rate limits reset on a rolling window basis. For example, if you use 50 requests at 10:00 AM, those 50 “credits” become available again at 11:00 AM.
Can I increase my limits temporarily?
Yes! For special events or temporary high-volume needs:
- Email api@theholefoundation.org
- Explain your use case
- Specify duration needed
- Temporary increase granted within 24 hours
What happens if I exceed limits?
- You’ll receive a
429error - Additional requests blocked until reset
- No charges or penalties
- Suggested to upgrade tier if consistent
Related Pages
- Authentication - Authentication setup
- Errors - Error handling
- TypeScript SDK - SDK configuration
- Python SDK - SDK configuration
Support
Questions about rate limits?
- 📧 Email: api@theholefoundation.org
- 💬 Discord: Join our community
- 📊 Dashboard: View your usage