Stop polling. Connect once via WebSocket and receive the exact settlement price the instant each window opens — BTC, ETH, SOL and more, across 5m, 15m, 1h, 4h and daily markets.
| Asset | 5m | 15m | 1h | 4h | 1d |
|---|---|---|---|---|---|
| — | — | — | — | — | |
| — | — | — | — | — | |
| — | — | — | — | — | |
| — | — | — | — | — | |
| — | — | — | — | — | |
| — | — | — | — | — | |
| — | — | — | — | — |
Prices arrive within 1–2 seconds of the window boundary, sourced directly from Chainlink and Binance aggTrades.
5m, 15m, 1h, 4h, and daily windows across BTC, ETH, SOL, XRP, HYPE, DOGE and BNB.
Subscribe to multiple assets and timeframes on a single WebSocket. No polling, no rate limits.
Open a WebSocket, wait for the connected event, send a subscribe message, and start receiving prices. TypeScript, Python, and Rust examples in the docs.
import WebSocket from 'ws';
const ws = new WebSocket('wss://api.vatic.trading/ws');
ws.on('message', (raw) => {
const msg = JSON.parse(raw.toString());
if (msg.event === 'connected') {
ws.send(JSON.stringify({
type: 'subscribe',
asset: 'btc',
marketTypes: ['5min', '15min', '1hour'],
}));
}
if (msg.event === 'window_open') {
console.log(`[${msg.marketType}] price=${msg.price}`);
// your trading logic here
}
});Get an API key in seconds. No credit card required.
Get started free