GET/v0/oracles/{oracle_selector}/state

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/morpho/v0/oracles/{oracle_selector}/stateCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Fetch latest indexed oracle price quote, update timestamp, and block for '<chain_id>:<oracle_address>'.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/morpho/v0/oracles/1:0xA6D6950c9F177F1De7f7757FB33539e3Ec60182a/state"

Parameters

nameintypedescription
oracle_selectorpathstrrequiredOracle selector '<chain_id>:<oracle_address>'.
example: 1:0xA6D6950c9F177F1De7f7757FB33539e3Ec60182a

Response

type: object
pagination: none
sample: {
  "data": "object"
}