Skip to main content

GET /v1/rows

Returns rows for one market window — one row per second of the market's life (plus its 60-second pre-open sequence).

curl -H "X-Api-Key: $KEY" \
"https://polybk.com/v1/rows?symbol=btc&timeframe=5&window_start=1793331300&limit=100"

Parameters

NameTypeDefaultDescription
symbolstringbtcbtc · eth · sol · xrp
timeframeint55 or 15 (minutes)
window_startint—Window open time (Unix seconds, from /v1/windows)
limitint5000Max rows per call — up to 50000

Response

{
"window_start": 1793331300,
"symbol": "btc",
"timeframe": 5,
"count": 100,
"source": "parquet",
"rows": [["2026-10-30T03:34:00Z", "1793331240", "btc-updown-5m-1793331300", "btc", "5", "1793331300", "1793331600", "preopen", "0.470000", "0.480000", "276.11", "1047.00", "0.520000", "0.530000", "1047.00", "276.11", "0", "0", "0", "0"]]
}
  • source is parquet (served from the archive) or raw (live collector file) — same columns either way.
  • Column order matches the data schema.
  • Rows before window_start have phase = "preopen" — recording starts 60 seconds early so consecutive windows overlap with no blind spot. De-duplicate on (slug, ts_unix) if you concatenate overlapping files.