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
| Name | Type | Default | Description |
|---|---|---|---|
symbol | string | btc | btc · eth · sol · xrp |
timeframe | int | 5 | 5 or 15 (minutes) |
window_start | int | — | Window open time (Unix seconds, from /v1/windows) |
limit | int | 5000 | Max 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"]]
}
sourceisparquet(served from the archive) orraw(live collector file) — same columns either way.- Column order matches the data schema.
- Rows before
window_starthavephase = "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.