# Metastreams > Metastreams is a real-time crypto data API. Spot market data for Solana, BNB Chain, Robinhood Chain and Elysium is in the API today: live token prices, charts, holders, trades, wallet PnL and trader signals over REST and WebSocket. Perpetuals and prediction markets are in early access and not in the API yet. Teams use it to build trading terminals, trading bots, wallets, token screeners, wallet trackers, dashboards and AI agents. ## API - REST base URL: `https://api.metastreams.io/v1` - WebSocket: `wss://api.metastreams.io/v1/stream` - Authentication: Send `Authorization: Bearer $API_KEY` from your server. A browser sends a short-lived session token instead, minted by your server, so the key never reaches users. - [OpenAPI spec](https://api.metastreams.io/openapi.json): the full REST contract, public, no key needed - [AsyncAPI spec](https://docs.metastreams.io/specs/asyncapi.yaml): every stream channel and frame - [Docs MCP server](https://docs.metastreams.io/mcp): search the docs from an MCP client (Streamable HTTP) ## Endpoints - [Tokens](https://docs.metastreams.io/reference/rest/token-details.md): `GET /v1/tokens`. Price, stats, holders, security and launchpad of up to 100 tokens. - [Candles](https://docs.metastreams.io/reference/rest/token-ohlcv.md): `GET /v1/ohlcv`. OHLCV from 1s to 7d, per token or per pool. - [Trades](https://docs.metastreams.io/reference/rest/trades.md): `GET /v1/trades`. Recent trades by token, wallet or notable-wallet feed. - [Trade history](https://docs.metastreams.io/reference/rest/trade-search.md): `POST /v1/trades`. Trades that match any spot.trades filter, newest first or ranked. - [Holders](https://docs.metastreams.io/reference/rest/token-holders.md): `GET /v1/holders`. Current holders, largest balance first, with wallet classifications. - [Search](https://docs.metastreams.io/reference/rest/search.md): `GET /v1/search`. Tokens by symbol, name or address, and wallets by name. - [Discovery boards](https://docs.metastreams.io/reference/rest/discovery.md): `POST /v1/discovery`. New, graduating and graduated launchpad tokens, ranked and filtered. - [Trending](https://docs.metastreams.io/reference/rest/trending.md): `POST /v1/trending`. Tokens ranked by trending score. - [Wallet balances](https://docs.metastreams.io/reference/rest/wallet-balances.md): `GET /v1/balances`. Latest balance of each wallet and asset. - [Positions](https://docs.metastreams.io/reference/rest/positions.md): `GET /v1/positions`. Spot positions of wallets, with cost basis and PnL. - [Portfolio](https://docs.metastreams.io/reference/rest/portfolio.md): `GET /v1/portfolio`. Value, balances, positions and stats of up to 100 wallets. - [Native prices](https://docs.metastreams.io/reference/rest/native-prices.md): `GET /v1/native-prices`. USD price of each chain's gas asset. - [Session tokens](https://docs.metastreams.io/reference/rest/session-tokens.md): `POST /v1/session-tokens`. A short-lived credential for a browser user. - [Live streams](https://docs.metastreams.io/streams/overview.md): `GET /v1/stream`. Trades, transfers, candles, tokens, boards, balances, positions and holders over WebSocket. ## Docs - [Quickstart](https://docs.metastreams.io/get-started/quickstart.md): First REST request and first stream - [Authentication](https://docs.metastreams.io/get-started/authentication.md): API keys and session tokens - [API reference](https://docs.metastreams.io/reference/rest/token-details.md): Every REST endpoint - [WebSocket streams](https://docs.metastreams.io/streams/overview.md): Connect, subscribe, reconnect - [AsyncAPI spec](https://docs.metastreams.io/specs/asyncapi.yaml): The stream contract - [MCP server](https://docs.metastreams.io/get-started/ai-tools.md): Search the docs from Claude, Cursor or VS Code - [Docs index for LLMs](https://docs.metastreams.io/llms.txt): every docs page as Markdown - [Full docs for LLMs](https://docs.metastreams.io/llms-full.txt): every docs page in one file ## Products - [Spot](https://metastreams.io/spot.md): Real-time token data API for Solana, BNB Chain (BSC), Robinhood Chain and Elysium: prices, charts, holders, trades, wallets and new token launches. In the API today. - [Perpetuals](https://metastreams.io/perps.md): Perpetuals data: funding rates, open interest, liquidations and positions. Early access: not in the API yet, and the page shows sample data. - [Prediction markets](https://metastreams.io/prediction-markets.md): Prediction market data: markets, outcome prices, trades and positions. Early access: not in the API yet, and the page shows sample data. ## Key facts - Data points per token: 110+ - Chart resolutions: 15 - Venues decoded: 100+ - Block to your product: <10ms - One schema across REST and WebSocket, field for field - Full trade history, kept with no expiry - Versioned endpoints, never broken in place ## What you can build with it - **Token prices and charts:** a real-time crypto price API with OHLCV candlestick charts from 1 second to 7 days, by price or market cap, updating live. - **Token data:** market cap, liquidity, volume, buys and sells, price changes over 5 minutes to 24 hours, all-time highs, creator and launch details for every token. - **Token holders:** a token holders API with top holders, holder counts and concentration, including how much is held by snipers, bundlers, insiders, the developer and fresh wallets. - **Trader signals and smart money:** every trade and holder can be labelled as a sniper, bundler, insider, developer, fresh wallet, whale, KOL (key opinion leader) or pro trader. Follow whale trades and KOL wallets live, or filter out bots and bundles. - **Token security and rug checks:** whether a token can still be minted, whether transfers can be blocked, how much liquidity is burnt, transfer fees, and wallets known for phishing or scams. - **New token launches and memecoins:** launchpad discovery boards (Pump.fun style) with new, graduating and graduated tokens, plus a trending tokens board, all live. - **DEX trades:** a live feed of every DEX trade across 100+ venues, filtered by token, wallet or trader type. - **Wallets and PnL:** a wallet PnL API with balances, portfolios and positions for up to 100 wallets at once, with realised and unrealised profit and loss and cost basis. Build a wallet tracker or copy-trading tool. - **Real-time streams:** a crypto WebSocket API that pushes prices, trades, candles, holders, balances, new launches and trending changes as they happen. Every update can carry its own timing, so you can measure the latency yourself. - **Safe in the browser:** your server swaps the API key for a short-lived session token, so the key never reaches users. ## Build with AI - [AI crypto app builder](https://metastreams.io/build): build anything in crypto from one sentence. Describe a token screener, memecoin screener, whale tracker, wallet PnL dashboard, alert board or trading terminal, and AI builds a working app on real-time on-chain data in under a minute. Every app gets a live link and its full source code. - [Start a build](https://metastreams.io/build/new): type one sentence, get a live crypto app. ## Optional - [Home page](https://metastreams.io/index.md): the site's front page, in Markdown - [Use cases](https://metastreams.io/use-cases.md): trading terminals, trading bots, wallet trackers, token screeners, analytics dashboards and AI agents. - [Pricing](https://metastreams.io/pricing.md): pay-as-you-go credits, one price on every chain. Start free with 100K credits a month. - [Get an API key](https://metastreams.io/signup): your API key in under a minute. - [Contact sales](https://t.me/ohdatskate)