Skip to main content
GET
Returns the market oracle’s current state. Check this before any borrow or liquidation flow, since the contract rejects actions priced against a stale oracle.

Path Parameters

string
required
Market ID.

Response Fields

object
The failure response is a different shape, not an error status. When configured is false the endpoint still returns 200 with price: "0", isStale: true, and no priceAge, maxPriceAge, maxDeviationBps, owner, or signerAddress. Guard on configured before reading those fields.

Price Decimals

Oracle prices carry the market’s borrow asset decimals, not a fixed precision. A USDC market prices at 6 decimals, a DAI market at 18. Read borrowAssetDecimals from Get Market rather than assuming.