Recorded series: bars or points of one metric for one perpetual (price, OI, funding, CVD, liquidations, long/short, RSI and more)
get_seriesRetrieve historical time-series data for a perpetual metric such as price, volume, funding, OI, liquidations or RSI for charting, backtesting and period analysis.
Instructions
Call this when the user wants the history of one recorded metric for one perpetual as a time series: price candles, volume, perp or spot CVD, open interest, funding (one venue, or OI-weighted across every venue as funding_agg), liquidations, long/short ratios, RSI, the Coinbase premium, US spot ETF flows, borrow rates or Hyperliquid whale net flow, for charting, backtesting or "what did X do over the last N days". Returns the /api/series answer (points as [t, v], or [t, o, h, l, c, v] for price, with unit, kind, source and source_kind, the bars served and whether member depth applied) plus provenance. metric is one of: price, volume, cvd_perp, cvd_spot, oi, funding, funding_agg, liquidations, long_short, top_traders, rsi, premium, etf_flow, borrow, whale_net (unit, finest period and venue support of each: https://bykaranteli.com/api/series/metrics). The Free plan gets public depth: fewer bars and no bars under 15 minutes (1m, 3m, 5m, 10m); Builder and higher plans get member depth; the bar limits are in the same list. The answer names the venue it was read from (venue) and every venue a market-wide series sums (venues). Without from or limit, the newest 300 bars; pass limit for more of the newest bars, or from and to (ISO) for a window. The public window is the newest 300 bars of the period: a to before it needs member depth (Builder and higher plans) and answers 403 history_member_only otherwise, except daily and coarser price bars, which stay open to every plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | string, optional ISO end (default now); a to before the newest 300 bars of the period needs member depth, except daily and coarser price bars | |
| from | No | string, optional ISO start, e.g. 2026-09-01T00:00:00Z | |
| limit | No | number, optional newest bars, 10..5000; the plan's depth caps it (default 300 without from) | |
| venue | No | string, optional venue id for price, oi, funding or borrow, e.g. okx (default binance) | |
| metric | Yes | string, metric key, e.g. price, oi, funding, liquidations (list: /api/series/metrics) | |
| period | No | string, optional bar period: 1m | 3m | 5m | 10m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 3d | 1w | 1M (default 1h; each metric has a finest period) | |
| symbol | No | string, optional Binance USDT-M perp or coin, e.g. BTCUSDT or BTC (default BTCUSDT) |