Rate Limits
All Venum services rate-limit per API key with a 60-second sliding window. Limits scale with your plan; see the dashboard for your current tier.
Solana RPC (rpc.venum.dev)
| Tier | Requests / min | Concurrent WS conns |
|---|---|---|
| Free | 60 | 2 |
| Starter | 600 | 10 |
| Pro | 3,000 | 40 |
See Solana RPC for endpoint details and examples.
Venum API (api.venum.dev)
| Endpoint | Limit | Window |
|---|---|---|
POST /v1/quote | 60 requests | per minute |
POST /v1/swap/build | 20 requests | per minute |
POST /v1/swap | 10 requests | per minute |
GET /health | Unlimited | — |
Limits are per API key, enforced with a sliding window.
Rate Limit Response
When you exceed the limit, you'll receive 429 Too Many Requests:
json
{
"error": "Rate limit exceeded",
"limit": 60,
"windowMs": 60000,
"retryAfterSeconds": 12
}The Retry-After header indicates when you can retry.
Tips
- Cache quotes client-side for 2-3 seconds — pool state doesn't change faster than that
- Use
/v1/quoteto browse routes, only call/v1/swap/buildwhen the user confirms - The
/v1/swapsubmit endpoint has the lowest limit — don't retry failed submissions rapidly
