Get Price OHLC History logo

Catalog action Blockchain Data

Get historical OHLC (Open, High, Low, Close) price data for a specific futures trading pair. Returns candlestick data with configurable time intervals from 1m to 1w. Supports time range filtering. Ideal for: price chart rendering, technical analysis, backtesting strategies, historical price lookup.

At a Glance

FieldValue
Action IDcoinglass-get-price-ohlc-history
CategoryBlockchain Data
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagscoinglass, price, ohlc, candlestick, historical, chart, read

Payload Schema

FieldTypeRequiredDescription
exchangestringYesFutures exchange name (e.g., 'Binance', 'OKX', 'Bybit'). Use the supported-exchange-pair API to get valid exchanges.
symbolstringYesTrading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). Check supported pairs via the supported-exchange-pair API.
intervalstringYesData aggregation time interval. Supported values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 1w.
limitnumberNoMaximum number of candles to return (default: 1000, max: 4500).
startTimenumberNoStart timestamp in seconds (e.g., 1641522717).
endTimenumberNoEnd timestamp in seconds (e.g., 1641522717).

Result Schema

FieldTypeRequiredDescription
exchangestringYesExchange name.
symbolstringYesTrading pair symbol.
intervalstringYesTime interval.
candlesarrayYesArray of OHLC candle data points

Examples

json
{ "type": "coinglass-get-price-ohlc-history", "payload": { "exchange": "example-exchange", "symbol": "ETH", "interval": "1m" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I