Skip to main content

Historical data

GET 

/v1/ohlcv/exchange-symbol/:exchange_id/:symbol_id/history

Get OHLCV timeseries data returned in time ascending order.

Request

Path Parameters

    exchange_id stringrequired

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

    symbol_id stringrequired

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

Query Parameters

    period_id stringrequired

    Identifier of requested timeseries period (e.g. 5SEC or 2MTH)

    time_start string

    Timeseries starting time in ISO 8601

    time_end string

    Timeseries ending time in ISO 8601

    limit int32

    Default value: 100

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

Responses

successful operation

Schema

  • Array [

  • time_period_start date-time

    Gets or sets the start time of the time period.

    time_period_end date-time

    Gets or sets the end time of the time period.

    time_open date-timenullable

    Gets or sets the time when the price opened.

    time_close date-timenullable

    Gets or sets the time when the price closed.

    price_open doublenullable

    Gets or sets the opening price.

    price_high doublenullable

    Gets or sets the highest price during the time period.

    price_low doublenullable

    Gets or sets the lowest price during the time period.

    price_close doublenullable

    Gets or sets the closing price.

    volume_traded double

    Gets or sets the total volume traded during the time period.

    trades_count int64

    Gets or sets the number of trades executed during the time period.

  • ]

Loading...