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.
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.
Demo data for illustration. Live responses return in ~100-200ms.
/wallet/transactionsGET/profit-lossFull 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.
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…VFinSOL Staking6.8%
SOL/USDC LP14.2%
Lending9.4%
Liquid Staking8.1%
RAY/SOL LP18.6%
/portfolioGET/portfolio/chartsAdvanced 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.
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.
- 1Paste the URL into your client's connector settings.
- 2Approve the consent screen in your browser.
- 3Ask your agent: “what does this Solana wallet hold?”
Build Anything That Reads a Solana Wallet
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 |
|---|---|---|---|---|
| Type | Solana data API | RPC + data APIs | RPC + data APIs | RPC + data APIs |
| SPL + SOL balances | ||||
| Token prices (USD) | ||||
| DeFi position resolution | 10,000+ protocols | |||
| Portfolio analytics + P&L | Limited | |||
| RPC node / send tx | ||||
| Chains beyond Solana | 120+ | Solana-only | 40+ chains | 82+ chains |
| Free tier | Yes · 20,000/mo | Yes | Yes | Yes |
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.
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.