Developer tools
API Playground
Test any endpoint live with your API key, view real responses, and copy ready-to-use code snippets.
WebSocket Connection
disconnected
Pro only. Max 2 concurrent connections per user. Uses Socket.IO protocol (not raw WebSocket). Block-time on-chain data events coming soon.
Symbol Filter20 of 20
Code Snippets
import { io } from 'socket.io-client';
const socket = io('https://chartinspect.com/api-ws', {
auth: { apiKey: 'ci_live_your_api_key_here' },
transports: ['websocket', 'polling'],
});
socket.on('connect', () => console.log('Connected:', socket.id));
socket.on('initial-prices', (prices) => console.log('Initial:', prices));
socket.on('price-update', (update) => {
console.log(`${update.symbol}: $${update.price}`);
});
// Subscribe to specific symbols (optional, all 20 by default)
socket.emit('subscribe', ['BTC', 'ETH', 'SOL']);
socket.on('subscribed', (data) => console.log('Subscribed:', data.symbols));Live Prices
Connect to see live prices
Event Log
Events will appear here