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

Get market cap by symbol

GET
/v1/defi/market/market-data/market-cap

Returns the latest market capitalization (in USD) for an asset.

Query Parameters

asset_id?string

Backend asset ID. Mutually exclusive with symbol: exactly one of the two is required, and naming both is a 400.

Formatuuid
symbol?stringDeprecated

Asset symbol to fetch the market cap for (e.g. BTC, ETH, SOL).

Response Body

Market cap data for the requested symbol

application/json
  1. response
asset_id?string

Backend asset ID

Formatuuid
symbol?string

The asset symbol

market_cap?string

Market capitalization in USD (as string to preserve precision)

Example Request
curl -X GET 'https://api.truemarkets.co/v1/defi/market/market-data/market-cap'
Example Response
{  "symbol": "BTC",  "market_cap": "1234567890000"}