Get Prices EVM

Updated

Fetches the latest prices for feeds on EVM-compatible chains. Returns EVM-signed price data.

Endpoint

GET /prices/evm/crypto

Base URL: https://oracle.chaoslabs.co

Authentication

Requires an API key in the Authorization header.

Authorization: <YOUR_API_KEY>

Parameters

ParameterTypeRequiredDescription
feedIdsstringYesA comma-separated list of feed IDs to fetch prices for

Example Request

curl -X GET "https://oracle.chaoslabs.co/prices/evm/crypto?feedIds=BTCUSD,ETHUSD"   -H "Authorization: <YOUR_API_KEY>"

Response

json
{
  "prices": [
    {
      "feedId": "BTCUSD",
      "price": 11938032500000,
      "ts": 1753084191,
      "expo": -8,
      "signature": "314940ee402ec666daf1ade015066cf5d4ee3010b04a9710c32b48a2c916ca69..."
    }
  ]
}

Response Fields

FieldTypeDescription
pricesarrayArray of price objects
prices[].feedIdstringThe feed identifier (e.g., BTCUSD)
prices[].priceintegerThe latest price value
prices[].tsintegerTimestamp (seconds since epoch)
prices[].expointegerExponent for price scaling
prices[].signaturestringSignature for the price data

Errors

StatusDescription
401Unauthorized - invalid or missing API key
Was this helpful?