Skip to main content
GET
/
prices
/
queryHistory
Get Historical Prices for Feeds (SVM)
curl --request GET \
  --url https://oracle-staging.chaoslabs.co/prices/queryHistory \
  --header 'Authorization: <api-key>'
{
  "BTCUSD": {
    "high": {
      "feedId": "BTCUSD",
      "price": 11830872000000,
      "ts": 1753354105,
      "expo": -8,
      "signature": "9cd54324e961def230a066131d1ac03a7d2561d05f84260ca77b623f2d9889a63bb688ccd4ee6d94c86956a11663b2e37378cace106290231de2c017c0cb9fc0",
      "recoveryId": 1
    },
    "low": {
      "feedId": "BTCUSD",
      "price": 11823675000000,
      "ts": 1753354047,
      "expo": -8,
      "signature": "29700e10406d1b8956247305425f406542c8a2e03b55970fe0f869fc8a47e08d428f9edd6f9366c1801af0322a2c2cd821eaffa2f9e9afabb6edab0b2d540e29",
      "recoveryId": 0
    }
  }
}
Learn how to process historical price data for Solana in the SVM Integration Guide.

Authorizations

Authorization
string
header
required

Query Parameters

feedIds
string
required

Comma-separated list of feed IDs.

minutes
integer
required

The number of minutes of historical data to retrieve.

Response

Historical price data with high and low prices for each feed. Example: {"BTCUSD":{"high":{...},"low":{...}}}

A mapping of feed IDs to their historical high and low price objects.

{key}
object

Object containing high and low price data for a feed.

I