Skip to main content

Premium

GET 

/api/v1/premium

Fetch the latest premium values.

Request

Query Parameters

    sourceExchange string

    Specifies source exchange

    Example: binance
    targetExchange string

    Specifies target exchange

    Example: upbit
    asset string

    Specifies base aset

    Example: BTC
    sourceQuote string

    Specifies source quote asset. You can specify multiple quotes at once by separating them with commas.

    Example: USDT
    targetQuote string

    Specifies target quote asset. You can specify multiple quotes at once by separating them with commas.

    Example: KRW
    currency string

    Possible values: [KRW, USD]

    Specifies currency for cross-exchange price differences

    Default value: USD
    Example: KRW
    page string

    Specifies page

    Default value: 1
    Example: 1
    limit string

    Specifies limit

    Default value: 1000
    Example: 1000
    key string

    Possible values: [pd, pdp, spdp]

    Specifies key to sort by

    Default value: pdp
    Example: pdp
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: asc
    Example: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    data

    object[]

    data specifies an array of premium data

  • Array [

  • bid string
    Example: bitcoin
    cc string

    specifies the type of currency used to express price differences between exchanges

    Example: USD
    d integer

    specifies the date and the time in UTC milliseconds

    Example: 1629780000000
    pd number

    specifies the price difference between the source and target exchanges

    Example: 10
    pdp number

    specifies the price difference percentage between the source and target exchanges

    Example: 0.02
    sb string

    specifies the base token of the source exchange

    Example: BTC
    se string

    specifies the source exchange name

    Example: binance
    sp number

    specifies the latest price of the source exchange

    Example: 45000
    spcd number

    specifies the price change difference of the source exchange in the last 24 hours

    Example: 1000
    spdp number

    specifies the price difference percentage of the source exchange in the last 24 hours

    Example: 0.02
    sq string

    specifies the quote token of the source exchange

    Example: USDT
    sv number

    specifies the trading volume of the source exchange in the last 24 hours

    Example: 1000000
    tb string

    specifies the base token of the target exchange

    Example: BTC
    te string

    specifies the target exchange name

    Example: bybit
    tp number

    specifies the latest price of the target exchange

    Example: 45010
    tq string

    specifies the quote token of the target exchange

    Example: USDT
    tv number

    specifies the trading volume of the target exchange in the last 24 hours

    Example: 1000000
  • ]

  • key string

    specifies the key according to which the records are sorted

    limit integer

    specifies the number of records per page

    page integer

    specifies the current page of the response

    sort string

    specifies the order of the records

Loading...