Skip to main content

Latest data by symbol_id

GET 

/v1/trades/:symbol_id/latest

Get latest trades executed up to 1 minute ago. Latest data is always returned in time descending order.

Request

Path Parameters

    symbol_id stringrequired

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

Query Parameters

    limit int32

    Default value: 100

    Amount of items to return (optional, 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)

    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...