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
/v1/defi/market
Server

Batch of assets with significant price movement over 1h, 4h, and 24h windows.

Code Sample
const socket = new WebSocket("wss://api.truemarkets.co/v1/defi/market");socket.addEventListener("message", (event) => {  console.log(event.data);});

Messages

  1. payload
type*"surging_assets"
Value in"surging_assets"
timestamp*integer
Formatint64
topics*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"    }  ]}