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/pairs
Response ValueTypeNotes
pairs[]arrayList of all traded CAT-XCH pairs (CATs with at least one XCH trade on dexie)
ticker_idstringIdentifier of the ticker with a delimiter to separate base/target, eg. db1a..._xch
basestringAsset ID of the base asset, eg. db1a...
targetstringAsset ID of the target asset, eg. xch
pool_idstringUnique Identifier of the asset pool

Tickers (Market and Price Data)

GET https://api.dexie.space/v3/prices/tickers
Query ParameterRequiredPossible ValuesNotes
ticker_idnoany ticker_id from /pairsOptional, default all

Order Book Depth Details

GET https://api.dexie.space/v3/prices/orderbook
Query ParameterRequiredPossible ValuesNotes
ticker_idyesany ticker_id from /pairseg. db1a..._xch
depthnointegerOrders 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_trades
Query ParameterRequiredPossible ValuesNotes
ticker_idyesany ticker_id from /pairseg. db1a..._xch
typenobuy or sellInclude only trades with this type, default both/all
limitnointegerNumber of historical trades to retrieve from time of query
Default is 1000, set to 0 for all
start_timenotimestamp (in milliseconds)Start time from which to query historical trades from
end_timenotimestamp (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.