Retrieve historical OHLC-style price data for a supported crypto asset (BTC, ETH, XRP, SOL, DOGE, BNB, HYPE) over a chosen time window variant. Timestamps are Unix seconds. Response includes pagination: { has_more, pagination_key } for cursor-based pagination — pass pagination_key from the previous response to fetch the next page.
Asset ticker: BTC, ETH, XRP, SOL, DOGE, BNB, or HYPE
BTC, ETH, XRP, SOL, DOGE, BNB, HYPE Time window: 5m, 15m, 1h, 4h, or 1d
5m, 15m, 1h, 4h, 1d Start timestamp (Unix seconds, inclusive)
End timestamp (Unix seconds, inclusive, defaults to now)
Number of results (default: 10, max: 100)
Cursor-based pagination key Obtained from previous response's pagination.pagination_key. Pass this to fetch the next page of results.
Asset price history records, sorted newest first. Response includes pagination: { has_more, pagination_key } for cursor-based pagination.
Opening price at start_time (cast to f64 from NUMERIC in query)
Closing price at end_time (cast to f64 from NUMERIC in query)
Time window: "5m", "15m", "1h", "1d"
Window start timestamp (seconds since epoch)
Window end timestamp (seconds since epoch)
Generated column: "up" if close > open, "down" if close ≤ open, null if no close yet