Market Data API
Market ticks, orderbooks, trades & history data
Get all price sources
Returns:
List of all available price sources
Example URL:
Get enabled price sources
Example URL: Returns:
List of all enabled price sources
Example URL:
Get price markets
Required input:
priceSourceName : string of EnumPriceSource
Returns:
List of 'Market'
Example URL:
Get price ticker
Required input:
priceSourceName : string of EnumPriceSource
primaryCoin : primary coin of the market.
secondaryCoin : secondary coin of the market.
contractName : contract name of the market (optional)
Returns:
'PriceTick' object of the last tick.
Example URL:
Get minute price ticker
Required input:
priceSourceName : string of EnumPriceSource
primaryCoin : primary coin of the market.
secondaryCoin : secondary coin of the market.
contractName : contract name of the market (optional)
Returns:
'PriceTick' object of the last minute tick.
Example URL:
Get last trades
Required input:
priceSourceName : string of EnumPriceSource
primaryCoin : primary coin of the market.
secondaryCoin : secondary coin of the market.
contractName : contract name of the market (optional)
Returns:
List of 'Trade'
Example URL:
Get orderbook
Required input: Required input:
priceSourceName : string of EnumPriceSource
primaryCoin : primary coin of the market.
secondaryCoin : secondary coin of the market.
contractName : contract name of the market (optional)
Returns:
'Orderbook' object.
Example URL:
Get history
Required input:
priceSourceName : string of EnumPriceSource
primaryCoin : primary coin of the market.
secondaryCoin : secondary coin of the market.
contractName : contract name of the market (optional)
interval : number,
depth : number
Returns:
List of 'PriceTick' objects
Example URL:
Last updated