Start for Free
Start for Free

Crypto Wallet API for Balances, Transactions & DeFi

Query any address across 120+ chains, from Bitcoin xpub to Solana and EVM. Balances, history, and DeFi in one JSON schema. Free tier.

CoinStats Wallet API
Solana
Ethereum
& EVMs
Bitcoin
BNB
Hyperliquid
+ 120 chains
Live Demo

What a Crypto Wallet Data API Does

Pass any address and get structured JSON back. Balances, transactions, NFTs, and DeFi positions, with no nodes or indexers.

wallet-balance.sh
120 chains
GET api.coinstats.app/wallet/balance?address=0x7a25…f3D9
200 OK · 142ms

Demo data for illustration. Live responses return in ~100-200ms.

120+
Blockchains
10,000+
DeFi protocols
100,000+
Coins priced
20,000
Free credits/mo
GET/wallet/transactionsGET/profit-loss

Transaction History and Profit & Loss for Any Wallet

Realized and unrealized PnL, cost basis, and full transaction history per wallet, across 120+ chains in one response.

Total Balance 0x7a2…3f9
$13,875.85
+$1,240.50 ▲ 9.8% (24h)
Tokens
Across 4 chains
$9,940.21
NFTs
12 items
$2,150.00
DeFi
3 positions
$1,785.64
Transactions Latest
1,284 txns
Full history · USD value at time of transfer
Received ETH
Jun 14 · 2.50 ETH
$8,190.00
Swap USDC → SOL
Jun 11 · Uniswap
$1,500.00
Staked SOL
Jun 9 · Marinade
$640.20
Profit & Loss All-time
+$6,867.48
▲ 79.93% on $8,590.12 invested
Unrealized
Open positions
+$4,112.30
Realized
Closed trades
+$2,755.18
Best position
ETH
+$4,112.30
DeFi positions

10,000+ DeFi Protocols, Auto-Detected

Staking, lending, and LP positions across 10,000+ protocols, auto-detected per wallet with live values and yield in one response.

0x7a2…3f9
Aave v3
Lending
3.2%
Uniswap v3
ETH/USDC LP
11.4%
Lido
Staking
2.9%
Marinade
SOL Staking
6.8%
PancakeSwap
BNB/USDT LP
18.6%
GET/portfolioGET/portfolio/charts

Advanced Portfolio Analytics in One API Call

Aggregate balances, DeFi positions, and live prices into one portfolio view with total value, allocation, and performance across 120+ chains.

PORTFOLIO INSIGHTS 0x7a2…3f9
$13,875.85
+$1,240.50 ▲ 9.8% (24h)
Asset Allocation By chain
4 chains
Diversification across networks
Ethereum
42%
Solana
24%
BNB Chain
18%
Bitcoin
16%
PORTFOLIO VS MARKET vs Market
+79.93%
Your portfolio · 1Y
Your Portfolio
+79.93%
BTC Portfolio
+42.10%
S&P 500
+18.40%
Token Security

Token Security API in One Simple API Call

Screen any token contract for honeypots, mint/burn control, blacklists, and hidden fees. One call returns a risk score plus severity-ranked findings.

GET /token-risks · 0x9c…e07
Risk Score 38 / 100 · Medium
Risk TypeLevelResult
Centralized MintMedDetected
HoneypotHighNo Issues
BlacklistHighDetected
Hidden FeesMedNo Issues
Upgradeable ProxyMedDetected
Pausable TransferLowNo Issues
MCP Server

One Wallet API for AI Agents

The CoinStats MCP server exposes 20+ wallet, DeFi, and portfolio tools to AI agents over one OAuth-protected URL.

ClaudeCursorClaude CodeCodexVS CodeN8N
Server URL
https://mcp.coinstats.app/mcp
  1. 1Paste the URL into your client's connector settings.
  2. 2Approve the consent screen in your browser.
  3. 3Ask your agent: “what does this wallet hold?”
Read the MCP Docs
Use Cases

Build Anything That Reads a Wallet

Portfolio Trackers
Holdings, value, and allocation across every chain a user touches.
Crypto Tax & Accounting
Full transaction history with cost basis and USD-at-time values.
Multi-Chain Explorers
One endpoint for balances, history, and DeFi on 120+ chains.
DeFi Dashboards
Auto-detected positions and yield across 10,000+ protocols.
AI Crypto Assistants
20+ wallet and portfolio tools over MCP for Claude, Cursor, and more.
Trading & Signal Engines
Wallet-balance checks and prices from 200+ exchanges.
Best for: All-in-one crypto data API with wallet and portfolio intelligence
How It Compares

How CoinStats Compares to Other Wallet APIs

Most wallet APIs stop at EVM and a few chains. CoinStats covers Bitcoin xpub, deep DeFi, and 120+ chains.

Feature CoinStats Moralis Zerion API Alchemy
Chains covered120+ chainsEVM + Solana + BTC~50 EVM + SolanaEVM + Solana
Bitcoin xpub / HD
Wallet balances
Transactions + P&LLimited
DeFi positions10,000+ protocolsLimited
Token risk / securityVia GoPlusVia GoPlus
Free tierYes · 20,000/moYesYes · 2,000/moYes
PricingFree + creditsFrom $49/moFrom $149/moFree + usage

Capability comparison compiled June 2026 from public documentation. Coverage figures change; check each provider's current docs.

The Free Wallet API That Scales With You

Get an API key and make your first call in minutes. Free tier includes 20,000 credits a month, with commercial use.

FAQ

Crypto Wallet API FAQ

What is a crypto wallet API?

A crypto wallet API lets you read blockchain wallet data programmatically. You pass an address and get balances, transaction history, NFTs, and DeFi positions back as structured JSON, without running nodes, indexers, or per-chain parsers. The CoinStats Wallet API returns a uniform response across 120+ blockchains from a single key.

What's the difference between a crypto wallet API and a crypto wallet data API?

They're used interchangeably, but "wallet data API" emphasizes reading on-chain data rather than creating or custodying wallets. CoinStats is a wallet data API: it reads any address you pass it. It does not create wallets or hold keys, so your users' funds and your security surface stay with your own infrastructure.

Can you create a wallet with this API?

No. CoinStats is a wallet data API for reading on-chain data (balances, transactions, DeFi positions), not a wallet-creation or custody service. Pair it with a wallet-creation/custody provider if you need to generate or sign. Keep CoinStats as your read/data layer.

Does it work with AI agents like Claude or ChatGPT?

Yes. The CoinStats MCP Server exposes 20+ wallet, DeFi, and portfolio tools over the Model Context Protocol, working with Claude, Cursor, Claude Code, VS Code (Cline/Continue), and N8N. The same API key works for REST and MCP, so your code and your AI tools query the same data.

Does the CoinStats Wallet API support Bitcoin?

Yes, including xpub, ypub, and zpub extended public keys. One xpub resolves the full balance and transaction history across every derived address in an HD wallet. Most competing wallet APIs cover only EVM chains and Solana, so Bitcoin support is a common reason teams switch.

Which blockchains does it cover?

120+ blockchains through one endpoint format. Bitcoin (incl. xpub/ypub/zpub), Ethereum, and all EVM L2s and sidechains: Polygon, Polygon zkEVM, Arbitrum, Optimism, Base, BNB Chain, opBNB, Avalanche, Linea, Scroll, zkSync Era, Mantle, Blast, Mode, Zora, Fraxtal, Manta, Metis, Boba, Fantom, Cronos, Gnosis, Celo, Moonbeam, Moonriver, Aurora, Harmony, Kava, Klaytn, and more. Non-EVM networks: Solana, Hyperliquid, Tron, Cardano, Cosmos, Osmosis, Injective, Kujira, Polkadot, Near, Aptos, Sui, TON, XRP, Stellar, Hedera, Algorand, Tezos, MultiversX, Kaspa, Litecoin, Dogecoin, Bitcoin Cash, Zcash, Dash, and more. You pass the address and the API normalizes the response. The full, current list is in the documentation.

Can it return DeFi positions, not just token balances?

Yes. DeFi positions are auto-detected across 10,000+ protocols per wallet: staking, lending, LP shares, and yield, with no protocol-by-protocol setup. Token balances are the easy part; resolving protocol positions to readable values is the hard part, and that's done upstream.

Does it include full transaction history?

Yes. Token transfers, DeFi interactions, staking rewards, and LP activity, each with timestamps, amounts, token identifiers, and USD value at the time of transfer. This is the data tax and accounting tools need for cost-basis calculations.

Which crypto wallets and chains have an API here?

Any address on 120+ chains: Ethereum and all EVM chains (Polygon, Arbitrum, Optimism, Base, BNB Chain, Avalanche), Solana, Bitcoin (incl. xpub/ypub/zpub), Cardano, Tron, Cosmos, Polkadot, Near, Litecoin, Dogecoin, and more. You pass the address; the API normalizes the response.

How is the response structured?

Clean JSON over REST, with standard HTTP status codes and API-key auth. Responses are pre-enriched (USD values, token metadata, and DeFi positions resolved) so they map directly to UI components without you normalizing data from multiple providers.

Can it screen tokens for risk?

Yes. The Token Risks endpoint returns an overall risk score plus severity-ranked findings (honeypots, mint/blacklist controls, hidden fees, upgradeable proxies, and more) with plain-English notes, powered by Hexens' Glider engine across major EVM chains.

Is there a free crypto wallet API?

Yes. The free tier includes 20,000 credits per month at 2 requests per second, with no credit card required. It's the same data available on paid plans, just at a lower limit, enough to prototype and ship a real integration before you upgrade.

How does pricing work?

Credit-based. Each plan includes a monthly credit allowance, and each endpoint costs credits by complexity, not a flat request cap. Start free with 20,000 credits/month, upgrade for higher limits. No per-seat fees, and usage is visible live in the dashboard.

Can I use it in a commercial product?

Yes. Paid plans include commercial use, and the API already powers portfolio apps, tax tools, wallet explorers, and AI agents in production. There are no feature gates between tiers. Higher plans simply raise your credit allowance and rate limit.

How do I get started?

Create a free account, generate an API key from the dashboard, and make your first request in minutes using the examples in the docs. The free tier is enough to build and test a full wallet integration before upgrading.