Documentation Index
Fetch the complete documentation index at: https://yieldxyz.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Rate limits protect the API and ensure fair usage across all clients. Limits vary by plan tier and are designed to accommodate everything from development to high-scale production. For a full breakdown of plan tiers, rate limits per plan, and pricing details, see Plans & Pricing.Rate Limit Headers
API responses include headers to help you track your rate limit status:| Header | Description |
|---|---|
x-ratelimit-limit | Maximum requests per second for your plan |
x-ratelimit-remaining | Requests remaining in current window |
x-ratelimit-reset | Unix timestamp when the limit resets |
Handling Rate Limits
When rate limited, you’ll receive a429 Too Many Requests response:
Retry Strategy
Implement exponential backoff when encountering rate limits:Best Practices
Cache responses
Cache yield metadata, validators, and other stable data to reduce API calls
Batch requests
Use aggregate endpoints like
/yields/balances instead of individual callsImplement backoff
Use exponential backoff for retries to avoid cascading failures
Monitor usage
Track your rate limit usage via response headers
Optimizing API Usage
Cache yield metadata
Cache yield metadata
Yield metadata (APY, TVL, validators) changes infrequently. Cache for 5–15 minutes to reduce calls:
Use aggregate endpoints
Use aggregate endpoints
Instead of calling
/yields/{yieldId}/balances for each yield, use the aggregate endpoint:Implement request queuing
Implement request queuing
Queue requests to stay within rate limits during high-traffic periods:
Upgrade Your Plan
Need higher rate limits?Upgrade to Pro
1,000+ requests/second for high-volume apps
Enterprise Inquiry
Custom rate limits for institutional scale
Next Steps
Plans & Pricing
Compare all plan features
Compute Units
CU pricing and endpoint costs

