Change Log

2022-04-29

  • Remove parameters for the REST spot endpoint:
    Spot - GET /tokens/:hash/transfers

The filter params senderAddress and recipientAddressis no longer supported for performance reasons. Some tokens take too long to process resulting in Timeout Exception.


2022-02-14

  • Change in the payload of the REST spot endpoint:
    Spot - GET /market/spot/order-book-events/:pair/historical

The description of the columns in the metadata part of the payload are now more descriptive, and went from:

"metadata": {
  "columns": [
    "exchange",
    "timestamp",
    "timestampNanoseconds",
    "isBid",
    data,
    "sequence"
  ]
}

to

"metadata": {
  "columns": [
    "exchange",
    "timestamp",
    "timestampNanoseconds",
    "isBid",
    ["price", "volume", "numOrders"],
    "sequence"
  ]
}
  • Change in the payload of the REST swaps endpoint:
    Swaps - GET /market/swaps/exchanges/reference

The field names in the data payload are now consistent with other reference endpoints (spot & swaps). The naming convention went from:

{
  'BTCUSD': {
    'metadata_limits'       : '{"amount":{"min":"1","max":"500000"},"price":{"min":"1.0E-4","max":"10000"}}',
    'metadata_precision'    : '{"amount":"1","price":"1.0E-4"}',
    'metadata_expiration'   : 'null',
    'metadata_underlying'   : 'ADA',
    'metadata_contractType' : 'FFWCSX',
    'nativeInstrument'      : 'BTCUSD',
    'quoteAsset'            : 'USD'
  }
}

to

{
  'ADAUSD': {
    'limits_price_max'  : '10000',
    'limits_price_min'  : '1.0E-4',
    'limits_amount_max' : '500000',
    'limits_amount_min' : '1',
    'precision_price'   : '1.0E-4',
    'precision_amount'  : '1',
    'underlying'        : 'ADA',
    'nativeInstrument'  : 'ADAUSD',
    'quoteAsset'        : 'USD'
  }
}

2022-01-27

  • Fixed an issue with the option timeInterval for the open interest REST endpoints:
    Futures - GET /market/futures/open-interest/:instrument/historical
    Swaps - GET /market/futures/open-interest/:instrument/historical

This change is a follow up from the overall improvement to open interest in general:

  • previously, open-interest was sampled every hour
  • going forward, any update to open-interest is recorded and available via the API (REST and Websockets).

2022-01-02

  • Added a new REST endpoint for asset rankings:
    Blockchain - GET /market/rankings/historical

With the date parameter, rankings can be retrieved all the way to 2019-08-04.


2021-12-30

  • Added two new Websocket subscriptions for DEX:
    DeFi - [market:dex:liquidity] -- Updated every time there is a new liquidity event
    DeFi - [market:dex:vwap] -- Updated every time there is a update to a VWAP calculation

2021-12-22

  • Added new filter to Spot REST endpoint for token transfers:
    DeFi - GET /token/:address/transfers

The new filter decodeTransactions is set to false by default. When enabled, a new section called decodedTransactionInput is added to the payload with information about the top level function called by the transaction (if any).


2021-12-20

  • New DeFi REST endpoint for Lending information:
    DeFi - GET /market/defi/lending/protocols
    DeFi - GET /market/defi/lending/pairs

2021-12-14

  • New parameter in REST endpoint for Futures Funding Rates:
    Futures - GET /market/futures/funding-rates/:instrument/historical

By default, all funding rates as returned by the exchanges are returned by this endpoint, which can be a lot of data for certain exchanges like Binance.

With the new option timeInterval=h, data is returned in hourly intervals which reduces the total amount returned at once.


2021-12-04

  • New DeFi REST endpoint for DEX information:
    DeFi - GET /market/defi/dex/exchanges
    DeFi - GET /market/defi/dex/pairs

2021-12-02

  • Change to the DeFi REST endpoint about liquidity information:
    DeFi - GET /market/defi/liquidity/:address/information

The endpoint now returns the two most recent liquidity events (instead of just one) so both amounts for each asset in the pool are directly accessible.


2021-10-02

On October 2nd, we will be delivering changes to our API products to align with customer feedback and industry standards.
We are updating metadata in the following REST endpoints:

The field isBid is renamed to isBuy, which is more accurate and the industry standard. Sample:

"columns": ["exchange", "timestamp", "timestampNanoseconds", "isBid", "price", "volume", "tradeId"]

Changes to:

"columns": ["exchange", "timestamp", "timestampNanoseconds", "isBuy", "price", "volume", "tradeId"]


2021-10-02

  • New DeFi REST endpoints for Global TWAP:
    DeFi - GET /market/defi/twap/pairs/information
    DeFi - GET /market/defi/twap/pairs/:pair/latest
    DeFi - GET /market/defi/twap/pairs/:pair/historical

TWAP for a pair on a specific exchange is also available via these endpoints with the optional parameter exchange.

  • New DeFi REST endpoints for Global VWAP:
    DeFi - GET /market/defi/vwap/pairs/information
    DeFi - GET /market/defi/vwap/pairs/:pair/latest
    DeFi - GET /market/defi/vwap/pairs/:pair/historical

VWAP for a pair on a specific exchange is also available via these endpoints with the optional parameter exchange.


2021-10-01

  • Updated REST endpoints for Spot TWAP and VWAP to include a lookback period:
    Spot - GET /market/spot/vwap/assets/:asset/latest
    Spot - GET /market/spot/vwap/assets/:asset/historical
    Spot - GET /market/spot/vwap/pairs/pair/latest
    Spot - GET /market/spot/vwap/pairs/:pair/historical

The default lookback periods are as follow:

  • 60 minutes for minutely data
  • 24 hours for hourly data
  • 30 days for daily data

2021-09-30

  • New Spot REST endpoints for Global TWAP:
    Spot - GET /market/spot/twap/assets/information
    Spot - GET /market/spot/twap/assets/:asset/latest
    Spot - GET /market/spot/twap/assets/:asset/historical
    Spot - GET /market/spot/twap/pairs/information
    Spot - GET /market/spot/twap/pairs/:pair/latest
    Spot - GET /market/spot/twap/pairs/:pair/historical

TWAP for a pair on a specific exchange is also available via these endpoints with the optional parameter exchange.


2021-09-15

  • Updated Price data to remove spikes for asset mask:
    Spot - GET /market/spot/vwap/assets/:asset/latest/
    Spot - GET /market/spot/vwap/assets/:asset/historical/
    Spot - GET /market/spot/vwap/pairs/:pair/latest/
    Spot - GET /market/spot/vwap/pairs/:pair/historical/
    Spot - GET /market/spot/prices/assets/:asset/latest/
    Spot - GET /market/spot/prices/assets/:asset/historical/
    Spot - GET /market/spot/prices/pairs/:pair/latest/
    Spot - GET /market/spot/prices/pairs/:pair/historical/

2021-09-08

  • Updated the Futures & Swaps information REST endpoints to include inactive instruments:
    Futures - GET /market/futures/funding-rates/information/
    Futures - GET /market/futures/insurance-fund/information/
    Futures - GET /market/futures/liquidations/information/
    Futures - GET /market/futures/long-short-ratio/information/
    Futures - GET /market/futures/ohlcv/information/
    Futures - GET /market/futures/open-interest/information/
    Futures - GET /market/futures/order-book-events/information/
    Futures - GET /market/futures/order-book-snapshots/information/
    Futures - GET /market/futures/tickers/information/
    Futures - GET /market/futures/trades/information/
    Swaps - GET /market/swaps/funding-rates/information/
    Swaps - GET /market/swaps/insurance-fund/information/
    Swaps - GET /market/swaps/liquidations/information/
    Swaps - GET /market/swaps/long-short-ratio/information/
    Swaps - GET /market/swaps/ohlcv/information/
    Swaps - GET /market/swaps/open-interest/information/
    Swaps - GET /market/swaps/order-book-events/information/
    Swaps - GET /market/swaps/order-book-snapshots/information/
    Swaps - GET /market/swaps/tickers/information/
    Swaps - GET /market/swaps/trades/information/

New filter (includeInactive=true) was added to the endpoints above to enable this feature.


2021-08-18

  • Updated DeFi REST endpoints for better DEX Pool support:
    DeFi - Lending - GET /market/defi/lending/exchanges/information/
    DeFi - Lending - GET /market/defi/lending/exchanges/exchange/latest
    DeFi - Lending - GET /market/defi/lending/exchanges/exchange/historical
    DeFi - OHLCV - GET /market/defi/ohlcv/information/
    DeFi - OHLCV - GET /market/defi/ohlcv/pair/latest/
    DeFi - OHLCV - GET /market/defi/ohlcv/pair/historical/
    DeFi - Trades - GET /market/defi/trades/information/
    DeFi - Trades - GET /market/defi/trades/pair/historical/

New data available for pools, supporting arrays of information for addresses, names, symbols & decimals.


2021-08-13

  • Updated default and max time intervals for ticker/BBO REST endpoints:
    Futures - GET /market/futures/tickers/:instrument/historical
    Spot - GET /market/spot/tickers/:pair/historical
    Swap - GET /market/swaps/tickers/:instrument/historical

Due to the increase in ticker/BBO volume, the payloads were getting too big, affecting overall performance. The new defaults are now set to 1 hour.


2021-08-07

  • Updated REST endpoints with new metrics:
    All Blockchains - GET /blocks/metrics/historical
    All Blockchains - GET /blocks/metrics/latest

  • Updated REST endpoints with new metrics related to Ethereum EIP 1559:
    Ethereum - GET /blocks/metrics/historical
    Ethereum - GET /blocks/metrics/latest

New global metrics common to all blockchains are:

  • All Blockchains - difficultyMaximum, difficultyMinimum
  • All Blockchains - durationMaximum, durationMinimum
  • All Blockchains - baseFeeAverage, baseFeeMaximum, baseFeeMinimum, baseFeeTotal
  • All Blockchains - burntFeeAverage, burntFeeMaximum, burntFeeMinimum, burntFeeTotal
  • All Blockchains - issuanceAverage, issuanceMaximum, issuanceMinimum
  • All Blockchains - sizeMaximum, sizeMinimum, sizeTotal
  • All Blockchains - transactionFeeAverage, transactionFeeMaximum, transactionFeeMinimum, transactionFeeTotal
  • All Blockchains - transactionsAverage, transactionsMaximum, transactionsMinimum

New Ethereum metrics (EIP 1559) are:

  • Ethereum - baseFeeAverage, baseFeeMaximum, baseFeeMinimum, baseFeeTotal
  • Ethereum - burntFeeAverage, burntFeeMaximum, burntFeeMinimum, burntFeeTotal

2021-08-05

  • Updated how reward and rewardFee are calculated in the following endpoints:
    Ethereum - GET /blocks
    Ethereum - GET /blocks/:id

Previously, the reward and rewardFee included the burntFee, which is incorrect and has since then been removed.

Blocks affected: 12,965,000 (inclusive) to 12,967,353 (exclusive).


2021-08-04

  • Updated REST endpoints with new fields related to Ethereum EIP 1559:
    Ethereum - GET /addresses/:address/transactions - maxFeePerGas, maxPriorityFeePerGas, type
    Ethereum - GET /addresses/hash/pending-transactions - maxFeePerGas, maxPriorityFeePerGas, type
    Ethereum - GET /blocks - baseFeesPerGas, burntFees
    Ethereum - GET /blocks/:id - baseFeesPerGas, burntFees
    Ethereum - GET /blocks/:id/transactions - maxFeePerGas, maxPriorityFeePerGas, type
    Ethereum - GET /transactions - maxFeePerGas, maxPriorityFeePerGas, type
    Ethereum - GET /transactions/hash - maxFeePerGas, maxPriorityFeePerGas, type
    Ethereum - GET /uncles - baseFeePerGas
    Ethereum - GET /uncles/:hash - baseFeePerGas

These fields are available starting with block 12,965,000 (London fork).

  • Added RPC endpoint related to Ethereum EIP 1559:
    Ethereum - eth_feeHistory