Yes. Ask your agent in the Reamer Research app for Bybit bars, such as "a year of BTCUSDT 1-hour bars from Bybit", and it downloads them from Bybit's public kline endpoint into a CSV ready to backtest. No Bybit account or key is needed. The same spec covers spot, USDT perpetuals and inverse contracts. Reamer Research is a quant workstation built on a high-performance C++ core. Describe a strategy in plain English, and your AI agent writes it, backtests it and shows you every trade.
How it works
- Install the app with
uv tool install reamer-researchand start it withreamer-research. - Ask for the bars in the chat. Your agent reads Bybit's API docs with
web_fetch, and the app asks you before each page it reads. - The agent writes the spec,
sources/bybit.json, and runstest_source, which fetches BTCUSDT and checks every bar: prices, high and low, volume, duplicate times, spacing against the timeframe and the time grid. - Once every check passes,
fetch_barswrites one CSV per symbol todata/, from the start up to, not including, the end, and the bars are ready to backtest.
The spec is saved in your workspace, so later asks for Bybit bars skip straight to the download.
What you get
- Bybit's v5 kline endpoint serves spot, linear (USDT and USDC perpetuals and futures) and inverse markets with no key; the
categoryparameter picks one. - Each CSV has Date, Time (UTC), Open, High, Low, Close and Volume, plus Notional (Bybit's turnover).
- Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 1d and 1w.
- Each request returns up to 1,000 bars, and the app splits a long range into as many requests as it needs.
On 2026-12-05, 2025 of BTCUSDT spot 1-hour bars came back as 8,760 bars, every hour of the year, and the same spec with "category": "linear" passed on the BTCUSDT perpetual.
For perpetuals, ask for them by name ("BTCUSDT perpetual bars from Bybit"); the agent writes a second spec with "category": "linear". Funding payments are not part of the bars.
The spec
This spec passed test_source on 2026-12-05, with Bybit's alternate host api.bytick.com in place of api.bybit.com, which serves the same API. Your agent writes its own from Bybit's docs, and it will look much like this:
{
"spec": 1,
"name": "Bybit",
"url": "https://api.bybit.com/v5/market/kline",
"params": {
"category": "spot",
"symbol": "{symbol}",
"interval": "{timeframe}",
"start": "{start}",
"end": "{end}",
"limit": "1000"
},
"time_param": "unix_ms",
"timeframes": {
"1m": "1",
"5m": "5",
"15m": "15",
"30m": "30",
"1h": "60",
"4h": "240",
"1d": "D",
"1w": "W"
},
"rows": "result.list",
"layout": "arrays",
"fields": {
"time": 0,
"open": 1,
"high": 2,
"low": 3,
"close": 4,
"volume": 5,
"notional": 6
},
"time_format": "unix_ms",
"timezone": "UTC",
"bar_time": "open",
"error": {
"path": "retCode",
"equals": 10001,
"message": "retMsg"
},
"pages": {
"type": "window",
"size": 1000
},
"per_minute": 600
}
From your own MCP client
The Reamer Research MCP server has the same source_spec, test_source and fetch_bars tools, so Claude Code, Cursor or any MCP client can fetch Bybit bars the same way. See Data from any REST API.
The app and the server are free to install. Evaluation Mode backtests one ticker over up to 30 days or 50,000 bars, and $20 a month removes the limits. See pricing and Can I backtest on data from any market data API?
Try it in Reamer Research
Install the app with uv tool install reamer-research, start it with reamer-research, and paste this into the chat:
Fetch the last 30 days of BTCUSDT 15-minute bars from Bybit, then backtest a Donchian breakout with an ATR stop on them and show me every trade in Trade diagnostics.