GET /api/v1/ws/assets/{symbol}/price
WebSocket endpoint that streams live cryptocurrency price updates for a given asset symbol.
Authentication​
None. This is a public WebSocket endpoint.
Connection​
Path Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Asset symbol (e.g., BTCUSDT, ETHUSDT, SOLUSDT) |
wscat -c wss://intotes.com/api/v1/ws/assets/BTCUSDT/price
Or in JavaScript:
const ws = new WebSocket("wss://intotes.com/api/v1/ws/assets/BTCUSDT/price");
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
console.log(data);
};
Messages​
Price Update​
The server sends price updates as they occur:
{
"type": "price_update",
"symbol": "BTCUSDT",
"price": 84532.17
}
Field Reference​
| Field | Type | Description |
|---|---|---|
type | string | Always "price_update" |
symbol | string | Asset symbol matching the subscription |
price | number | Current price in USD |
Supported Symbols​
| Symbol | Asset |
|---|---|
BTCUSDT | Bitcoin |
ETHUSDT | Ethereum |
SOLUSDT | Solana |
Connection Notes​
- The server sends ping frames periodically. Clients should respond with pong to keep the connection alive.
- If the connection drops, clients should implement reconnection logic with exponential backoff.
- Price updates are typically sent every few seconds as the underlying price changes.
- No client-to-server messages are expected.