CryptoCompare · Schema

CryptoCompare OHLCV Candle

Single OHLCV candle row returned by min-api /v2/histoday, /v2/histohour, /v2/histominute and the data-api /spot/v1/historical/* endpoints.

CryptocurrencyMarket DataReference RatesNewsSocialBlockchainOn-ChainOrder BookStreamingIndex

Properties

Name Type Description
time integer Period start timestamp in seconds.
open number
high number
low number
close number
volumefrom number Base asset volume traded in the period.
volumeto number Quote asset volume traded in the period.
conversionType string How the price was derived (direct, multiply, invert_multiply, force_direct).
conversionSymbol string Intermediate symbol used when conversionType is not direct.
View JSON Schema on GitHub

JSON Schema

cryptocompare-ohlcvcandle-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.cryptocompare.com/schemas/cryptocompare/ohlcvcandle.json",
  "title": "CryptoCompare OHLCV Candle",
  "description": "Single OHLCV candle row returned by min-api /v2/histoday, /v2/histohour, /v2/histominute and the data-api /spot/v1/historical/* endpoints.",
  "type": "object",
  "required": ["time", "open", "high", "low", "close"],
  "properties": {
    "time": {"type": "integer", "description": "Period start timestamp in seconds."},
    "open": {"type": "number"},
    "high": {"type": "number"},
    "low": {"type": "number"},
    "close": {"type": "number"},
    "volumefrom": {"type": "number", "description": "Base asset volume traded in the period."},
    "volumeto": {"type": "number", "description": "Quote asset volume traded in the period."},
    "conversionType": {"type": "string", "description": "How the price was derived (direct, multiply, invert_multiply, force_direct)."},
    "conversionSymbol": {"type": "string", "description": "Intermediate symbol used when conversionType is not direct."}
  }
}