Get Market Stats
Retrieves the market stats for all tokens which have trades in the last 30 days
Authorizations
Query parameters
sortFieldenum · enumOptionalPossible values:
The field to sort by ('volume', 'volume30d', 'volume7d', 'volume24h', 'volume6h')
tokenIdstringOptionalExample:
tokenId
45ee725c2c5993b3e4d308842d87e973bf1951f5f7a804b21e4dd964ecd12d6b_0
offsetintegerOptionalExample:
The offset to start from
0
limitintegerOptionalExample:
The limit of the stats (default 20, max 100)
20
Responses
200
Successful operation
application/json
401
Invalid API Key
get
GET /v1/cat20-dex/getMarketStats HTTP/1.1
Host: open-api-fractal.unisat.io
Authorization: Bearer JWT
Accept: */*
{
"code": 1,
"msg": "OK",
"data": {
"tokenStats": {
"tokenId": "text",
"volume": "text",
"volume30d": "text",
"volume24h": "text",
"volume7d": "text",
"volume6h": "text",
"price": 1,
"price6h": 1,
"price24h": 1,
"price7d": 1,
"price30d": 1,
"name": "text",
"symbol": "text",
"decimals": 1,
"max": 1,
"volumeToken": "text",
"volumeToken30d": "text",
"volumeToken24h": "text",
"volumeToken7d": "text",
"volumeToken6h": "text"
},
"total": 1
}
}
Please note that the values here do not include decimal places.
"price": 198000
refers to 198000 satoshis / 0.01 CAT, which equates to 0.198 FB/CAT after conversion.
The unit for volume is satoshis.
"volume": "7169599786237"
translates to a total transaction volume of 71695.99786237 FB.

Last updated