Skip to main content

Historical data

GET 

/v1/orderbooks/:symbol_id/history

Get historical order book snapshots for a specific symbol within time range, returned in time ascending order.

info

The historical order book data via the REST API is currently limited by a number of updates and to the maximum number of 20 levels.

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 (preferred method, required if 'time_start' is not provided)

    time_start string

    Starting time in ISO 8601 (deprecated, use 'date' instead)

    time_end string

    Timeseries ending time in ISO 8601 (deprecated, use 'date' instead)

    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)

    limit_levels int32

    Maximum amount of levels from each side of the book to include in response (optional)

Responses

successful operation

Schema

  • Array [

  • symbol_id stringnullable

    The symbol identifier.

    time_exchange date-time

    The exchange time of the order book.

    time_coinapi date-time

    The CoinAPI time when the order book was received.

    asks nullable

    The asks made by market makers.

    bids nullable

    The bids made by market makers.

  • ]

Loading...