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.

Path Parameters
  • symbol_id string required

    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 string nullable

    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 string nullable

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

  • id_trade string nullable

    The trade identifier.

  • id_order_maker string nullable

    The order maker identifier.

  • id_order_taker string nullable

    The order taker identifier.

  • ]
Loading...