Rate Limits
How your requests are calculated and Capped.
Sandbox Limits
Our staging environment experiences higher resource consumption compared to production. This is primarily due to extensive testing conducted by our customers before going live, which is why the staging environment has a request limit of 150 requests.
The resource usage is calculated as follows: each request to the rate endpoint is considered equivalent to 10 requests. This is because the rate endpoint queries multiple services simultaneously—typically over 45. Each of these services has unique features, attributes, and resource requirements, contributing to the increased resource consumption.
In practical terms, when you call the allprice
endpoint to retrieve shipping rates, each call counts as 10 requests due to the extensive resources required to process and return the shipping rates for multiple services. However, the single-rate endpoint is calculated as 1 per request.
These rate limits only apply to our rates endpoints, Get-Shipment-Rates & Get-Single-Rate.
Production Limits
In contrast, the production environment has a daily cap of 100k requests, which is refreshed daily. Similarly, the 150-request cap in staging is also refreshed daily. This setup ensures that both environments are managed effectively while accommodating the varying needs of testing and live operations.
Last updated