Market
The Market endpoints.
Market
- GET
/v1/market/fundingPerpetual funding rates and open interest on OKX, Binance, Bybit, Hyperliquid, Bitget and Gate: each venue's rate for its own period (intervalHours: Hyperliquid pays every hour) and the same rate over 8 hours (fundingRate8h, comparable across venues), the total open interest, long/short ratios (all accounts on OKX, Binance, Bybit and Gate; top traders by accounts and by position size on OKX and Binance) and taker buy/sell volume over the last full hour (Binance, OKX). Positive funding = longs pay shorts. longShort is the OKX all-accounts ratio, kept for older clients - GET
/v1/market/funding-historyFunding and open interest over the last days: the funding rates settled per UTC day on Binance, OKX, Bybit and Hyperliquid (summed, with the number of payments), and each venue's daily open-interest readings on Binance, OKX and Bybit at the venue's own timestamps - GET
/v1/market/liquidationsLiquidations on perpetuals. OKX (top level): its latest filled liquidation orders (up to 100): longs and shorts liquidated, sizes and USD values, the largest ones. Gate (gate): hourly totals by side over the last 24 hours and 7 days, each UTC day of the week and the three heaviest hours. Streams (streams): every liquidation Binance, Bybit and OKX streamed, collected by xrpl.to since 5 October 2026: totals by venue and side over 24 hours and 7 days, per UTC day, the day's largest, and whether each venue's collector is connected (Binance streams at most one per symbol per second, a floor). A source that does not answer carries unavailable: true - GET
/v1/market/liquidation-levelsESTIMATED liquidation levels (a heatmap): where positions opened in the last 7 days on Binance, Bybit and OKX would be liquidated, in 1% price bands up to 25% either side (longs below the price, shorts above), from hourly open-interest changes and an assumed leverage mix stated in the result; levels the price has crossed are dropped. A model, not a reading of anyone's positions - GET
/v1/market/globalThe whole crypto market (all venues): total market cap, 24h volume, BTC/ETH/XRP/USDT/USDC dominance, and XRP rank, market cap, volume and all-time high - GET
/v1/market/tickersAn XRPL token's markets on other venues, from CoinGecko: every market it tracks for the token (matched on the token's currency and issuer, never on a ticker symbol), busiest first, each with its last price in USD, 24h volume and whether its exchange is centralized (CoinGecko's own flag; null until looked up). listed false when CoinGecko has no coin for the token - GET
/v1/market/korea-premiumXRP's price on Upbit against Binance: Upbit KRW-XRP converted at Upbit's own KRW-USDT, against Binance XRP/USDT, and the premium in percent (positive: XRP costs more in Korea). No bank FX rate involved - GET
/v1/market/coinbase-premiumXRP's price on Coinbase against Binance: Coinbase XRP-USD converted at Coinbase's own USDT-USD, against Binance XRP/USDT, and the premium in percent (positive: XRP costs more on Coinbase, where US buyers trade) - GET
/v1/market/xrpl-cex-rankingXRPL-issued tokens ranked by how many centralized exchanges list them: every XRPL token CoinGecko tracks, with the exchanges named (CoinGecko's own centralized flag) and stale markets marked. Built in the background daily; building:true until the first ranking after a restart - GET
/v1/market/etf-flowsUS spot XRP ETFs from SoSoValue: daily net inflow, value traded, net assets and cumulative net inflow for the last 20 US trading days, the last week's total, each fund's latest day, and an estimate of the XRP held (net assets over XRP's Binance daily close) - GET
/v1/market/predictionsActive Polymarket prediction markets on a topic, busiest first, with each outcome priced as a probability - GET
/v1/market/historyDaily closes of a major crypto asset from Binance spot (USDT, UTC days; the last is today's, still open) - GET
/v1/market/macroLatest US macro readings from FRED: effective fed funds rate, 10-year Treasury yield, CPI and M2 year over year, unemployment, jobless claims, broad dollar index. With id: every observation of that series over the last months