v1

latestOpenAPI 3.1.0UNLICENSED2026-07-26216788.0 KB
Prices

GetPrice

Returns the current oracle price for one market, along with a signed price payload suitable for on-chain submission.

post/price_service.v1.PriceService/GetPrice

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol. If omitted, use 1.

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

Response

Success

signedPricePayloadstring nullable

Signed price attestation from the upstream pricing oracle, suitable for on-chain submission (e.g. to settle trades or trigger liquidations). Opaque/encoded; format is defined by the pricing oracle, not by this API.

Example response

{
  "price": {
    "timestamp": "2023-01-15T01:30:15.01Z"
  }
}