Understanding Rate Limits: 20 Requests per Second
Sorsa API enforces a simple, universal rate limit to keep the service fast and stable for everyone.The rule: 20 requests per second
Every API key is limited to 20 requests per second. That is the only rate limit. There are no separate limits per endpoint, no 15-minute windows, no hourly resets, and no differences between subscription plans. If you stay under 20 req/s, you will never see a rate limit error. A few details worth knowing:- The limit applies per API key, not per IP address. If you have multiple keys, each has its own 20 req/s allowance.
- Every request counts equally. A single
/infocall and a/tweet-info-bulkcall with 100 tweets both count as one request. - The limit is not a sliding window. It resets every second. If you send 20 requests at
T+0.00, you can send another 20 atT+1.00.
What happens when you exceed the limit
If you send more than 20 requests in a single second, the API returns429 Too Many Requests for the excess requests. No data is lost and your key is not penalized. Simply wait until the next second and retry.
There are no x-ratelimit-remaining or x-ratelimit-reset headers. Since the limit resets every second, tracking remaining credits in headers would add complexity without practical value.
How to stay within the limit
For most use cases, you will never hit 20 req/s during normal operation. If you are running batch jobs or processing large datasets, here are two simple approaches. Option 1: Fixed delay between requests The safest approach is to add a 50ms pause (1/20th of a second) between consecutive requests. This guarantees you never exceed the limit. Python:429 responses and retry after a short pause.
Python:
Batch endpoints reduce the need for high throughput
Before optimizing for speed, consider whether batch endpoints can reduce your total request count:/info-batchfetches multiple user profiles in a single request/tweet-info-bulkfetches up to 100 tweets in a single request
Need a higher limit?
If your project requires sustained throughput above 20 req/s (for example, 100+ req/s for a real-time monitoring pipeline), contact us at [email protected] or reach us on Discord to discuss dedicated infrastructure options.Next steps
- Pagination - Fetch large datasets efficiently within the rate limit
- Error Codes - Full reference for 400, 403, 404, 429, and 500 responses