Rate Limits
Rate limits control how many API requests you can make within a specific time period to ensure fair usage and system stability.
Overview
Rate Limits - All API endpoints have rate limits to prevent abuse and ensure reliable service for all users. Limits are applied per project and reset automatically after the time window.
Rate Limit Types
Read Operations
Limit: 1,000 requests per minute
Read operations retrieve data without modifying it:
db.find- Query documentsdb.count- Count documentsfile.get- Get file informationvdb.search- Search vectorsauth.verify_id_token- Verify tokensauth.settings- Get auth settings
Write Operations
Limit: 500 requests per minute
Write operations create, update, or delete data:
db.insert- Insert documentsdb.update- Update documentsdb.upsert- Update or insert documentsdb.delete- Delete documentsdb.archive- Archive documentsdb.restore- Restore documentsfile.presign_upload- Upload filesfile.update- Update file metadatafile.delete- Delete filesvdb.insert- Insert vectorsvdb.delete- Delete vectorsauth.signup- Register usersauth.signin- Sign in usersauth.update_profile- Update profileauth.update_account- Update account- All
baseai.*operations
Rate Limit Headers
Every API response includes rate limit information in the headers:
http
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1705651200Headers:
- 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 limit resets
Rate Limit Response
When you exceed the rate limit, the API returns a 429 status code:
json
{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Try again in 45 seconds.",
"details": {
"limit": 1000,
"remaining": 0,
"reset_at": 1705651200,
"retry_after": 45
}
}
}Error fields:
- limit - Maximum requests allowed
- remaining - Requests remaining (0 when exceeded)
- reset_at - Unix timestamp when limit resets
- retry_after - Seconds to wait before retrying
Rate Limit by Plan
Rate limits may vary based on your subscription plan: Solo, Pro, Team, Enterprise.
Note: Actual limits for your project can be found in your Singlebase Console under Project Settings.
Support
If you consistently hit rate limits and need higher limits:
- Review your implementation for optimization opportunities
- Consider upgrading your plan
- Contact support for custom enterprise limits
- Monitor usage patterns in the Singlebase Console
For questions about rate limits or to request limit increases, visit Singlebase Console or contact support.