Rate Limits
Truedy API uses configurable rate limits to ensure fair usage and prevent abuse. Each API key has separate rate limits that can be customized.Rate Limit Tiers
API keys support three rate limit tiers:- Per Minute: Default 60 requests/minute
- Per Hour: Default 1,000 requests/hour
- Per Day: Default 10,000 requests/day
Rate Limit Headers
When rate limiting is enabled for your API key, responses may include rate limit headers such as:Rate Limit Exceeded
When a rate limit is exceeded, you’ll receive a429 Too Many Requests response:
Best Practices
Monitor Headers
Always check rate limit headers to avoid hitting limits
Implement Backoff
Use exponential backoff when rate limited
Request Higher Limits
Contact support to increase limits if needed
Use Multiple Keys
Distribute load across multiple API keys
Handling Rate Limits
Exponential Backoff
Check Remaining Quota
Usage Tracking
All API requests are logged and tracked. You can view usage statistics:- Per API Key: See usage in the dashboard or via API
- Per Endpoint: Track which endpoints are called most
- Per Time Period: Hourly, daily, weekly analytics
- Error Rates: Monitor success vs error rates
Increasing Limits
To increase your rate limits:- Contact Support: Email support@truedy.ai
- Specify Requirements: Provide your use case and expected volume
- Upgrade Plan: Higher-tier plans include higher limits
Rate Limit Reset Times
- Minute: Resets at the start of each minute
- Hour: Resets at the start of each hour (e.g., 1:00 PM, 2:00 PM)
- Day: Resets at midnight UTC
X-RateLimit-Reset-* headers as Unix timestamps.
