Market Data
Market Data Overview
Gets an overview of market data for a given base and target.
GET https://api.aio.exchange/api/v2/marketdata/quote/{baseTokenId}-{targetTokenId}
*Recommended
OR
GET https://api.aio.exchange/api/v2/marketdata/quote/{baseSymbol}-{targetSymbol}
This is a public endpoint. Provides the best bid, the best ask, and live market information.
Path Parameters
baseSymbol
String
Ticker Pair of the base currency e.g. for Bitcon: BTC
targetSymbol
String
Ticker Pair of the target currency e.g. for Tether: USDT
baseTokenId
Int
Token ID of the base currency e.g. for Bitcoin: 1
targetTokenId
Int
Token ID of the target currency e.g. for Tether: 825
// GET Response
{
"data": {
"aggregatedVolume": 116132.8442178152, // sum of volume from connections
"high": 19176.3, // overall high 24h
"low": 16574.4, // overall low 24h
"baseSymbol": "BTC",
"targetSymbol": "USDT",
"baseTokenId": 1, //Unique AIO ID for token
"targetTokenId": 825,
"bestBid": {
"exchangeName": "OKCOIN",
"price": 16692.6,
"size": 0.0056
},
"bestAsk": {
"exchangeName": "BITSTAMP",
"price": 16713,
"size": 0
},
"dailyChange": 84.59939, //24h
"dailyPercentageChange": 0.5081060598 //24h
},
"success": true,
"error": null,
"timestamp": 1668931096371,
"requestId":"1234"
}To Complete: Retrieves a snapshot of tickers across all exchanges.
GET https://api.aio.exchange/api/v2/marketdata/snapshot/{baseTokenId}-{targetTokenId}
Get's the last stored data from each exchange ticker
Path Parameters
baseTokenId
Int
Token ID of the base currency e.g. for Bitcon: 1
targetTokenId
Int
Token ID of the target currency e.g. for Tether: 825
Retrieves information about a specific token, and relevant metadata
GET https://api.aio.exchange/api/v2/marketdata/tokeninformation/{symbol}
Path Parameters
symbol*
String
Ticker symbol of the currency e.g. for Bitcon: BTC
Last updated
