TL;DR: Which Crypto Wallet Data API Is the Best?
- CoinGecko API supports most wallet-data use cases, combining wallet and market data under the same API, flat per-request credit charge regardless of the number of networks queried, and broadest network coverage.
- Specialized providers serve specific needs, including Moralis for pre-categorized activity feeds, Alchemy for free prototyping, DeBank for normalized DeFi position data, and CoinStats for DeFi data alongside standard wallet balances.
Portfolio trackers, tax tools, DeFi dashboards, and AI trading agents rely on wallet data to understand what a wallet holds and how it has been used. A wallet data API turns a wallet address into structured data, so you can work with this information without pulling and decoding raw blockchain logs yourself.
Wallet data APIs read activity from existing wallets. If your application also needs to generate wallets, sign transactions, or manage private keys, you can pair a wallet data API with a wallet-as-a-service provider such as Privy, Turnkey, or Fireblocks.
This guide compares five wallet data APIs: CoinGecko, Moralis, Alchemy, DeBank, and CoinStats. We looked at chain coverage, key capabilities, limitations, pricing and usage.

How to Choose a Crypto Wallet Data API
Chain coverage
The breadth of network coverage and whether the provider supports the chains your application requires.
Balances and token holdings
Whether you can filter out spam and low-value tokens, sort by value, and paginate through wallets holding hundreds of tokens instead of receiving everything unsorted in a single response.
Transaction and transfer history
How activity is returned. Some providers tag and categorize events such as buys, deposits, and swaps, while others return raw logs that require interpretation.
Historical data
How far back wallet value and activity can be accessed.
PnL and cost basis
Whether profit and loss is calculated and which cost-basis method is used, since different methods can produce different results. Providers may use static average cost, moving average cost, or per-lot methods such as FIFO or HIFO.
Pricing, usage, and rate limits
Consider the cost at the expected usage, including how pricing changes beyond the plan quota. Rate limits determine how many requests can be made per second and how quickly data can be pulled across multiple wallets.
AI agent and MCP support
Whether AI agents or MCP-based tools can query wallet data directly, which is relevant for autonomous applications.
Wallet Data APIs at a Glance
CoinGecko API provides unified wallet and market data with flat, per-request pricing across 250+ networks. Other providers offer different capabilities, including pre-categorized activity feeds, free usage for prototyping, and detailed DeFi position data for specific use cases.
| API Provider | Chain Coverage | PnL | Historical Data | AI & MCP support | Entry Pricing & Usage | Best For |
|---|---|---|---|---|---|---|
| CoinGecko | 250+ chains | Realized + unrealized | All-time trades, transfers, and PnL data | AI Integrations, SDKs, MCP, CLI, Agent Skills, and x402 pay-per-use |
$129/mo (500 requests/min)
Model: 1 credit per call, regardless of chains queried
|
Broadest chain coverage, unified market and wallet data, and cost-efficient multi-chain wallet data features |
| Moralis | 30 chains | No native PnL calculation | Current balances only | Agent Skills |
$149/mo (40 requests/sec)
Model: 100 compute units per chain, so cost rises with chain count
|
Pre-categorized wallet activity |
| Alchemy | 30+ chains | No native PnL calculation | Transaction history via a beta endpoint | MCP, CLI, Agent Skills, and x402 pay-per-use |
Free (25 requests/sec), then $0.525/1M compute units after quota (300 requests/sec)
Model: 200 compute units per call
|
Prototyping before scaling |
| DeBank | 30+ chains | No native PnL calculation | 24-hour value snapshot only | MCP only (unofficial, community-built) |
$200 per 1M units (100 requests/sec)
Model: 30 units per multi-chain balance check
|
DeFi position tracking |
| CoinStats | 120+ chains | Realized + unrealized | Portfolio value history | MCP, and x402 pay-per-use |
Free (2 requests/sec), then $49/mo for 1M units (30 requests/sec)
Model: 40 credits per chain, 400 credits for all chains
|
DeFi protocol data alongside wallet balances |
Best Crypto Wallet Data APIs
CoinGecko API: Broadest Chain Coverage, Unified Wallet Data, and Efficient Pricing

CoinGecko is the most widely used crypto market data API, trusted by platforms including Coinbase, Kraken, and Etherscan. Its Onchain Wallet endpoints cover wallet balances, trade history, transfers, and PnL, with support for 250+ chains, including Ethereum, Solana, Robinhood, and Base.
Pros
- Broadest trade and PnL coverage: Trade history and PnL extend across 250+ chains, allowing multi-chain wallet activity to be accessed through a single provider.
- Flat pricing: Each API request costs 1 credit, regardless of the number of networks queried, so querying more networks within the same chain type does not increase credit usage.
- Real-time, filterable wallet data: Trade and transfer data is returned without a cache delay, while balance queries support minimum USD value filtering, sorting, and pagination to exclude dust and spam tokens.
- Built-in PnL: Provides realized and unrealized profit and loss without requiring separate PnL calculations.
- Official AI tooling: AI integrations, SDKs, MCP, CLI, Agent Skills, and x402 pay-per-use access for querying crypto data through AI applications.
- Unified data access: Wallet data alongside comprehensive price and market data are available through the same API.
Cons
- No historical balance chart: The balance endpoint provides current holdings. Historical holdings can be reconstructed from trade and transfer data, but there is no built-in chart for historical holdings.
- Limited PnL history: PnL is provided as lifetime realized and unrealized totals, without built-in daily or monthly breakdowns. Period-based PnL can still be calculated server-side using raw trade data.
- Paid wallet access: CoinGecko API provides a free Demo API plan. However, its wallet endpoints are exclusively available on the $129/mo Analyst plan and above.
Moralis API: Best for Pre-Categorized Wallet Activity

Moralis API provides wallet balances, transaction history, token holdings, and portfolio data across 28 EVM chains, with Solana and Bitcoin supported through dedicated wallet APIs.
Pros
- Pre-categorized wallet activity: Its wallet history endpoint returns a decoded, human-readable activity feed, reducing the need to build custom logic to classify transaction activity.
- Bitcoin wallet support: Provides Bitcoin balance and transaction history by address or xpub, alongside Solana wallet data.
Cons
- No native PnL: The EVM, Solana, and Bitcoin wallet endpoints do not calculate profit and loss.
- Usage-based costs: EVM wallet balance checks cost 100 compute units per chain queried, so costs increase with the number of chains.
- Separate wallet APIs: Solana and Bitcoin use dedicated wallet APIs rather than the main EVM Wallet API, requiring different integration paths for multi-chain applications.
Alchemy API: Best for Prototyping Before Scaling

Alchemy's Portfolio API provides token balance data across 30+ EVM chains. It is part of Alchemy's broader suite of APIs for accessing and working with blockchain data.
Pros
- Free tier: 30 million compute units per month before paid usage. The usage-based pricing starts at $0.525 per 1 million compute units after the included quota.
- RPC and wallet APIs: Wallet data and RPC access are available through the same API account.
Cons
- No native PnL: Profit and loss needs to be calculated separately from the available balance and transfer data.
- Usage cost and multi-chain limit: A balance check costs 200 compute units and covers up to 5 networks per address, so checking a wallet across 30+ supported chains requires multiple calls.
- Transfers endpoint is beta: Alchemy's Transfers by Wallet endpoint is limited to 14 EVM chains and requires access requests.
- No documented dust filter: The balance response does not provide a minimum-value parameter for excluding spam or low-value tokens as a way to optimize API and compute credit costs.
DeBank API: Best for DeFi Position Tracking

DeBank focuses on normalized DeFi data across 30+ chains, including lending, staking, and liquidity pool positions, presented in a single view instead of as raw balances.
Pros
- DeFi positions: Lending, staking, and liquidity-pool positions are normalized across protocols into a single readable view, with structured data for DeFi positions alongside wallet balances.
Cons
- No native PnL: DeBank does not calculate profit and loss.
- Limited portfolio history: Historical portfolio data is available for a 24-hour period, with no longer-term history.
- No documented dust filter: The balance API does not provide a minimum-value parameter for excluding spam or low-value tokens.
CoinStats API: Best for DeFi Protocol Data Alongside Wallet Balances

CoinStats combines standard wallet balances with DeFi positions, including staking, lending, and liquidity-pool data across more than 10,000 protocols, and supports 120+ chains.
Pros
- DeFi data: Staking, lending, and liquidity-pool positions across 10,000+ protocols are detected for each wallet alongside standard token balances.
- Categorized history: Wallet transaction history includes pre-applied activity categories.
- Built-in PnL: The API calculates realized and unrealized profit and loss.
Cons
- Higher credit cost for multi-chain queries: A single-chain balance check costs 40 credits, while some multi-chain queries can cost 400 credits.
- MCP requires account authentication: The hosted MCP server requires a CoinStats account instead of an API key, which can be less suitable for server-side integrations that need API-key authentication.
- No documented dust filter: The API does not provide a minimum-value parameter for excluding spam or low-value tokens.
Which Crypto Wallet Data API Should You Choose?
CoinGecko: Broadest Multi-Chain Fit
- Broad multi-chain support for accessing the widest network coverage among the five providers, all through one API at a flat, per-request cost.
- Portfolio or net worth tracking with wallet and market data through the same API.
- Real-time wallet activity feeds with trade and transfer data returned without cache delay across broad network coverage.
- Wallet performance tracking and copy-trading research with wallet trade history and realized and unrealized PnL.
- Onchain holdings for an existing exchange or wallet app with onchain balances alongside off-chain assets through the same API used for market data.
- Tax and accounting tooling using trade and transfer history with realized and unrealized PnL as a starting point for your own cost-basis calculations.
Moralis, Alchemy, DeBank, and CoinStats: Specialized Needs
- Moralis for decoded, pre-categorized wallet activity.
- Alchemy for free prototyping or onchain audits and forensics, particularly if you already use Alchemy for RPC access. Its RPC-based access provides granular raw chain data, but requires more calls and processing.
- DeBank for DeFi position tracking covering lending, staking, and liquidity pools normalized across protocols.
- CoinStats for DeFi protocol data alongside standard wallet balances and PnL in one response.
Conclusion
CoinGecko API provides the broadest network coverage, along with unified wallet and market data and flat, per-request pricing. Other providers offer different capabilities, including detailed DeFi position data, free prototyping, and pre-categorized wallet activity.
The right choice depends on the chains you support, the importance of built-in PnL, your preferred approach to wallet activity categorization, and the provider's multi-chain pricing model.
If you also need pool- or token-level onchain data, the best onchain DEX data APIs compare the options available. For PnL, AI-agent, and portfolio use cases, see building an AI assistant to track profit and loss and creating a crypto portfolio dashboard in Python.
Ready to start building? The CoinGecko API Analyst plan unlocks the onchain wallet endpoints, along with 500K monthly API call credits and a 500 RPM rate limit. If you are not ready to subscribe yet, start with a free Demo API key to explore 60+ endpoints with 10K free monthly API call credits.