Rate Oracle

Get Single Rate

Get rate for a single trading pair.

Args: trading_pair: Trading pair in format BASE-QUOTE (e.g., BTC-USDT)

Returns: Rate for the specified trading pair

get/rate-oracle/rate/{trading_pair}

Path parameters

trading_pairstring required

Response

Successful Response

trading_pairstring required

The trading pair

ratenumber nullable required

The rate (None if not found)

sourcestring required

Rate oracle source used

quote_tokenstring required

Quote token used

Changes

Changed in 2 of the 13 revisions of this API.3

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added