Skip to main content

Trade History

GET 

/marketdata/api/v1/history/:symbol

Retrieves historical trade data for a specific market (ticker) based on the specified type (buy/sell).

Request

Path Parameters

    symbol stringrequired

    Possible values: Value must match regular expression ^[a-z0-9]{3,}_[a-z0-9]{3,}$

    market symbol like btc_usdc

Query Parameters

    type OrderSide

    Possible values: [Buy, Sell]

    Type of Order, Buy or Sell

    limit int32

    Number of historical trades to retrieve from time of query. Default 100; max 500.

    endDateTime date-time

    End time for historical trades query

    cursor string

    Cursor for pagination (optional).

Responses

Success

Schema

    nextCursor stringnullable

    Cursor for fetching next set of records

    items

    object[]

    nullable

    Array of trade history

  • Array [

  • tradeId int64

    Unique identifier for the trade.

    price double

    The price at which the trade occurred.

    baseVolume double

    The volume of the base currency traded.

    targetVolume double

    The volume of the target currency traded.

    timestamp date-time

    The timestamp of when the trade occurred.

    side OrderSide

    Possible values: [Buy, Sell]

  • ]

Loading...