{"slug":"api-realtimeapi-ai-v1-cryptodata-backtesting-klines-c60559","title":"CryptoDataAPI","host":"api.realtimeapi.ai","method":"GET","resource":"https://api.realtimeapi.ai/v1/cryptodata/backtesting/klines","category":"other","description":"CryptoDataAPI: Get Klines. Query historical OHLCV klines for backtesting. The archive stores closed 1-minute bars. ``interval`` (1m default, or 5m, 15m, 30m, 1h, 4h, 1d) aggregates them per request on the UTC grid: ``t`` is the bar open, and ``n`` says how many 1-minute bars went into it, so a bar w","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":6,"latency_ms_median":21,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"bounds":{"description":"Interval convention for `start`/`end`. `half-open` (default) is [start, end) — `end` is EXCLUSIVE, so consecutive windows tile without repeating a boundary row. `closed` is [start, end] — `end` INCLUS","type":"string"},"cursor":{"description":"Opaque page cursor — the `next_cursor` of the previous response, verbatim. Resumes strictly after the last row served, keyed on the table's full primary key, so a page boundary inside a same-milliseco","type":"string"},"end":{"description":"End time (ISO 8601 or unix ms, defaults to now). EXCLUSIVE — the range is [start, end), so consecutive windows do not repeat a boundary row.","type":"string"},"exchange":{"description":"binance or hyperliquid","type":"string"},"format":{"description":"json or csv. CSV has no envelope: paging state travels in the `X-Has-More` / `X-Next-Cursor` response headers.","type":"string"},"interval":{"description":"Bar width: 1m (as stored), or 5m, 15m, 30m, 1h, 4h, 1d, aggregated from the 1m bars on the UTC grid","type":"string"},"limit":{"maximum":10000,"minimum":1,"type":"integer"},"start":{"description":"Start time (ISO 8601 or unix ms)","type":"string"},"symbol":{"description":"Trading pair, e.g. BTCUSDT (Binance) or BTC (Hyperliquid)","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":16,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":32,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":13,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":20,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":25,"error":null},{"day":"2026-11-22","reachable":true,"status":429,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":16,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":22,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":13,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":23,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":17,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":24,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":14,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":16,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":15,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":15,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":23,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":15,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":38,"error":null}],"description_full":"CryptoDataAPI: Get Klines. Query historical OHLCV klines for backtesting. The archive stores closed 1-minute bars. ``interval`` (1m default, or 5m, 15m, 30m, 1h, 4h, 1d) aggregates them per request on the UTC grid: ``t`` is the bar open, and ``n`` says how many 1-minute bars went into it, so a bar with a gap, or one still forming at ``end``, is visible. ``start`` is floored to the interval. Until 2026-10-10 ``interval`` was not read at all and every call returned 1m bars. ``grain`` says what...","last_updated":"2026-11-09T00:13:08.925Z","schemes":["exact"]}