Retrieve current prices for one or all markets, including oracle price, mark price,
funding rate, and open interest. Use market=all or omit the parameter to fetch all markets.
NOTE: The funding_rate_bps returned here is the raw (unsmoothed) value from the blockchain. WebSocket clients receive EMA-smoothed funding rates to reduce high-frequency oscillations. For most use cases, prefer WebSocket for real-time funding rate display.
TODO(DCBL-2017): To add HTTP EMA smoothing, query recent prices from the prices table
(which already stores transaction_unix_ms) and feed them through FundingRateEma::update_and_get
in chronological order. The EMA infra in funding_rate_ema.rs is reusable as-is.
Documentation Index
Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token from Geomi. See Authentication for setup instructions.
Market address filter (use "all" or omit for all markets)
Market prices retrieved successfully
Funding rate in basis points (1 bps = 0.01%). On-chain value uses RATE_SIZE_MULTIPLIER (1,000,000); divided by 100.0 to convert to basis points while preserving sub-bps precision. For WebSocket responses, this value is smoothed using EMA to reduce noise.
"0xmarket123..."