REST API
Get Exchange data related to factory contract, total status data counts
GET /api/exchange HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"id": "text",
"bytecode": "text",
"deployer": "text",
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1
}
Get minute, hour, day, week, or month exchange status data with pagination
Time interval of the OHLCV data
day
Possible values: Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/exchange/status/{interval}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month exchange status data with pagination before a timestamp
Time interval of the OHLCV data
day
Possible values: Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/exchange/status/{interval}/before/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month exchange status data with pagination after a timestamp
Time interval of the OHLCV data
day
Possible values: Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/exchange/status/{interval}/after/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month token data with pagination
Time interval of the OHLCV data
hour
Possible values: Token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/token/{interval}/{address}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Token progress data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"token": "text",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"tvl": 1,
"tvlUSD": 1,
"volume": 1,
"volumeUSD": 1,
"count": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month token data with pagination before a timestamp
Time interval of the OHLCV data
hour
Possible values: Token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/token/{interval}/{address}/before/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Token progress data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"token": "text",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"tvl": 1,
"tvlUSD": 1,
"volume": 1,
"volumeUSD": 1,
"count": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month token data with pagination after a timestamp
Time interval of the OHLCV data
hour
Possible values: Token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/token/{interval}/{address}/after/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Token progress data is retrieved
{
"buckets": [
{
"id": "text",
"index": 1,
"token": "text",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"tvl": 1,
"tvlUSD": 1,
"volume": 1,
"volumeUSD": 1,
"count": 1,
"timestamp": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Retrieve the token information from token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
GET /api/token/{address} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
Retrieve the token information from token symbol
USDT
GET /api/token/symbol/{symbol} HTTP/1.1
Host:
Accept: */*
Retrieve the token information from token symbol search
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
Retrieve the token information from a list of all tokens
10
1
GET /api/tokens/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
[
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
]
Retrieve the token information from a list of all tokens in the order of getting listed
10
1
GET /api/tokens/new/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
[
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
]
Retrieve the token information from a list of all tokens in the order of getting listed
10
1
GET /api/tokens/top-gainer/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
[
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
]
Retrieve the token information from a list of all tokens in the order of getting listed
10
1
GET /api/tokens/top-loser/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
[
{
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
}
]
Retrieve the orders information from an account address
0xdAC17F958D2ee523a2206206994597C13D831ec7
Number of results per page
100
Page number
1
GET /api/orders/{address}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"orders": [
{
"id": "text",
"isBid": true,
"orderId": 1,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"orderbook": "text",
"price": 1,
"amount": 1,
"placed": 1,
"timestamp": 1,
"account": "text",
"txHash": "text"
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Retrieve the recent trades for a pair with base and quote token addresses
Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
Number of results per page
100
Page number
1
GET /api/trades/{base}/{quote}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"trades": [
{
"id": "text",
"orderbook": "text",
"orderId": 1,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"isBid": true,
"price": 1,
"baseAmount": 1,
"quoteAmount": 1,
"timestamp": 1,
"taker": "text",
"maker": "text",
"txHash": "text"
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Retrieve the recent trades from all pairs
Number of results per page
100
Page number
1
GET /api/trades/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"trades": [
{
"id": "text",
"orderbook": "text",
"orderId": 1,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"isBid": true,
"price": 1,
"baseAmount": 1,
"quoteAmount": 1,
"timestamp": 1,
"taker": "text",
"maker": "text",
"txHash": "text"
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Retrieve the trade history for an account address
0xdAC17F958D2ee523a2206206994597C13D831ec7
Number of results per page
100
Page number
1
GET /api/tradehistory/{address}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"tradeHistory": [
{
"id": "text",
"orderId": 1,
"isBid": true,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"orderbook": "text",
"price": 1,
"amount": 1,
"timestamp": 1,
"maker": "text",
"taker": "text",
"account": "text",
"txHash": "text"
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Retrieve the order history for an account address
0xdAC17F958D2ee523a2206206994597C13D831ec7
Number of results per page
100
Page number
1
GET /api/orderhistory/{address}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Retrieve the token information
{
"tradeHistory": [
{
"id": "text",
"orderId": 1,
"isBid": true,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"orderbook": "text",
"price": 1,
"amount": 1,
"timestamp": 1,
"maker": "text",
"taker": "text",
"account": "text",
"txHash": "text"
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1,
"orderHistory": [
{
"id": "text",
"orderId": 1,
"isBid": true,
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"pair": "text",
"orderbook": "text",
"price": 1,
"amount": 1,
"timestamp": 1,
"account": "text",
"txHash": "text"
}
]
}
Retrieve the orderbook information from base and quote token addresses
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
100
GET /api/orderbook/{base}/{quote}/{limit} HTTP/1.1
Host:
Accept: */*
Retrieve the orderbook information
{
"mktPrice": 1e-8,
"bids": [
{
"price": 1e-8,
"amount": 100,
"count": 1
}
],
"asks": [
{
"price": 1e-8,
"amount": 100,
"count": 1
}
]
}
Get pair details from base and quote token addresses
Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
GET /api/pair/{base}/{quote} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
Get default pair details
GET /api/pair/default HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
Get pair details from base and quote token symbols
Base token symbol
ETH
Quote token symbol
USDT
GET /api/pair/symbol/{baseSymbol}/{quoteSymbol} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
Get paginated newly listed Pair data from a list of all pairs
Number of results per page
100
Page number
1
GET /api/pairs/new/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Paginated Pair data is retrieved
{
"pairs": [
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
],
"totalCount": 1,
"totalPages": 1
}
Get paginated top gainer Pair data from a list of all pairs
Number of results per page
100
Page number
1
GET /api/pairs/top-gainer/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Paginated Pair data is retrieved
{
"pairs": [
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
],
"totalCount": 1,
"totalPages": 1
}
Get paginated top loser Pair data from a list of all pairs
Number of results per page
100
Page number
1
GET /api/pairs/top-loser/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Paginated Pair data is retrieved
{
"pairs": [
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
],
"totalCount": 1,
"totalPages": 1
}
Get paginated Pair data from a list of all pairs
Number of results per page
100
Page number
1
GET /api/pairs/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
Paginated Pair data is retrieved
{
"pairs": [
{
"id": "text",
"base": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"quote": {
"id": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": 100000000000,
"logoURI": "https://assets.coingecko.com/coins/images/325/large/Tether-logo.png?1598003707",
"decimals": 6,
"priceUSD": 1,
"sparkline7D": [
1,
1,
1,
1,
1,
1,
1
],
"cpPrice": 1,
"cgId": "tether",
"cmcId": "tether",
"ath": 9000,
"atl": 0,
"listingDate": 1620000000,
"dayPriceDifference": 0,
"dayPriceDifferencePercentage": 0,
"dayTvl": 0,
"dayVolume": 0,
"dayTvlUSD": 0,
"dayVolumeUSD": 0,
"creator": "0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5",
"totalMinBuckets": 0,
"totalHourBuckets": 0,
"totalDayBuckets": 0,
"totalWeekBuckets": 0,
"totalMonthBuckets": 0,
"tag": [
"stnd_stablecoin"
]
},
"price": 1,
"listingDate": 1,
"orderbook": "text",
"bDecimal": 1,
"qDecimal": 1,
"totalMinBuckets": 1,
"totalHourBuckets": 1,
"totalDayBuckets": 1,
"totalWeekBuckets": 1,
"totalMonthBuckets": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1
}
],
"totalCount": 1,
"totalPages": 1
}
Get all minute, hour, day, week, and month OHLCV data with pagination
Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/ohlcv/total/{base}/{quote}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"pairDayBuckets": {
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
},
"pairHourBuckets": {
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
},
"pairMinBuckets": {
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
},
"pairWeekBuckets": {
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
},
"pairMonthBuckets": {
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
}
Get minute, hour, day, week, or month OHLCV data with pagination
Time interval of the OHLCV data
hour
Possible values: Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/ohlcv/{interval}/{base}/{quote}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month OHLCV data with pagination before a timestamp
Time interval of the OHLCV data
hour
Possible values: Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/ohlcv/{interval}/{base}/{quote}/before/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Get minute, hour, day, week, or month OHLCV data with pagination after a timestamp
Time interval of the OHLCV data
hour
Possible values: Base token address
0xe8CabF9d1FFB6CE23cF0a86641849543ec7BD7d5
Quote token address
0x40fCa9cB1AB15eD9B5bDA19A52ac00A78AE08e1D
Timestamp in seconds
1620000000
Number of results per page
100
Page number
1
GET /api/ohlcv/{interval}/{base}/{quote}/after/{timestamp}/{pageSize}/{page} HTTP/1.1
Host:
Accept: */*
OHLCV data is retrieved
{
"buckets": [
{
"id": "0xdAC17F958D2ee523a2206206994597C13D831ec7-0x6B175474E89094C44Da98b954EedeAC495271d0F-min",
"index": 1,
"protocolId": "text",
"networkName": "text",
"totalVolume": 1,
"tvl": 1,
"totalGlobalTrades": 1,
"totalGlobalPairs": 1,
"totalGlobalTraders": 1,
"timestamp": 1620000000,
"base": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quote": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"orderbook": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"open": 1,
"high": 1,
"low": 1,
"close": 1,
"average": 1,
"baseVolume": 1,
"quoteVolume": 1,
"baseVolumeUSD": 1,
"quoteVolumeUSD": 1,
"baseTvl": 1,
"quoteTvl": 1,
"baseTvlUSD": 1,
"quoteTvlUSD": 1,
"count": 1
}
],
"totalCount": 1,
"totalPages": 1,
"pageSize": 1
}
Last updated
Was this helpful?