Get Token Price

Get token price

get
Authorizations
Query parameters
tokenIdstringRequired

tokenId

Example: 45ee725c2c5993b3e4d308842d87e973bf1951f5f7a804b21e4dd964ecd12d6b_0
Responses
200
Successful operation
application/json
get
GET /v1/cat20-dex/getTokenPrice HTTP/1.1
Host: open-api-fractal.unisat.io
Authorization: Bearer JWT
Accept: */*
{
  "code": 1,
  "msg": "OK",
  "data": {
    "askPrice": 1,
    "bidPrice": 1,
    "latestTradePrice": 1,
    "timestamp": "text",
    "height": 1
  }
}
  • Please note that the values here do not include decimal places.

    • "askPrice": 197000 refers to 197000 satoshis / 0.01 CAT, which equates to 0.197 FB/CAT after conversion.

  • askPrice represents the current lowest selling price from sellers.

  • bidPrice represents the current highest bid from buyers.

Example

Last updated