Dexpaprika Api
Access DeFi data from DexPaprika: token prices, liquidity pools, OHLCV, transactions across 34+ blockchains and 30M+ pools. Free, no API key needed. I
Category: development Source: davepoon/buildwithclaudeWhat Is Dexpaprika Api?
Dexpaprika Api is a robust skill for Claude Code that enables instant access to comprehensive decentralized finance (DeFi) data sourced from DexPaprika. Designed for developers, analysts, and builders in the blockchain ecosystem, this API aggregates real-time and historical data from over 34 blockchains, indexing more than 30 million liquidity pools and 28 million tokens. Dexpaprika Api offers endpoints for querying token prices, liquidity metrics, historical OHLCV (Open, High, Low, Close, Volume) data, pool analytics, and real-time DeFi transactions. Unlike many competing APIs, it is free to use and does not require an API key, making it accessible for rapid prototyping, research, and production use cases.
Why Use Dexpaprika Api?
The DeFi ecosystem is inherently fragmented, with data scattered across numerous blockchains and decentralized exchanges (DEXes). Traditional data access methods typically require developers to integrate multiple APIs, manage authentication keys, and handle inconsistent data schemas. Dexpaprika Api addresses these pain points by providing a unified, consistent, and permissionless interface to vast DeFi data, thus reducing integration complexity and accelerating development workflows.
Key reasons to consider Dexpaprika Api for your DeFi data needs include:
- Breadth of Coverage: Access data from over 34 blockchains and 30 million pools, covering the majority of active DeFi protocols.
- Comprehensive Endpoints: Retrieve granular information on token metrics, pool liquidity, trading volumes, price history, and on-chain transactions.
- No Authentication Needed: The API is public and does not require API keys or registration, streamlining setup and usage.
- Developer-Friendly: Easily integrate with Claude Code or leverage the plugin for broader access to related coinpaprika/claude-marketplace skills.
- Free Access: No cost or usage limits for typical development and analytical use cases.
How to Get Started
Getting started with Dexpaprika Api is straightforward, whether you want to use it directly via Claude Code configuration or as part of the broader coinpaprika/claude-marketplace plugin suite.
Option 1: Add the MCP Server
Edit your Claude Code configuration to include the DexPaprika MCP server:
{
"mcpServers": {
"dexpaprika": {
"url": "https://mcp.dexpaprika.com/sse"
}
}
}
This enables direct access to the API's endpoints within your Claude Code environment.
Option 2: Install the Plugin
For an even simpler setup and access to additional Coinpaprika marketplace features, install the plugin via Claude Code's plugin marketplace:
/plugin marketplace add coinpaprika/claude-marketplace
/plugin install dexpaprika@coinpaprika-plugins
This installation bundles Dexpaprika Api with related agent and skill utilities.
Example: Querying Top Pools
Once configured, you can use the available MCP tools in your workflow. For example, to fetch the top liquidity pools on a network:
{
"tool": "getNetworkPools",
"params": {
"network": "ethereum",
"sortBy": "volume",
"limit": 10
}
}
This returns the top 10 Ethereum pools sorted by trading volume.
Key Features
Dexpaprika Api exposes a suite of 14 MCP tools, each designed for specific DeFi data access needs:
- getCapabilities: Retrieve supported methods, network synonyms, and usage examples.
- getNetworks: List all supported blockchains.
- getStats: Access platform-wide statistics, such as total liquidity and number of pools.
- getNetworkDexes: List all DEXes available on a specific blockchain.
- getNetworkPools: Fetch top pools for a network, sortable by volume, transactions, or price.
- getNetworkPoolsFilter: Advanced filtering of pools by volume, transaction count, or creation date.
- getDexPools: Retrieve all pools for a specific DEX.
- getPoolDetails: In-depth metrics for a single pool, including tokens, volume, and liquidity.
- getPoolOHLCV: Historical price data at intervals ranging from 1 minute to 24 hours.
- getPoolTransactions: Access recent swaps and trades in any pool.
- getTokenDetails: Obtain token-specific metrics, including latest price and liquidity.
- getTokenPools: List all pools containing a particular token.
Example: Fetching Token Details
To retrieve detailed metrics for a specific token:
{
"tool": "getTokenDetails",
"params": {
"network": "polygon",
"address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"
}
}
This would return live price, liquidity, and trading activity for the specified Polygon token.
Best Practices
To maximize the utility of Dexpaprika Api, consider the following best practices:
- Efficient Queries: Use filtering and sorting parameters to limit response sizes, especially when working with networks or DEXes that have a high pool count.
- Caching: For non-real-time analytics, cache API responses to reduce redundant requests and improve application performance.
- Error Handling: Always check for null or missing values in API responses, as data availability may vary across blockchains.
- Interval Selection: When querying historical data (e.g., OHLCV), select the appropriate time interval to balance granularity and payload size.
- Stay Updated: Monitor the official repository for updates to endpoints or documentation.
Important Notes
- Public Access: While Dexpaprika Api does not require an API key, excessive or abusive request patterns may be rate-limited to preserve service stability.
- Data Consistency: Some blockchains or pools may have partial data, particularly for newly launched networks or low-liquidity assets.
- Security: Do not expose sensitive application logic or user data in queries. The API is intended for public DeFi data only.
- Plugin Updates: When using the plugin, ensure compatibility with your Claude Code version to avoid potential integration issues.
- Community Support: For issues or feature requests, consult the GitHub repository or open a ticket for assistance.
Dexpaprika Api offers a comprehensive, frictionless solution for integrating DeFi analytics into your applications, research, and workflows, making it an excellent choice for anyone building in the decentralized finance space.