For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/market-data/trending-assets.md.

Trending Assets

Receive
/v1/defi/market
Server

Batch of trending assets ranked by recent vs. historical trading volume.

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*"trending_assets"
Value in"trending_assets"
timestamp*integer
Formatint64
topics*array<>

The concrete topic this message belongs to, e.g. ["trending_assets"] — even for all subscribers.

data*array<>
Example
{  "type": "trending_assets",  "timestamp": 0,  "topics": [    "all"  ],  "data": [    {      "symbol": "string",      "address": "string",      "chain": "string",      "market_cap": "string",      "trending_ratio": "string",      "recent_volume": "string",      "historical_volume": "string"    }  ]}