Kraken icon

Kraken

Interact with Kraken cryptocurrency exchange API

Market Data → Get OHLC Data

AI-generated

Summary

Fetch OHLC candlestick data from Kraken for a specified asset pair and interval.

Inputs

  • pair — Asset pair to get data for (e.g., XXBTZUSD for BTC/USD). Default: XXBTZUSD.
  • interval — Time interval for OHLC data. Options: 1 Minute (1), 5 Minutes (5), 15 Minutes (15), 30 Minutes (30), 1 Hour (60), 4 Hours (240), 1 Day (1440), 1 Week (10080), 15 Days (21600). Default: 60 seconds.
  • since — UTC timestamp to return OHLC entries since (for incremental updates). Example: 1688671200. Optional; if omitted, returns data from the earliest available point.

Output shape

The node returns the raw OHLC candle data from the Kraken API as the JSON payload of the output item(s). The structure corresponds to Kraken's ohlc() response format.

Multiple workflow items are processed independently; each returns its own API response fragment.

Examples

Example 1: Get the most recent 1-hour OHLC data for BTC/USD.

pair: XXBTZUSD, interval: 60

Example 2: Incrementally fetch new OHLC candles since a given timestamp.

pair: XXBTZUSD, since: 1688671200

Links

Discussion