Rate Limits & Quotas
Shield implements rate limiting to ensure service stability and fair usage for all users. This page explains the current limits and how to work with them effectively.
Current Rate Limits
Shield uses a combination of IP-based rate limiting and request throttling:
/info
60 requests
1 minute
Per IP address
/rpc
30 requests
1 minute
Per IP address
Additionally, there are global transaction processing limits:
Standard transactions
500 MB
1 hour
Combined size of all transactions
Large transactions (>100KB)
50 MB
1 hour
Combined size of large transactions
Rate Limit Response Headers
When making requests to Shield, the following headers are included in responses:
X-RateLimit-Limit
The maximum number of requests allowed in the current period
X-RateLimit-Remaining
The number of requests remaining in the current period
X-RateLimit-Reset
The time (in Unix epoch seconds) when the rate limit will reset
Rate Limit Exceeded Response
When you exceed a rate limit, Shield returns a 429 Too Many Requests
HTTP status code with a JSON response body:
The retry_after
field indicates the number of seconds to wait before making another request.
Best Practices for Working with Rate Limits
Client-Side Rate Limiting
Implement client-side rate limiting to avoid hitting Shield's limits:
Caching Responses
Cache the /info
endpoint response to avoid unnecessary requests:
Handling 429 Responses
Implement exponential backoff when you encounter rate limit errors:
Transaction Batching
To make the most of your rate limits, consider batching multiple payments into single transactions:
Instead of sending 10 separate transactions with 1 recipient each
Create 1 transaction with 10 recipients
This approach:
Reduces the number of API calls needed
Lowers overall transaction fees
Makes better use of rate limits
Enterprise Rate Limits
For users with higher volume requirements, Shield offers enterprise-level rate limits and dedicated access. Contact our support team for more information about enterprise options.
Future Changes
Rate limits may change as Shield evolves. These changes will be announced in advance through:
Updates to this documentation
Notification on the Shield website
Email to registered users (when applicable)
Always check the X-RateLimit-*
headers in responses to stay aware of current limits.
Last updated