TL;DR
Best for wallet labels and Smart Money data: Nansen API. It's the only API in this list with ready-made Smart Money endpoints (netflows, holdings, DEX trades, PnL leaderboards) alongside wallet labels, a free plan, MCP, a CLI and x402 pay-per-call.
Best for entity labels with wallet, PnL and Smart Money context in one API: Nansen API (500M+ labeled addresses per nansen.ai/api). Arkham offers entity, label and tag data on custom plans.
Best for raw, customizable real-time streams (GraphQL/WebSocket): Bitquery.
Best for token prices and market data across the most networks: CoinGecko.
Best for SQL analytics: Dune.
Best for raw web3 / RPC access: Alchemy or QuickNode.
Best for multichain wallet balances on a small budget: GoldRush (Covalent) or CoinStats.
Best for sub-second token and DEX data for trading UIs: Codex.
Disclosure: Nansen publishes this article. Nansen is one of the APIs compared. We checked every competitor claim on that provider's own pricing or docs page on November 4, 2026, and we link the source for each claim at the end. Where a provider doesn't publish a detail, we mark it "Unknown". Pricing changes often, so check the provider's page before you buy.
Who this guide is for
This guide is for developers, quant teams, trading-bot builders and AI agent builders who need crypto data through an API: wallet balances and PnL, wallet labels and entity data, Smart Money flows, token data and prices, or raw web3 API / RPC access.
These APIs sit at different layers, and most "best crypto API" lists mix them up:
Node / RPC layer (Alchemy, QuickNode): raw blockchain reads and writes. You do the indexing.
Indexed data layer (Bitquery, Moralis, GoldRush, Codex, CoinStats, CoinGecko): decoded balances, transfers, token prices and DEX trades.
Intelligence layer (Nansen, Arkham): who is behind an address, which wallets are Smart Money, and where capital is flowing.
SQL / warehouse layer (Dune): write your own queries over decoded tables.
Most production stacks use more than one layer.
How we compared
We scored each onchain data API on the criteria that matter when you're building:
Criterion | What we checked |
Chain coverage | The number the provider publishes, and whether it varies by plan or endpoint |
Data freshness / latency | What the provider documents for live data |
Wallet labels / entity data | Whether labeled addresses or entities are available through the API |
Smart Money | Ready-made endpoints for profitable or notable wallet cohorts, not just raw trades |
MCP / CLI / AI agent support | An official MCP server (hosted or local), a CLI, agent skills |
Pay-per-call | x402 or a similar no-signup, per-request payment |
Free tier | Whether one exists, and whether it's ongoing or a time-limited trial |
Entry price | The cheapest self-serve paid plan |
How to choose an onchain data API
Decide which layer you need. If you need "who is this wallet and is it smart," a node provider won't help. If you need to broadcast transactions, an intelligence API isn't enough on its own.
Check that labels are first-party. Wallet labels drive most of the value in crypto analytics. Ask whether the provider builds its own labels, sells them as an add-on, or relies on community tables.
Check per-endpoint pricing, not just the plan. Almost every provider here uses credits or compute units, and endpoint costs can differ by 100x. On Nansen, a basic profiler call costs 1 credit, Smart Money endpoints cost 5, and a common-labels lookup costs 100.
Check that historical data is included. Some self-serve plans include only a rolling real-time window, with archive data sold separately (Bitquery, for example).
For AI agents, check MCP and pay-per-call. A hosted MCP server lets ChatGPT, Claude or Cursor query data directly. x402 lets an agent pay per request in USDC without an API key.
Check chain coverage per endpoint. Headline chain counts often apply to only some endpoints or plans.
Comparison table: best crypto data APIs (November 2026)
Provider | Best for | Chain coverage (published) | Data freshness | Wallet labels / entity data | Smart Money | MCP / CLI / agent | Pay-per-call (x402) | Free tier | Entry price (self-serve) |
Nansen API | Wallet labels, Smart Money, wallet & token intelligence | Multi-chain, EVM + non-EVM; varies by endpoint (supported chains) | Near real time: seconds to a couple of minutes; some current-day responses cached up to 5 min | Yes, first-party (500M+ labeled addresses per nansen.ai/api) | Yes, dedicated endpoints | Yes: hosted MCP (53 tools with API key; 16 curated tools via OAuth connectors), CLI | Yes, $0.01–$0.05 per call (USDC on Base, Solana or Monad) | Yes: 100 trial credits, then 10/day; credit top-ups at $1 per 1,000 credits, no subscription required | Pro $49/mo (annual) or $69/mo (monthly), 2,000 credits, discounted top-ups |
Arkham | Entity, label and tag data | 20+ chains | Real time (per Arkham) | Yes, entities, labels and tags | Unknown | Yes: official hosted MCP (mcp.arkm.com) | Yes, $0.20 per credit (USDC on Base or Solana) | Trial on request | From $100/mo (custom plans) |
Bitquery | Custom real-time streams, GraphQL | 40+ indexed; 10 core chains on self-serve real-time plans | Real-time streams; self-serve has a rolling window (e.g. 30-day trades) | Add-on: $69/mo (annual) | Primitives (top traders, PnL); you build the logic | Yes: MCP plans from $13/mo (annual) | Not offered | 7-day trial (1,000 API points, 100 MCP credits) | Personal $29/mo (annual), personal use only |
CoinGecko API | Token prices, market data, DEX/pool data | 360+ networks (onchain DEX data) | Demo from 60s, Basic from 10s, Analyst+ real-time | Not advertised | Top token traders endpoint only | Yes: remote MCP (keyless free + key), CLI | Yes, $0.005 per request (supported endpoints) | Demo: 10k credits/mo, 100 calls/min | Basic $35/mo ($29 annual) |
Moralis | Wallet, token and NFT APIs for apps | 40+ chains | Unknown | Unknown | No | MCP: self-hosted npm server (last updated Sep 2025); docs now point to Onchain Skills | Unknown | Trial by request (no self-serve free API plan listed) | Data Feeds $10/mo; API Starter $149/mo |
Alchemy | Raw web3 / RPC plus data APIs | 100+ networks | Node-level (chain head) | Not advertised | No | Yes: remote MCP (168 tools), CLI, agent skills | Yes, via x402 gateway (USDC) | Free: 30M CU/mo, 15 req/s | Pay as you go: $0.52 per 1M CU |
Codex | Sub-second token & DEX data for trading UIs | 80+ networks | Sub-1 second | Wallet label types | No | Local MCP (npm) + docs MCP, agent skills | Pay-per-call via MPP (not x402) | "Almost free": $0 + $1 one-time, 10k CU/mo | Growth from $360/mo |
Dune | SQL analytics over decoded tables | 100+ blockchains | Real time (per Dune); query execution is async | Community-contributed (third-party source) | Via your own SQL | Yes: remote MCP, CLI & skills | Pay-per-call via MPP (not x402) | 7-day trial, 2,500 credits (then view-only, no API) | Analyst $75/mo ($65 annual) |
GoldRush (Covalent) | Multichain wallet balances & history | 100+ chains | Unknown | Not advertised | No | Yes: hosted MCP (37 tools) | Yes, x402 on Base (60+ endpoints) | 14-day trial, 25,000 credits | Vibe Coding $10/mo |
QuickNode | RPC infrastructure, streams | 79 blockchains / 137 networks (per QuickNode, Nov 2026) | Node-level (chain head) | Not advertised | No | Yes: remote MCP (account tools + | x402/MPP for agent plan sign-up, not per data call | 1-month free trial, 10M API credits | Build $49/mo ($34 annual) |
CoinStats API | Market, wallet and DeFi portfolio data | 120+ chains (per CoinStats) | Unknown | Not advertised | No | Yes: hosted MCP + local MCP | Yes, ~$0.001 per request (USDC on Base) | 20,000 credits/mo, 2 req/s | Starter $49/mo |
Prices are USD per month as listed on each provider's pricing page on Nov 4, 2026. "Not advertised" means we didn't find it on the provider's pricing or product pages. It doesn't mean the provider can never offer it.
The APIs, one by one
1. Nansen API: best for wallet labels and Smart Money data
What it is: The same onchain data that powers the Nansen platform, available as a REST API, an MCP server and a CLI. It covers wallet labels, Smart Money netflows, holdings, DEX trades and perp trades, address profiler (balances, PnL, counterparties, related wallets), Token God Mode token data (holders, flows, who bought/sold, OHLCV, screener), Hyperliquid perps, and historical endpoints for backtesting. The API also supports spot swaps and Hyperliquid perp execution, where you sign and Nansen prepares the transaction.
Why it stands out:
Smart Money as an endpoint, not a DIY project.
smart-money/netflows,smart-money/holdings,smart-money/dex-tradesandsmart-money/pnl-leaderboardreturn cohort data directly. With most other APIs here, you'd have to define and maintain "smart" wallets yourself.First-party labels. The address-labels endpoint returns entity and behavioral labels. Nansen says it has 500M+ labeled addresses.
Built for AI agents. There's a hosted MCP server with the full 53-tool catalog when you connect with an API key, plus OAuth connectors for ChatGPT, Claude, Grok and other clients, which expose a curated set of 16 tools with no API key needed. MCP data tools are read-only and bill Nansen API credits. The CLI (
npm install -g nansen-cli) returns structured JSON for agents.Pay-per-call with x402. You don't need an account or API key. Pay $0.01 (basic) or $0.05 (premium and Smart Money endpoints) per call in USDC on Base, Solana or Monad. All Pro-tier endpoints except labels are available this way.
Pricing:
Free plan: 100 trial credits, then a daily top-up back to 10 credits. You can also buy credit top-ups at $1 per 1,000 credits, with no subscription required. Every endpoint available on Pro is included. Rate limits are 15 requests/second and 300/minute.
Pro plan: $49/month billed annually or $69/month billed monthly. You get 2,000 credits when you subscribe, and the balance tops back up to 2,000 on the 1st of each month. You can also buy credit top-ups at a discounted rate. Rate limits are 75/second and 1,500/minute.
Per-endpoint credit costs: most profiler and token calls cost 1 credit, Smart Money endpoints cost 5, common labels cost 10, and premium labels cost 50. Labels cost 0 when the response is empty. You aren't charged for failed (non-2xx) requests.
Chain coverage: Nansen supports EVM and non-EVM chains, including Ethereum, Solana, Base, BNB Chain, Arbitrum, Bitcoin and Hyperliquid. Support varies by endpoint and changes over time, so check the supported chains page and the API changelog for the current list.
Limitations: Labels are the most credit-intensive calls, so a free-plan account can afford very few label lookups. Nansen isn't a node provider: for raw RPC or transaction broadcasting outside its swap and perp flows, pair it with an RPC provider.
2. Arkham: entity, label and tag data
Arkham's API is built around its entity database: addresses, entities, labels and tags. Plans are custom and usage-based, with credits per month starting at $100. Access is by application, and trials are available on request. Arkham also offers x402 pay-per-request at $0.20 per credit, in USDC on Base or Solana, across about 90 public read endpoints. Its docs include a guide for having Claude generate a local MCP bridge, and Arkham also offers an official hosted MCP server (mcp.arkm.com). Chain coverage: 20+ chains. Smart Money data: Unknown.
Choose Nansen if you want entity and behavioral labels (500M+ labeled addresses per nansen.ai/api) together with Smart Money cohorts, PnL leaderboards and token flows by holder type in one API, reachable through the REST API, CLI and MCP (53 tools with an API key) or x402 pay-per-call. Consider Arkham if you want its entity, label and tag data on a custom plan.
3. Bitquery: best for custom real-time streams
Bitquery offers GraphQL APIs and WebSocket streams that cover 40+ indexed chains. Self-serve real-time plans cover 10 core chains with a rolling window: 30 days for trades, and about 12 hours to 4 days for raw onchain data. Archive data is a paid add-on per chain, from $70/month billed yearly. Multi-chain address labels are a separate $69/month add-on (billed yearly). Bitquery also sells MCP plans: Trading MCP at $13/month and AI Investigation MCP at $100/month, both billed yearly. Self-serve plans start with Personal at $29/month billed yearly, which is for personal use only. Commercial use starts at Pro, $69/month billed yearly. Every paid plan comes with a 7-day free trial.
Best for teams that want to define their own "whale" or "smart" logic from raw primitives. Trade-off: you build and maintain that logic yourself.
4. CoinGecko API: best for token prices and market data
CoinGecko is the default for crypto data such as prices, market caps, exchange data and DEX pool data. Its onchain data comes from GeckoTerminal and covers 360+ networks. The Demo plan is free with 10,000 credits a month and 100 calls a minute. Paid plans start at Basic, $35/month or $29/month billed yearly. CoinGecko has a keyless remote MCP server, a CLI and x402 at $0.005 per request on supported endpoints. Its pricing page lists wallet balances, PnL, trades and top token traders, but not wallet labels.
Pair it with Nansen when you need to know who is buying a token, not just its price.
5. Moralis: wallet, token and NFT APIs for apps
Moralis offers Wallet, Token, NFT, Price and DeFi APIs, plus Streams, RPC nodes and Data Feeds (decoded data delivered to your own database). Data Feeds starts at $10/month. API plans start at Starter, $149/month, and Pro is $249/month. Free trials are set up on request. Moralis publishes an npm MCP server that you host yourself (last updated Sep 2025), and its docs now point to Onchain Skills. Chain coverage: 40+ chains. Data freshness, labels and x402: Unknown. Moralis's docs site blocked our automated check.
6. Alchemy: best for raw web3 / RPC with a generous free tier
Alchemy is a node and web3 API platform with Token, Prices, Transfers, Portfolio and NFT APIs. The free tier includes 30M compute units a month at 15 requests/second, and Pay as You Go costs $0.52 per 1M CU. Its hosted MCP server exposes 168 tools across 100+ networks, and Alchemy also has a CLI and agent skills. The Alchemy CLI can pay other x402 APIs. Alchemy's own data can be bought per call in USDC through its x402 gateway. Alchemy doesn't offer labels or Smart Money data. Use Alchemy for reads and writes, and Nansen for intelligence.
7. Codex: best for sub-second token and DEX data
Codex is a GraphQL API for token prices, charts, holders and prediction markets. It reports sub-second data freshness across 80+ networks. The "Almost free" plan costs $0 a month after a $1 one-time signup fee and includes 10,000 compute units. Growth plans start at $360/month. Codex offers a local MCP server (@codex-data/codex-mcp), a docs MCP and agent skills. It offers wallet label types, and pay-per-call works through MPP rather than x402.
8. Dune: best for SQL analytics
Dune is a SQL warehouse over raw and decoded tables for 100+ blockchains. It has an official remote MCP server, a CLI and skills, so agents can write and run DuneSQL queries. API access needs a trial or a paid plan: after the 7-day trial (2,500 credits), free access is view-only. Analyst costs $75/month ($65/month billed yearly) for 4,000 credits, and Plus costs $399/month ($349/month billed yearly). Credits depend on compute, so one credit doesn't equal one query. Labels come from community-contributed tables.
Choose Dune when you want full control in SQL. Choose Nansen when you want curated labels and Smart Money as ready-made endpoints, with no SQL to maintain.
9. GoldRush (Covalent): multichain wallet data on a budget
GoldRush returns decoded wallet balances, transactions, NFTs, prices and DEX data across 100+ chains, with full history on every plan. Its 14-day trial includes 25,000 credits, Vibe Coding costs $10/month for 10,000 credits, and Professional costs $250/month for 300,000 credits. GoldRush supports x402 on Base for 60+ endpoints and has a hosted MCP server with 37 tools. It doesn't advertise labels or Smart Money data.
10. QuickNode: RPC infrastructure and streams
QuickNode provides RPC infrastructure, Streams, Webhooks and IPFS. The free trial gives you one month and 10M API credits. Build costs $49/month ($34/month billed yearly) for 80M credits. Its hosted MCP server manages your QuickNode account and reads chain data through a call-rpc tool. AI agents can buy a QuickNode plan through x402 or MPP, but that's a way to subscribe, not a per-call payment for data. QuickNode doesn't offer labels or Smart Money data.
11. CoinStats API: market, wallet and DeFi portfolio data
CoinStats offers market, wallet and DeFi portfolio data, with a free plan of 20,000 credits a month at 2 requests/second. Starter costs $49/month for 1M credits. CoinStats has a hosted MCP server and an x402 gateway at about $0.001 per request, in USDC on Base. Wallet calls cost 40–50 credits each, and DeFi portfolio calls cost 400. Labels aren't advertised.
Category picks
Category | Pick | Why |
Best wallet labels API | Nansen | First-party entity and behavioral labels in the same API as PnL, counterparties and related wallets. |
Best Smart Money API | Nansen | The only API here with dedicated Smart Money netflow, holdings, DEX trades, perp trades and PnL leaderboard endpoints. |
Best entity labels with wallet, PnL and holder context | Nansen | 500M+ labeled addresses per nansen.ai/api, in the same API as wallet, PnL, holder and Smart Money data, via REST API, CLI, MCP and x402 pay-per-call. |
Best token data API (who is trading it) | Nansen | Token God Mode returns holders, flows by holder type, and who bought or sold. |
Best token price / market data API | CoinGecko | 360+ networks of DEX data and the broadest market coverage. |
Best sub-second DEX data | Codex | Published sub-1s freshness. |
Best raw web3 / RPC API | Alchemy, QuickNode | Node-level access, generous free tiers. |
Best SQL onchain analytics | Dune | Warehouse plus MCP and CLI. |
Best custom real-time streams | Bitquery | GraphQL plus WebSocket, Kafka and gRPC streams. |
Best for AI agents (MCP + CLI + x402) | Nansen | Hosted MCP with OAuth connectors for ChatGPT, Claude and Grok, a CLI, and x402 pay-per-call, all on a free plan. CoinGecko and GoldRush are strong options for price and balance data. |
Cheapest multichain balances | GoldRush, CoinStats | $10/month plan and a 20k-credit free plan, respectively. |
FAQ
What is the best API for wallet labels?
Nansen's API returns first-party entity and behavioral labels for an address in one call. Nansen says it has 500M+ labeled addresses. Arkham also offers entity data, and Bitquery sells labels as a $69/month add-on.
Which crypto API has Smart Money data?
Nansen has dedicated Smart Money endpoints: netflows, holdings, historical holdings, DEX trades, perp trades and PnL leaderboards. Most other APIs give you raw trades or top-trader lists, and you define "smart" wallets yourself.
Is there a free onchain data API?
Yes. Nansen's Free plan gives you 100 trial credits, then tops your balance back up to 10 credits a day, with access to every endpoint. CoinGecko's Demo plan includes 10,000 credits a month, Alchemy's free tier includes 30M compute units a month, and CoinStats' free plan includes 20,000 credits a month. Dune, GoldRush, Bitquery, QuickNode and Arkham offer time-limited trials rather than an ongoing free API plan.
Which onchain data APIs support MCP for AI agents?
Nansen, CoinGecko, Alchemy, Dune, GoldRush, QuickNode, CoinStats and Bitquery have official MCP servers. Moralis and Codex publish local MCP servers. Nansen's OAuth connectors let ChatGPT, Claude and Grok query Nansen data with no API key, billed in Nansen API credits.
Can an AI agent pay per API call without an account?
Yes, through x402. Nansen charges $0.01–$0.05 per call in USDC on Base, Solana or Monad, with no API key. Arkham, CoinGecko, GoldRush and CoinStats also support x402.
What's the difference between an RPC provider and an onchain data API?
An RPC provider such as Alchemy or QuickNode gives you raw node access, and you decode and index the data yourself. An onchain data API returns decoded data such as balances, trades and prices. An intelligence API such as Nansen adds labels, Smart Money cohorts and flows on top of that.
How much does the Nansen API cost?
The Free plan costs $0, includes 100 trial credits and then 10 a day, and lets you buy extra credits at $1 per 1,000 credits with no subscription required. Pro costs $49/month billed annually or $69/month billed monthly, with 2,000 credits that top back up each month, plus discounted top-ups. You can also pay per call with x402 for $0.01–$0.05. See the credits & pricing guide.
Start free with the Nansen API
Get Smart Money flows, wallet labels and token intelligence in your app or AI agent today:
Create a free API key: you get 100 trial credits and every Pro endpoint. nansen.ai/api
Read the docs: docs.nansen.ai
Connect your AI agent: set up the MCP server, install the CLI (
npm install -g nansen-cli), or pay per call with x402.




