ToolAssay

CryptoDataAPI

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...

Answeringour last check, 2026-11-27
6 of 7checks answered this week
21 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.realtimeapi.ai/v1/cryptodata/backtesting/klines

CategoryEverything else
Provider hostapi.realtimeapi.ai
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.01 16 ms
2026-11-26 valid payment request 402$0.01 32 ms
2026-11-25 valid payment request 402$0.01 13 ms
2026-11-24 valid payment request 402$0.01 20 ms
2026-11-23 valid payment request 402$0.01 25 ms
2026-11-22 no x402 terms 429 16 ms
2026-11-21 valid payment request 402$0.01 22 ms
2026-11-20 valid payment request 402$0.01 13 ms
2026-11-19 valid payment request 402$0.01 23 ms
2026-11-18 valid payment request 402$0.01 17 ms
2026-11-17 valid payment request 402$0.01 27 ms
2026-11-16 valid payment request 402$0.01 24 ms
2026-11-15 valid payment request 402$0.01 14 ms
2026-11-14 valid payment request 402$0.01 16 ms
2026-11-13 valid payment request 402$0.01 15 ms
2026-11-12 valid payment request 402$0.01 15 ms
2026-11-11 valid payment request 402$0.01 23 ms
2026-11-10 valid payment request 402$0.01 15 ms
2026-11-09 valid payment request 402$0.01 38 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {},
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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) \u2014 `end` is EXCLUSIVE, so consecutive windows tile without repeating a boundary row. `closed` is [start, end] \u2014 `end` INCLUS",
              "type": "string"
            },
            "cursor": {
              "description": "Opaque page cursor \u2014 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 \u2014 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"
}

This page as JSON