API
Rate Limiting
The API enforces rate limits to ensure platform stability and fair usage.
Rate Limit
50 requests per minute per API key.
Rate Limit Headers
Each API response includes headers showing your current rate limit status:
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per minute (50) |
X-RateLimit-Remaining | Requests remaining in current minute |
Example Response Headers
Code
Exceeding the Limit
If you exceed the rate limit, you'll receive:
Status Code: 429 Too Many Requests
Response:
Code
Best Practices
Monitor Remaining Requests
Code
Implement Backoff
Code
Batch Requests
Optimize your API usage:
- Cache responses when possible
- Combine related data fetches
- Use webhooks for real-time updates instead of polling
Need Higher Limits?
Contact support through your Teachfloor dashboard to discuss your use case.
Next Steps
- Errors - Handle API errors
- Authentication - API key setup
Last modified on