Skip to main content
The Buena.ai API uses rate limiting to ensure fair usage and maintain system stability. All limits are applied per API key.

Current Limits

Per Minute

60 requests Short burst protection

Per Hour

1,000 requests Sustained usage limit

Per Day

10,000 requests Daily usage quota

Rate Limit Headers

Every API response includes rate limit information in the headers:

Header Descriptions

Rate Limit Exceeded Response

When you exceed a rate limit, the API returns a 429 Too Many Requests response:

Best Practices

When you receive a 429 response, wait before retrying:
Check headers before making requests:
Avoid bursts by spacing out requests:
Use bulk endpoints to reduce request count:

Rate Limit Strategies

1. Proactive Monitoring

Monitor your usage with the stats endpoint:
Response:

2. Request Queuing

Implement a queue system for high-volume operations:

3. Intelligent Caching

Cache responses to reduce API calls:

Error Handling Examples

JavaScript/Node.js

Python

Monitoring and Alerts

Set up monitoring to track your API usage:

1. Usage Tracking

2. Alerting

Need Higher Limits?

If your application requires higher rate limits, contact our support team at support@buena.ai with:
  • Your use case description
  • Expected request volume
  • Current API key prefix
  • Business justification
We offer custom rate limits for enterprise customers and high-volume integrations.