- An API key (or OAuth token)
- A working call against the ChainStream REST API
- A working call against the ChainStream SDK, CLI and MCP Server
- A clear pointer to whichever surface — REST, GraphQL, WebSocket, Kafka, SDK, CLI, MCP — best fits your workload
Estimated time: 5 minutes.
Prerequisites
A ChainStream account. Sign up here if you do not have one yet.1. Get your API key
- Open the ChainStream Dashboard.
- Go to Applications.
- Click Create New App.
- Copy the generated API Key (it starts with
cs_live_…).
2. Make your first request
This example fetches metadata for Wrapped SOL on Solana. Pick the interface that matches how you will integrate.- cURL
- SDK (TypeScript)
- CLI
- MCP (AI agent)
- OAuth 2.0 (JWT)
Response
| Field | Type | Description |
|---|---|---|
chain | string | Blockchain identifier, lowercase. |
address | string | Token contract address. |
name | string | Human-readable token name. |
symbol | string | Ticker symbol. |
decimals | integer | Token decimals. |
imageUrl | string | Canonical logo URL (may be null). |
tokenCreatedAt | integer | Creation timestamp (ms). |
3. Pick the right access method
You just made a single request/response call. Real integrations usually need more than that.REST API
On-demand lookups — tokens, wallets, pools, trades, compliance.
GraphQL
Flexible analytical queries over the full chain-data cube.
WebSocket
Sub-second pushes for live UIs and browser apps.
Kafka Streams
Exactly-once delivery into backends, indexers and trading engines.
SDKs
TypeScript, Python, Go, Rust — typed clients with auth built in.
CLI
Scripting, CI/CD and pay-per-call access for AI agents.
Troubleshooting
401 Unauthorized
401 Unauthorized
429 Too Many Requests
429 Too Many Requests
You hit your plan’s rate limit. Free plans start at 10 req/s; upgrade or back
off exponentially. See Plans & Units.
How do I query other chains?
How do I query other chains?
Use the chain identifier in the URL:
solana, ethereum, bsc, base,
polygon, arbitrum, optimism, avalanche, zksync, tron.
Full list in Supported Chains.Next steps
Browse the data catalog
Every dataset we publish, with coverage and refresh rates.
Start a real-time stream
Subscribe to live trades, prices, transfers and pool events.
Run compliance checks
KYT and KYA on transfers, withdrawals and counterparties.
Build an AI agent
Connect Claude, Cursor or ChatGPT via MCP + Agent Skills.

