Skip to main content

Historical data by exchange

GET 

/v1/ohlcv/exchanges/:exchange_id/history

Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific exchange eg BITSTAMP

info

The OHLCV Historical endpoint data can be delayed a few seconds. The difference between time_end and time_start cannot be higher than 1 day. The period_id cannot be higher than 1DAY.

Request

Path Parameters

    exchange_id stringrequired

    Exchange identifier of requested timeseries (from the Metadata -> Exchanges)

Query Parameters

    period_id stringrequired

    Identifier of requested timeseries period (e.g. 5SEC or 1DAY)

    time_start stringrequired

    Timeseries starting time in ISO 8601

    time_end stringrequired

    Timeseries ending time in ISO 8601

Responses

successful operation

Schema

  • Array [

  • time_period_start date-time

    The start time of the time period.

    time_period_end date-time

    The end time of the time period.

    time_open date-timenullable

    The time when the price opened.

    time_close date-timenullable

    The time when the price closed.

    price_open doublenullable

    The opening price.

    price_high doublenullable

    The highest price during the time period.

    price_low doublenullable

    The lowest price during the time period.

    price_close doublenullable

    The closing price.

    volume_traded double

    The total volume traded during the time period.

    trades_count int64

    The number of trades executed during the time period.

    symbol_id_exchange stringnullable
    symbol_id_coinapi stringnullable
  • ]

Loading...