Are you using the free API? The standard DexPaprika API at api.dexpaprika.com is available for everyone. This Pro API is for enterprise customers who need higher performance, no rate limits, and dedicated support.
What is the Pro API?
The DexPaprika Pro API provides the same comprehensive DEX and on-chain data as our free API, but with enterprise-grade infrastructure and benefits:
No Rate Limits Unlimited requests to support high-volume applications and data pipelines
Dedicated Infrastructure Separate infrastructure ensuring consistent performance and availability
Priority Support Direct access to our engineering team for technical assistance
API Key Authentication Secure access control and usage tracking for your organization
Getting started
1. Get your API key
Pro API access requires an enterprise subscription. Contact our team to get started.
To obtain a Pro API key:
2. Authentication
All Pro API requests require authentication via the Authorization header:
curl -X GET "https://api-pro.dexpaprika.com/networks/ethereum/pools" \
-H "Content-Type: application/json" \
-H "Authorization: api_YOUR_API_KEY_HERE"
Your API key will follow this format:
api_your_personal_api_key
Always prefix your key with api_ when using it in the Authorization header.
Differences from Free API
Feature Free API Pro API Base URL https://api.dexpaprika.comhttps://api-pro.dexpaprika.comAuthentication None required API key required Rate Limits 10,000 requests/day No limits Infrastructure Shared Dedicated Support Community Priority enterprise support Endpoints All endpoints All endpoints
All endpoints available in the free API are also available in the Pro API. Simply replace the base URL and add authentication.
Quick start example
Let’s fetch Solana SOL token data using the Pro API:
Prepare your request
Replace YOUR_API_KEY_HERE with your actual API key: curl -X GET "https://api-pro.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112" \
-H "Content-Type: application/json" \
-H "Authorization: api_YOUR_API_KEY_HERE"
Receive the response
You’ll get the same comprehensive data as the free API: {
"id" : "So11111111111111111111111111111111111111112" ,
"name" : "Wrapped SOL" ,
"symbol" : "SOL" ,
"chain" : "solana" ,
"decimals" : 9 ,
"total_supply" : 0 ,
"has_image" : true ,
"summary" : {
"price_usd" : 165.0363416231933 ,
"fdv" : 21277129298.9034355594499 ,
"liquidity_usd" : 21277129298.9034355594499 ,
"pools" : 12543 ,
"24h" : {
"volume" : 18207227.90283451 ,
"volume_usd" : 3172926820.723157 ,
"sells" : 11953376 ,
"buys" : 8641848 ,
"txns" : 20595327 ,
"buy_usd" : 1586463410.3615785 ,
"sell_usd" : 1586463410.3615785 ,
"last_price_usd_change" : 2.5
}
}
}
See all 25 lines
Error handling
Authentication errors
403 Forbidden - Missing or invalid API key
Error response: {
"message" : "Forbidden"
}
Solution: Ensure you’re including the Authorization header with a valid API key in the format api_YOUR_KEY.
401 Unauthorized - Malformed API key
Other errors
All other error codes match the standard DexPaprika API :
400 Bad Request - Invalid parameters
404 Not Found - Resource not found
500 Internal Server Error - Server error
Available endpoints
The Pro API provides access to all DexPaprika endpoints:
Tokens Get detailed token information including price, liquidity, and trading volume
Pools Access liquidity pool data and trading statistics
Networks List all supported blockchain networks
Pool Transactions Query swap transactions, adds, and removes
Search Search across tokens, pools, and DEXes
Batched Prices Retrieve multiple token prices in a single request
View complete API documentation in the REST API Reference section. All examples use the free API URL - simply replace with api-pro.dexpaprika.com and add authentication.
Migration guide
Migrating from the free API to Pro API is straightforward:
Update base URL
Replace all instances of: https://api.dexpaprika.com
With: https://api-pro.dexpaprika.com
Add authentication header
Add the Authorization header to every request: headers : {
'Authorization' : 'api_YOUR_API_KEY_HERE'
}
Remove rate limiting logic (optional)
Since Pro API has no rate limits, you can remove any throttling or rate limiting code from your application.
Test your integration
Make test requests to verify your API key works correctly and you’re receiving expected responses.
Best practices
Never expose your API key in client-side code or public repositories.
Store API keys in environment variables or secure vaults (e.g., AWS Secrets Manager, HashiCorp Vault)
Use .env files locally and add them to .gitignore
Rotate keys periodically as part of security best practices
Never hardcode keys in your application source code
DEXPAPRIKA_PRO_API_KEY = api_your_personal_api_key
Track your API usage to optimize performance and identify issues early.
Log all API requests and responses for debugging
Set up monitoring dashboards to track request volumes
Monitor response times and error rates
Alert on unusual patterns or spikes in traffic
Review usage patterns to optimize your integration
Implement robust error handling
Always handle authentication errors gracefully and implement retry logic.
Catch and handle 403/401 errors separately from other errors
Implement exponential backoff for transient failures
Don’t retry on authentication errors - fix the key instead
Log errors with context for easier troubleshooting
Provide meaningful error messages to end users
try {
const response = await fetch ( url , { headers });
if ( response . status === 403 ) {
console . error ( 'Invalid API key - check your credentials' );
// Don't retry - fix the key
return ;
}
// Handle other errors with retry logic
} catch ( error ) {
console . error ( 'Request failed:' , error );
}
Reuse HTTP connections to reduce latency and improve throughput.
Configure HTTP clients to reuse connections
Set appropriate connection pool sizes (e.g., 10-50 connections)
Enable keep-alive headers
Use persistent connections for high-volume applications
Monitor connection pool metrics
Example with Python requests
import requests
from requests.adapters import HTTPAdapter
session = requests.Session()
adapter = HTTPAdapter( pool_connections = 20 , pool_maxsize = 20 )
session.mount( 'https://' , adapter)
# Reuse session for all requests
response = session.get(url, headers = headers)
Next steps
REST API Reference Explore all available endpoints and their parameters
Streaming API Real-time token price updates via Server-Sent Events
Tutorials Learn how to build applications with DexPaprika
Coverage Checker Check which tokens and pools are available in our database
Get support
Enterprise Support Get priority technical support from our engineering team
Join Discord Connect with our community for general questions
FAQs
How do I get a Pro API key?
Contact our enterprise sales team at support@coinpaprika.com to discuss subscription options and receive your API key.
Can I use both free and Pro API simultaneously?
Yes, you can use both APIs in the same application. The free API requires no authentication, while the Pro API requires your API key.
Are there really no rate limits?
Correct. The Pro API has no rate limits, allowing you to make as many requests as needed for your application.
What happens if my API key is compromised?
Do you offer dedicated infrastructure or on-premise deployment?
Yes, we can provide custom infrastructure solutions for enterprise customers. Contact our sales team to discuss your specific requirements.
Is the data the same as the free API?
Yes, both APIs provide access to the same comprehensive DEX and on-chain data. The Pro API offers better performance and no rate limits.