Get Orderbook Pair Bid/Ask History logo

Catalog action Blockchain Data

Get historical orderbook bid/ask volume data for a specific exchange and trading pair within a price range. Returns aggregated ask/bid volumes and USD amounts over time for liquidity analysis. Ideal for: orderbook depth analysis, liquidity monitoring, buy/sell pressure detection, market microstructure analysis.

At a Glance

FieldValue
Action IDcoinglass-get-orderbook-pair
CategoryBlockchain Data
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagscoinglass, liquidity, futures, derivatives, 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.
rangestringYesPrice range percentage for bid/ask aggregation (e.g., '0.5' for +/-0.5%, '1' for +/-1%, '2' for +/-2%).
intervalstringYesTime interval for data points (e.g., '1h', '4h', '12h', '1d').
limitnumberNoMaximum number of results to return (default: 1000).
startTimenumberNoStart timestamp in milliseconds (e.g., 1641522717000).
endTimenumberNoEnd timestamp in milliseconds (e.g., 1641522717000).

Result Schema

FieldTypeRequiredDescription
exchangestringYesExchange name.
symbolstringYesTrading pair symbol.
rangestringYesPrice range percentage used for aggregation.
entriesarrayYesArray of orderbook bid/ask history entries

Examples

json
{ "type": "coinglass-get-orderbook-pair", "payload": { "exchange": "example-exchange", "symbol": "ETH", "range": "example-range", "interval": "example-interval" }, "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