Premium
GET/api/v1/premium
Fetch the latest premium values.
Request
Query Parameters
Specifies source exchange
Specifies target exchange
Specifies base aset
Specifies source quote asset. You can specify multiple quotes at once by separating them with commas.
Specifies target quote asset. You can specify multiple quotes at once by separating them with commas.
Possible values: [KRW
, USD
]
Specifies currency for cross-exchange price differences
USD
Specifies page
1
Specifies limit
1000
Possible values: [pd
, pdp
, spdp
]
Specifies key to sort by
pdp
Possible values: [asc
, desc
]
Specifies sort
asc
Header Parameters
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
data
specifies an array of premium data
bitcoin
specifies the type of currency used to express price differences between exchanges
USD
specifies the date and the time in UTC milliseconds
1629780000000
specifies the price difference between the source and target exchanges
10
specifies the price difference percentage between the source and target exchanges
0.02
specifies the base token of the source exchange
BTC
specifies the source exchange name
binance
specifies the latest price of the source exchange
45000
specifies the price change difference of the source exchange in the last 24 hours
1000
specifies the price difference percentage of the source exchange in the last 24 hours
0.02
specifies the quote token of the source exchange
USDT
specifies the trading volume of the source exchange in the last 24 hours
1000000
specifies the base token of the target exchange
BTC
specifies the target exchange name
bybit
specifies the latest price of the target exchange
45010
specifies the quote token of the target exchange
USDT
specifies the trading volume of the target exchange in the last 24 hours
1000000
specifies the key according to which the records are sorted
specifies the number of records per page
specifies the current page of the response
specifies the order of the records
{
"data": [
{
"bid": "bitcoin",
"cc": "USD",
"d": 1629780000000,
"pd": 10,
"pdp": 0.02,
"sb": "BTC",
"se": "binance",
"sp": 45000,
"spcd": 1000,
"spdp": 0.02,
"sq": "USDT",
"sv": 1000000,
"tb": "BTC",
"te": "bybit",
"tp": 45010,
"tq": "USDT",
"tv": 1000000
}
],
"key": "string",
"limit": 0,
"page": 0,
"sort": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}