Start for Free
Start for Free

Solana API for Token, Wallet & DeFi Data

Query any Solana address for SPL tokens, SOL, transactions, prices, and DeFi in one JSON schema. Data API, not an RPC node. Free tier.

CoinStats Solana API
SPL Tokens
SOL Balance
Transactions
DeFi Positions
Token Prices
All priced in USD
Live Demo

What the CoinStats Solana API Does

Pass a Solana address and get structured JSON back. SPL tokens, SOL, transactions, and DeFi positions, each priced in USD.

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

Full Solana Transaction History and Profit & Loss

SPL transfers, SOL movements, swaps, and program interactions, each with USD value at the time, plus realized and unrealized PnL.

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 · Jupiter
$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
Solana DeFi

Solana DeFi Positions, Auto-Detected

Staking, lending, and LP positions on Solana protocols, auto-detected per wallet. Powered by the same engine that resolves 10,000+ protocols cross-chain.

9xQeW…VFin
Marinade
SOL Staking
6.8%
Orca
SOL/USDC LP
14.2%
Kamino
Lending
9.4%
Jito
Liquid Staking
8.1%
Raydium
RAY/SOL LP
18.6%
GET/portfolioGET/portfolio/charts

Advanced Portfolio Analytics for Solana Wallets

Aggregate SPL tokens, SOL, and DeFi positions into one portfolio view: total value, allocation, performance, and realized and unrealized P&L.

PORTFOLIO INSIGHTS 9xQe…F4kP
$13,875.85
+$1,240.50 ▲ 9.8% (24h)
Asset Allocation By token
8 tokens
SOL and SPL tokens in one wallet
SOL
46%
JUP
22%
USDC
18%
JTO
14%
PORTFOLIO VS MARKET vs Market
+79.93%
Your portfolio · 1Y
Your Portfolio
+79.93%
SOL Index
+61.20%
S&P 500
+18.40%
MCP Server

The Solana MCP Server for AI Agents

The CoinStats MCP server exposes wallet, DeFi, and portfolio tools, including Solana data, 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 Solana wallet hold?”
Read the MCP Docs
Use Cases

Build Anything That Reads a Solana 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 Solana APIs

RPC providers run nodes and send transactions. CoinStats is the Solana data layer: pre-priced balances, DeFi positions, and P&L across 120+ chains.

Feature CoinStats Helius Alchemy QuickNode
TypeSolana data APIRPC + data APIsRPC + data APIsRPC + data APIs
SPL + SOL balances
Token prices (USD)
DeFi position resolution10,000+ protocols
Portfolio analytics + P&LLimited
RPC node / send tx
Chains beyond Solana120+Solana-only40+ chains82+ chains
Free tierYes · 20,000/moYesYesYes

Comparison compiled June 2026 from public documentation; figures change, check each provider's current docs.

The Free Solana 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

Solana API FAQ

Does Solana have an API?

Yes. Beyond Solana's own RPC interface, data APIs like CoinStats let you read Solana wallet and market data over simple HTTP requests. You pass a Solana address and get SPL token balances, native SOL, transaction history, and DeFi positions back as JSON, each priced in USD, without running a node.

What is the CoinStats Solana API?

A Solana data API. It reads on-chain and market data for any Solana address: SPL tokens, SOL, transactions, DeFi positions, and prices, returned as structured JSON from a single key. It is the enriched-data layer most Solana apps need, as opposed to raw node infrastructure.

What's the difference between a Solana RPC and a Solana data API?

A Solana RPC is your gateway to a node: you read raw network state and submit transactions, and you handle parsing and pricing yourself. A Solana data API like CoinStats does that work upstream and returns enriched, pre-priced data. Use an RPC when you need to send transactions or query raw state; use CoinStats when you need readable, portfolio-ready data.

Can it create a Solana wallet or send transactions?

No. CoinStats is a Solana data API for reading on-chain and market data. It does not create wallets, hold keys, run RPC nodes, or submit transactions. Pair it with an RPC or wallet provider if you need those.

How does the CoinStats Solana API compare to Helius or Alchemy?

Helius, Alchemy, and QuickNode are primarily RPC and node-infrastructure providers, and they also offer token and price data. CoinStats is a data layer focused on enriched, portfolio-ready output: balances pre-priced in one response, DeFi position resolution, and portfolio analytics with P&L, across 120+ chains in one schema. For sending transactions or raw node access, use an RPC provider; for portfolio-ready Solana data with DeFi and P&L, use CoinStats.

Does it work with AI agents like Claude or ChatGPT?

Yes. The CoinStats MCP Server exposes wallet, DeFi, and portfolio tools, including Solana data, over the Model Context Protocol. It works with Claude, Cursor, Claude Code, VS Code, and N8N. The same API key works for REST and MCP.

Can I get SPL token balances and SOL holdings for an address?

Yes. Pass any Solana address and get all SPL token balances plus native SOL, with token metadata and live USD prices attached in one response.

Does it include Solana transaction history?

Yes. Full transaction history for any Solana address: SPL transfers, SOL movements, swaps, and program interactions, each with timestamps, amounts, token identifiers, and USD value at the time of the transaction.

Does it cover Solana DeFi positions?

Yes. Staking, lending, LP shares, and yield positions on Solana protocols are auto-detected per wallet and resolved to readable USD values, with no protocol-by-protocol setup.

Does it return Solana token prices?

Yes. Live USD prices, market caps, and volumes for Solana tokens, drawn from coverage of 100,000+ coins across chains. Balances come back already priced, so you do not need a separate price feed.

How is the response structured?

Clean JSON over REST, with standard HTTP status codes and API-key auth. Solana responses are pre-enriched with USD values, token metadata, and resolved DeFi positions, so they map directly to UI components.

Can I query Solana and other chains from the same key?

Yes. Solana is one of 120+ chains CoinStats covers in one schema. The same API key returns data for Solana, EVM chains, and Bitcoin, so a multi-chain product needs one integration instead of one provider per chain.

Is there a free Solana API?

Yes. The CoinStats free tier includes 20,000 credits per month at 2 requests per second, no credit card required. It is the same data available on paid plans at a lower limit, enough to prototype and ship.

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 per month and upgrade for higher limits. Usage is visible live in the dashboard.

How do I get started?

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