Skip to main content
GET
/
v1
/
prices
curl
curl https://api.testnet.arcus.xyz/v1/prices
{
  "0": {
    "marketDisplayName": "BTC-USD",
    "oraclePrice": "65000.50",
    "markPrice": "65000.50",
    "sequencer": 42
  },
  "1": {
    "marketDisplayName": "ETH-USD",
    "oraclePrice": "3200.10",
    "markPrice": "3200.10",
    "sequencer": 17
  }
}
Returns the latest oracle / mark price and per-market sequence number for every configured market, keyed by numeric marketId (as a string). Data is served entirely from in-memory caches on the gateway (no Redis / Scylla round-trip) and is updated in-process from the core-updates Kafka oracle stream as well as the internal POST /internal/oracle ingestion path, so this endpoint is safe to poll at high frequency. Notes:
  • markPrice currently mirrors oraclePrice. The field is kept separate so a future mark-price feed can be introduced without changing the response shape.
  • sequencer only advances from core-sourced updates. Prices seeded via the HTTP to-core path (which has no core sequence yet) leave sequencer at its previous value (or 0 if none).

Response

Live prices keyed by stringified marketId.

Map keyed by stringified numeric marketId (e.g. "0", "1", ...), where each value is the live price snapshot for that market. One entry is returned for every configured market; markets that have not yet received a price carry "0" values and sequencer: 0.

{key}
object