CryptoCompare · Schema

CryptoCompare Full Ticker

Full ticker payload emitted by min-api /pricemultifull and the CCCAGG WebSocket index (TYPE 5).

CryptocurrencyMarket DataReference RatesNewsSocialBlockchainOn-ChainOrder BookStreamingIndex

Properties

Name Type Description
TYPE string Numeric message type (2 ticker, 5 CCCAGG).
MARKET string Source market or CCCAGG.
FROMSYMBOL string Base asset symbol.
TOSYMBOL string Quote asset symbol.
FLAGS integerstring Bitmask describing which component moved.
PRICE number
LASTUPDATE integer Unix timestamp of the last update.
MEDIAN number Cross-exchange median (CCCAGG only).
LASTVOLUME number
LASTVOLUMETO number
LASTTRADEID string
VOLUMEHOUR number
VOLUMEHOURTO number
OPENHOUR number
HIGHHOUR number
LOWHOUR number
VOLUMEDAY number
VOLUMEDAYTO number
OPENDAY number
HIGHDAY number
LOWDAY number
VOLUME24HOUR number
VOLUME24HOURTO number
OPEN24HOUR number
HIGH24HOUR number
LOW24HOUR number
CHANGE24HOUR number
CHANGEPCT24HOUR number
CHANGEDAY number
CHANGEPCTDAY number
CHANGEHOUR number
CHANGEPCTHOUR number
TOPTIERVOLUME24HOUR number
TOPTIERVOLUME24HOURTO number
MKTCAP number
CIRCULATINGSUPPLY number
SUPPLY number
TOTALVOLUME24H number
TOTALVOLUME24HTO number
LASTMARKET string
CONVERSIONTYPE string
CONVERSIONSYMBOL string
View JSON Schema on GitHub

JSON Schema

cryptocompare-fullticker-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.cryptocompare.com/schemas/cryptocompare/fullticker.json",
  "title": "CryptoCompare Full Ticker",
  "description": "Full ticker payload emitted by min-api /pricemultifull and the CCCAGG WebSocket index (TYPE 5).",
  "type": "object",
  "required": ["TYPE", "MARKET", "FROMSYMBOL", "TOSYMBOL", "PRICE"],
  "properties": {
    "TYPE": {"type": "string", "description": "Numeric message type (2 ticker, 5 CCCAGG)."},
    "MARKET": {"type": "string", "description": "Source market or CCCAGG."},
    "FROMSYMBOL": {"type": "string", "description": "Base asset symbol."},
    "TOSYMBOL": {"type": "string", "description": "Quote asset symbol."},
    "FLAGS": {"type": ["integer", "string"], "description": "Bitmask describing which component moved."},
    "PRICE": {"type": "number"},
    "LASTUPDATE": {"type": "integer", "description": "Unix timestamp of the last update."},
    "MEDIAN": {"type": "number", "description": "Cross-exchange median (CCCAGG only)."},
    "LASTVOLUME": {"type": "number"},
    "LASTVOLUMETO": {"type": "number"},
    "LASTTRADEID": {"type": "string"},
    "VOLUMEHOUR": {"type": "number"},
    "VOLUMEHOURTO": {"type": "number"},
    "OPENHOUR": {"type": "number"},
    "HIGHHOUR": {"type": "number"},
    "LOWHOUR": {"type": "number"},
    "VOLUMEDAY": {"type": "number"},
    "VOLUMEDAYTO": {"type": "number"},
    "OPENDAY": {"type": "number"},
    "HIGHDAY": {"type": "number"},
    "LOWDAY": {"type": "number"},
    "VOLUME24HOUR": {"type": "number"},
    "VOLUME24HOURTO": {"type": "number"},
    "OPEN24HOUR": {"type": "number"},
    "HIGH24HOUR": {"type": "number"},
    "LOW24HOUR": {"type": "number"},
    "CHANGE24HOUR": {"type": "number"},
    "CHANGEPCT24HOUR": {"type": "number"},
    "CHANGEDAY": {"type": "number"},
    "CHANGEPCTDAY": {"type": "number"},
    "CHANGEHOUR": {"type": "number"},
    "CHANGEPCTHOUR": {"type": "number"},
    "TOPTIERVOLUME24HOUR": {"type": "number"},
    "TOPTIERVOLUME24HOURTO": {"type": "number"},
    "MKTCAP": {"type": "number"},
    "CIRCULATINGSUPPLY": {"type": "number"},
    "SUPPLY": {"type": "number"},
    "TOTALVOLUME24H": {"type": "number"},
    "TOTALVOLUME24HTO": {"type": "number"},
    "LASTMARKET": {"type": "string"},
    "CONVERSIONTYPE": {"type": "string", "enum": ["direct", "multiply", "invert_multiply", "force_direct"]},
    "CONVERSIONSYMBOL": {"type": "string"}
  }
}