unisat-dev-docs

CAT20 DEX API

Fractal Only API for CAT20 DEX operations. This API provides endpoints to interact with the Fractal network, including supply information, address statistics, and rich lists.

👉 View Swagger UI


📑 Table of Contents

Route Summary
GET /v1/cat20-dex/getTokenPrice Get token price
GET /v1/cat20-dex/getMarketStats Get the market stats

CAT20-DEX

Get token price

Method: GET
Path: /v1/cat20-dex/getTokenPrice
Swagger Link: View in Swagger UI

Description

Retrieves the current price of a CAT20 token. If the token has no trades in the last 30 days, it will return the last price.

Parameters

Response (200)

Successful operation

Response (401)

Invalid API Key


Get the market stats

Method: GET
Path: /v1/cat20-dex/getMarketStats
Swagger Link: View in Swagger UI

Description

Retrieves the market stats for all tokens which have trades in the last 30 days

Parameters

Response (200)

Successful operation

Response (401)

Invalid API Key