REST API
Last updated
Last updated
Front-end developers may use our REST API (https://api.alexgo.io) to access the latest market data on ALEX.
/v1/pool_stats/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/pool_volume/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/volume_24h/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/volume_7d/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/pool_liquidity/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/liquidity/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/fee/{pool_token_id}
pool token id of swap pool eg. 13
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/stats/tvl/{token}
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/price_history/{token}
name of token eg. SP102V8P0F7JX67ARQ77WEA3D3CFB5XW39REDT0AM.token-alex
Specifies the order of block height to be returned, default value is desc
Specifies the end block height of data to be returned
Specifies the start block height of data to be returned
Specifies the offset of data to be returned, default value is 0
Specifies number of data to be returned, default value is 10
No body
/v1/ticker/{ticker_id}
A ticker with delimiter between different cryptoassets eg. SP102V8P0F7JX67ARQ77WEA3D3CFB5XW39REDT0AM.token-alex_stx
No body
/v1/orderbook/{ticker}
A ticker with delimiter between different cryptoassets eg. ALEX_WSLM
No body
/v1/historical_swaps/{pool_token_id}
pool token id of swap pool eg. 13
Specifies number of recent block heights to be returned, default value is 1000
No body
/v2/coin-gecko/pairs
No body
/v2/coin-gecko/tickers
/v1/public/pairs