Credits and Rate Limits
Overview
Our API uses a credit-based system with different rate limits depending on your plan. This page explains how credits are consumed and what limits apply to your account.
Credit Consumption
Most API calls cost 1 credit, with exceptions for more resource-intensive operations as detailed below.
Standard API Calls
- Default Cost: 1 credit per call
Higher-Cost API Calls
Archival API Calls (10 credits each)
The following methods retrieve historical blockchain data and cost 10 credits per call:
Method | Description |
---|---|
getTransaction | Retrieves transaction details |
getBlock | Retrieves block information |
getBlocks | Retrieves multiple blocks |
getInflationReward | Gets inflation rewards |
getConfirmedBlock | Gets confirmed block data |
getConfirmedBlocks | Gets multiple confirmed blocks |
getConfirmedTransaction | Gets confirmed transaction details |
getConfirmedSignaturesForAddress2 | Gets confirmed signatures (v2) |
getConfirmedSignaturesForAddress | Gets confirmed signatures |
getSignaturesForAddress | Gets all signatures for an address |
getBlockTime | Gets block timestamp |
Program Account Queries
getProgramAccounts
: 10 credits per call
Digital Asset API (DAS) Calls (10 credits each)
All Digital Asset Standard API methods cost 10 credits per call:
Method | Description |
---|---|
getAsset | Retrieves asset details |
getAssetProof | Gets Merkle proof for an asset |
getAssetsByOwner | Lists assets by owner address |
getAssetsByAuthority | Lists assets by authority |
getAssetsByCreator | Lists assets by creator |
getAssetsByGroup | Lists assets by group |
searchAssets | Searches for assets by criteria |
getSignaturesForAsset | Gets transaction signatures for an asset |
getTokenAccounts | Lists token accounts |
getNFTEditions | Lists NFT editions |
Priority Fee API
- Cost: 1 credit per call
Plan Comparison
Choose the plan that best fits your needs based on your usage requirements:
Feature | Free | Developer | Business | Professional |
---|---|---|---|---|
Monthly Credits | 500,000 | 15,000,000 | 100,000,000 | 220,000,000 |
General Requests/sec | 10 | 60 | 225 | 500 |
Send Transaction/sec | 1 | 5 | 50 | 100 |
getProgramAccounts/sec | 1 | 15 | 25 | 50 |
DAS API Requests/sec | 2 | 10 | 50 | 100 |
WebSocket Connections | 2 | 25 | 100 | 250 |
Credit Usage Examples
Example 1: Standard Application
A typical web3 application making 5 regular API calls per user session:
- 5 credits per user session
- With the Free plan (500,000 credits), you can support up to 100,000 user sessions per month
Example 2: DAS-Heavy Application
An NFT marketplace application that frequently uses DAS API calls:
- 2 standard calls (2 credits) + 3 DAS API calls (30 credits) = 32 credits per user session
- With the Developer plan (15,000,000 credits), you can support approximately 468,750 user sessions per month
Best Practices for Credit Optimization
- Cache Responses: Store and reuse responses for frequently accessed data
- Batch Requests: Combine multiple queries when possible
- Use WebSockets: Subscribe to updates instead of polling for changes
- Monitor Usage: Regularly check your credit consumption in the dashboard
- Optimize Queries: Refine your data queries to minimize resource usage
FAQ
Q: What happens if I exceed my rate limits?
A: Requests exceeding your plan's rate limits will be rejected with a 429 (Too Many Requests) error.
Q: Do unused credits roll over to the next month?
A: No, credits reset at the beginning of each billing cycle.
Q: How can I monitor my credit usage?
A: You can track your credit consumption in real-time through your account dashboard.
Q: Can I upgrade my plan mid-month?
A: Yes, you can upgrade at any time. The new limits will apply immediately.
Need Help?
Contact our support team at [email protected] for assistance with your specific use case.