Skip to main content

Historical data

GET 

/v1/trades/:symbol_id/history

Get history transactions from specific symbol, returned in time ascending order.

warning

The 'time_start' and 'time_end' parameters are deprecated and will be removed in future versions. Please use the 'date' parameter instead for querying data for a specific day.

Request

Path Parameters

    symbol_id stringrequired

    Symbol identifier for requested timeseries (from the Metadata -> Symbols)

Query Parameters

    date string

    Date in ISO 8601, returned data is for the whole given day (required if 'time_start' is not provided)

    time_start string

    Starting time in ISO 8601

    time_end string

    Timeseries ending time in ISO 8601

    limit int32

    Default value: 100

    Amount of items to return (optional, minimum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)

    include_id boolean

    Information that additional exchange trade identifier should be included in the id_trade parameter of the trade if exchange providing identifiers.

Responses

successful operation

Schema

  • Array [

  • symbol_id stringnullable

    The symbol identifier.

    time_exchange date-time

    The time of trade reported by the exchange.

    time_coinapi date-time

    The time when the trade was received by CoinAPI.

    uuid uuid

    The unique identifier for the trade.

    price double

    The price of the transaction.

    size double

    The base asset amount traded in the transaction.

    taker_side stringnullable

    The aggressor side of the transaction (BUY/SELL/BUY_ESTIMATED/SELL_ESTIMATED/UNKNOWN).

    id_trade stringnullable

    The trade identifier.

    id_order_maker stringnullable

    The order maker identifier.

    id_order_taker stringnullable

    The order taker identifier.

  • ]

Loading...