Skip to main content
GET
/
lending-stocks
/
api
/
markets
/
{marketId}
/
oracle-status
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/oracle-status" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "price": "185.500000",
    "priceRaw": "185500000",
    "timestamp": 1718445600,
    "lastUpdate": "2025-06-15T10:00:00.000Z",
    "isStale": false,
    "priceAge": 1200,
    "maxPriceAge": 86400,
    "maxDeviationBps": 5000,
    "configured": true,
    "owner": "0xabc...def",
    "signerAddress": "0x123...456",
    "signerAuthorized": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

Returns the oracle’s current price, staleness, age, deviation limits, and whether the relayer signer is authorized.

Path Parameters

marketId
string
required
Market ID.
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/oracle-status" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "price": "185.500000",
    "priceRaw": "185500000",
    "timestamp": 1718445600,
    "lastUpdate": "2025-06-15T10:00:00.000Z",
    "isStale": false,
    "priceAge": 1200,
    "maxPriceAge": 86400,
    "maxDeviationBps": 5000,
    "configured": true,
    "owner": "0xabc...def",
    "signerAddress": "0x123...456",
    "signerAuthorized": true
  }
}