Skip to main content

Retrieve market data

GET 

/v1/market_data

Retrieve market data snapshot using the specified criteria.

Request

Query Parameters

    type string

    Possible values: [average, best]

    quantities int64[]
    instruments string[]required

    The instruments of interest.

    Example: [USDBRL, USDCNY]
    tenor stringrequired

    Possible values: [SPOT, TOD, TOM]

    Example: SPOT
    sources string[]

Responses

Market data successfully retrieved.

Schema

  • Array [

  • source string

    Source of the market data. If aggregated this will be ABX.

    instrument string

    Instrument expressed as a currency pair.

    bid

    object[]

    Bid prices and quantities.

  • Array [

  • price doublerequired

    Price for the given quantity.

    quantity int64required

    Price for the given quantity.

  • ]

  • ask

    object[]

    Ask prices and quantities.

  • Array [

  • price doublerequired

    Price for the given quantity.

    quantity int64required

    Price for the given quantity.

  • ]

  • timestamp date-time

    The timestamp of the event in ISO 8601 format.

  • ]

Loading...