---
title: "Trending Assets"
url: https://docs.truemarkets.co/api/websocket/market-data/trending-assets
description: "Batch of trending assets ranked by recent vs. historical trading volume."
---

Docs index: https://docs.truemarkets.co/llms.txt

# Trending Assets

True Markets Market Data WebSocket sends these messages to you.

Address: `/v1/defi/market`

## Servers

- `wss://api.truemarkets.co` (Production, wss)
- `wss://api.uat.truemarkets.co` (Uat, wss)

## Messages

### trendingAssets

Batch of trending assets.

Payload: `TrendingAssetsPayload`

Example payload:

```json
{
  "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"
    }
  ]
}
```

## Types

```ts
export type TrendingAssetsMessage = TrendingAssetsPayload;

export interface TrendingAssetsPayload {
  type: "trending_assets";
  timestamp: number;

  /** The concrete topic this message belongs to, e.g. `["trending_assets"]` — even for `all` subscribers. */
  topics: Topic[];
  data: TrendingAsset[];
}

/**
 * Topic identifier. `all` is a wildcard alias for every stream (per-instrument
 * topics excluded). Per-instrument topics are parameterized:
 * `orderbook.{venue}.{pair}` (e.g. `orderbook.hyperliquid-perp.BTC-USD`),
 * `price.{SYMBOL}` (e.g. `price.BTC`, `price.BTC-PERP`),
 * `candles.{SYMBOL}.{interval}` (e.g. `candles.ETH.1h`) and
 * `reference.{SYMBOL}` (e.g. `reference.BTC`). They are subscribable but not
 * part of the fixed enum below and are never delivered to `all` subscribers.
 *
 */
export type Topic =
  | "all"
  | "price_candles"
  | "trending_assets"
  | "surging_assets"
  | "reference_prices";

/** Trending asset with recent vs. historical volume metrics. */
export interface TrendingAsset {
  symbol?: string;
  address?: string;
  chain?: string;

  /** Market capitalization in USD. */
  market_cap?: string;

  /** Recent volume divided by historical volume. */
  trending_ratio?: string;

  /** Recent trading volume. */
  recent_volume?: string;

  /** Historical trading volume baseline. */
  historical_volume?: string;
}
```