Prices API for Chia Asset Tokens (CATs)
The dexie Prices API is a simple interface which follows the recommended Exchange API format for integration of token prices and volume data into portfolio apps, explorers or price trackers. The API is public and authentication is not required.
💡 Tip: For more advanced use cases (trading, offers and NFTs), use the Offers API.
If you want to link to dexie or show a dexie icon, head over to the dexie kit.
List all traded XCH-CAT Pairs
GET https://api.dexie.space/v3/prices/pairsResponse Value | Type | Notes |
---|---|---|
pairs[] | array | List of all traded CAT-XCH pairs (CATs with at least one XCH trade on dexie) |
ticker_id | string | Identifier of the ticker with a delimiter to separate base/target, eg. db1a..._xch |
base | string | Asset ID of the base asset, eg. db1a... |
target | string | Asset ID of the target asset, eg. xch |
pool_id | string | Unique Identifier of the asset pool |
Tickers (Market and Price Data)
GET https://api.dexie.space/v3/prices/tickersQuery Parameter | Required | Possible Values | Notes |
---|---|---|---|
ticker_id | no | any ticker_id from /pairs | Optional, default all |
Order Book Depth Details
GET https://api.dexie.space/v3/prices/orderbookQuery Parameter | Required | Possible Values | Notes |
---|---|---|---|
ticker_id | yes | any ticker_id from /pairs | eg. db1a..._xch |
depth | no | integer | Orders depth quantity, 0 or empty returns full depth Depth 100 means 50 for each bid/ask side |
Historical Trades Data
GET https://api.dexie.space/v3/prices/historical_tradesQuery Parameter | Required | Possible Values | Notes |
---|---|---|---|
ticker_id | yes | any ticker_id from /pairs | eg. db1a..._xch |
type | no | buy or sell | Include only trades with this type, default both/all |
limit | no | integer | Number of historical trades to retrieve from time of query Default is 1000, set to 0 for all |
start_time | no | timestamp (in milliseconds) | Start time from which to query historical trades from |
end_time | no | timestamp (in milliseconds) | End time for historical trades query |
Disclaimer
The API is provided "as is", with no guarantee of completeness, accuracy, reliability, and without warranty of any kind. Use on your own risk.