For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/market-data/surging-assets.md.
Surging Assets
Receive
Server
Batch of assets with significant price movement over 1h, 4h, and 24h windows.
const socket = new WebSocket("wss://api.truemarkets.co/v1/defi/market");socket.addEventListener("message", (event) => { console.log(event.data);});- payload
type*"surging_assets"Value in
"surging_assets"timestamp*integerFormat
int64topics*array<>The concrete topic this message belongs to, e.g. ["surging_assets"] — even for all subscribers.
data*array<>Example
{ "type": "surging_assets", "timestamp": 0, "topics": [ "all" ], "data": [ { "symbol": "string", "address": "string", "chain": "string", "price_change_pct_1h": "string", "price_change_pct_4h": "string", "price_change_pct_24h": "string", "price_1h_ago": "string", "price_4h_ago": "string", "price_24h_ago": "string", "current_price": "string" } ]}