Skip to main content
GET
Historical

Authorizations

x-api-key
string
header
required

Path Parameters

symbol
string
default:mkr
required

The symbol of the token for which to retrieve prices.

Query Parameters

startDate
string<date-time>

Filter by prices after this date (expressed as milliseconds, for example 1590969600000). Note that the interval can not exceed 6 months (d), 30 days (h) or 24 hours (m).

endDate
string<date-time>

Filter by prices before this date (expressed as milliseconds, for example 1593561600000). Note that the interval can not exceed 6 months (d), 30 days (h) or 24 hours (m).

timeInterval
string
default:d

The time interval to return the historical data in: by day (d), by hour (h), or by minute (m).

timeFormat
string
default:ms

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200