Which API should I use?

  • Use v20 REST API only if you have a v20 account
  • Use v1 REST API if your account id contains only digits (ie. 2534253) as it is a legacy account

Pricing Common Definitions

Type string
Format A decimal number encodes as a string. The amount of precision provided depends on the Instrument.

PriceBucket is an application/json object with the following Schema:

    # The Price offered by the PriceBucket
    price : (PriceValue),

    # The amount of liquidity offered by the PriceBucket
    liquidity : (integer)