Spot

Spot oracles used by the Premia Protocol can be accessed with this endpoint. Currently, our data is obtained form Chainlink oracles, but more oracle adapters may be available in the future.

Gets multiple spot prices from chainlink oracles by providing an array of one or more token symbols.

get
Authorizations
Query parameters
marketstring[] · min: 1Required

one or more base token symbols ie [WETH, WBTC, ARB]

Responses
200
Successful operation
application/json
get
GET /oracles/spot?market=text HTTP/1.1
Host: 
x-apikey: YOUR_API_KEY
Accept: */*
[
  {
    "market": "WETH",
    "price": 2500.25
  }
]

Last updated

Was this helpful?