Market Data — Crypto OHLC History
blockrun_get_api_v1_crypto_history_symbolHistorical OHLC bars for one Crypto symbol. Symbol format: Crypto pair BASE-QUOTE (e.g. BTC-USD, ETH-USD, SOL-USD). Example: BTC-USD. Substitute the path tail with any valid symbol from /list.
Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End unix timestamp (seconds). Defaults to now. | |
| from | Yes | History start time in Unix seconds, not milliseconds. | |
| symbol | Yes | Asset symbol in the format verified for this operation. List coverage may exceed free price coverage; not every listed symbol can be queried. | |
| session | No | The web documentation and OpenAPI enums conflict. Free non-stock examples omit this parameter rather than choose an unverified enum. | |
| resolution | No | Bar resolution. Common values: 1, 5, 15, 60, 240, D, W. |