Price Oracle — /api/oracle*
A read-only view of the per-Zeqond consensus price oracle: the current consensus per chain, the freshness of that reading, the per-source readings behind the last tick, and recent history. Public.
Source: shared/api-core/src/routes/priceOracle.ts.
Endpoints
| Method | Path | Auth | Notes |
|---|---|---|---|
GET | /api/oracle/price/:chain | none | Current consensus + freshness for one chain. |
GET | /api/oracle/prices | none | Both chains in one call. |
GET | /api/oracle/sources/:chain | none | Last tick's per-source readings. |
GET | /api/oracle/history/:chain | none | Recent price history. |
curl -sS "https://zeqapi.com/api/oracle/prices"