Skip to main content

Get Recent Spreads

GET 

/public/Spread

Returns the last ~200 top-of-book spreads for a given pair

Request

Query Parameters

    pair stringrequired

    Asset pair to get data for

    Example: XBTUSD
    since integer

    Returns spread data since given timestamp. Optional, intended for incremental updates within available dataset (does not contain all historical spreads).

    Example: 1678219570

Responses

Spread data retrieved.

Schema
    result object
    last integer

    ID to be used as since when polling for new spread data

    property name* SpreadData

    Array of spread entries [int <time>, string <bid>, string <ask>]

  • Array [
  • type
    items object
    oneOf

    string

  • ]
  • error string[]
Loading...