Overview
The CoinPaprika API has different rate limits depending on your plan tier. Understanding these limits helps you avoid errors and choose the right plan for your needs.Rate Limit Tiers
- Free Tier
- Starter Plan
- Business & Enterprise
The free tier provides generous limits without requiring an API key.
Limits
- Monthly calls: 20,000 requests/month
- Authentication: None required
- Endpoint access: Most endpoints (excluding historical data)
- Rate limiting: Shared pool across all free users
Check Free Tier Details
Available Endpoints
The free tier includes:- Market data (global, tickers, prices)
- Coin information and search
- Exchange data
- Real-time OHLCV (today, latest)
- Tags, people, and platforms
Restricted Endpoints
These require a paid plan:- Historical ticker data (
ticker-history) - Historical OHLCV data (
ohlcvwith date range) - Contract history (
contract-history) - ID mappings (
mappings) - Changelog (
changelog) - API key info (
key-info)
Run
coinpaprika-cli plans to see the full list of free tier features and restrictions.Rate Limit Errors
The CLI provides detailed error messages when you hit rate limits or access restricted endpoints.Error: Free Tier Rate Limit
When you exceed 20,000 calls/month on the free tier:src/client.rs:68-77:
Error: Paid Plan Required
When accessing a paid-only endpoint with a key but insufficient plan:src/client.rs:59-67.
Error: Too Many Requests
When you exceed your rate limit too quickly:src/client.rs:79-81:
Error: Invalid API Key
When your API key is invalid or expired:src/client.rs:82-84:
Handling Rate Limits
Check Your Usage
For paid plans, check your current usage:For free tier, track your usage manually or wait for the error message.
Best Practices
1. Use Efficient Queries
Limit the amount of data you request:2. Batch Operations
Group related API calls when possible:3. Monitor Your Usage
Regularly check your API usage:4. Handle Errors Gracefully
Always check for rate limit errors in scripts:Error Response Codes
The CLI handles these HTTP status codes related to rate limiting:| Status Code | Error Type | Description | CLI Error Message |
|---|---|---|---|
| 402 | PAYMENT_REQUIRED | Free tier limit or endpoint requires paid plan | See above |
| 403 | FORBIDDEN | Invalid API key | ”Invalid API key” |
| 429 | TOO_MANY_REQUESTS | Rate limit exceeded | ”Rate limit exceeded” |
| 404 | NOT_FOUND | Invalid coin ID or endpoint | ”Not found. Check the ID format” |
| 5xx | Server Error | API temporarily unavailable | ”CoinPaprika API is temporarily unavailable” |
src/client.rs:53-95.
Checking Available Plans
View detailed plan comparison:- Free tier features and limits
- Paid plan benefits
- Pricing information
- Upgrade instructions
Related Commands
coinpaprika-cli plans- View free tier limits and paid planscoinpaprika-cli key-info- Check API key usage (paid plans)coinpaprika-cli config show- View current API key configurationcoinpaprika-cli status- Check API health status
Additional Resources
API Pricing
Compare plans and get your API key
API Documentation
Full API reference and rate limit details