Skip to main content
GET
/
prices
/
batch
Get Latest Prices for a Batch of Feeds (SVM)
curl --request GET \
  --url https://oracle-staging.chaoslabs.co/prices/batch \
  --header 'Authorization: <api-key>'
{
  "prices": [
    {
      "feedId": 123,
      "price": 123,
      "expo": 123,
      "ts": 123
    }
  ],
  "signature": "<string>",
  "recoveryId": 123
}
Learn how to handle batch price data for Solana in the SVM Integration Guide.

Authorizations

Authorization
string
header
required

Query Parameters

feedIds
string
required

A comma-separated list of feed IDs to fetch prices for.

Response

A list of prices for the requested feeds with signature.

prices
object[]
required
signature
string
required

Cryptographic signature for the batch.

recoveryId
integer
required

Recovery ID associated with the signature.

I