Get instrument data
Returns trading statistics for an instrument: trade count, open interest, volume, last traded price, resolution state and the live buyer payout ratio implied by the latest Pyth 1s prices.
Returns trading statistics for an instrument: trade count, open interest, volume, last traded price, resolution state and the live buyer payout ratio implied by the latest Pyth 1s prices.
instrument_bytes*stringInstrument identifier in hex format (0x prefix optional)
Trading statistics for an instrument
application/json- response
Trading statistics for an instrument
instrument*stringInstrument identifier in hex format
trades_count*numberNumber of trades on the instrument
open_interest*stringOpen interest in whole contracts, as a string
total_volume*stringTotal traded volume in cash units, as a string
last_traded_price*stringLast traded price as a decimal string
resolution_ts*numberUnix timestamp (seconds) the instrument resolved, 0 if open
score*numberResolution score; equals cash_denominator when resolved
payout_ratio*numberBuyer payout ratio for the resolved outcome
is_admin_set*booleanWhether the resolution was set by an admin
live_payout_ratio*|nullis_payout_finalized*booleanWhether the payout ratio can no longer change: cycle ended, or the settler locked it (one touch touched, range accrual corridor breached, knockout barrier touched, high/low threshold reached)
curl -X GET 'https://data.scalar.market/instruments/string'{
"instrument": "string",
"trades_count": 0,
"open_interest": "string",
"total_volume": "string",
"last_traded_price": "string",
"resolution_ts": 0,
"score": 0,
"payout_ratio": 0,
"is_admin_set": true,
"live_payout_ratio": 0,
"is_payout_finalized": true
}Get OHLC candles GET
Returns OHLC candlestick data for a feed. Reads from ClickHouse with gap detection; missing ranges are backfilled from the Pyth Lazer History API and the in-progress candle is appended from the live ingester. Set ema=true to include EMA-12 and EMA-26 arrays, bb=true to include Bollinger Bands. Live windows are cached for 5 seconds; fully historical windows for 10 minutes.
Get instrument price history GET
Returns VWAP price buckets for an instrument's full cycle, bucketed by a resolution derived from the cycle duration.