Get spot prices

get/api/v1/marketdata/cryptocompare/spot/prices

Get historical spot prices from a specific time.

Query Parameters

  • basestringRequired
    The asset or currency to compare to the quote asset or currency (case insensitive).
  • quotestringRequired
    The asset or currency to compare to the base asset or currency (case insensitive).
  • intervalstringRequired
    Unit of time.
    Enum: minutehourday
  • timestampstring(date-time)

200 Response

time string <date-time>required
open number <float>required
high number <float>required
low number <float>required
close number <float>required
base_volume number <float>required
quote_volume number <float>required

400 Response

error string required
errorName string required