Market
Closes
Historical closing price for an asset during a given period.
GET
/
v1
/
market
/
closes
pair
string
requiredasset symbol with base currency (example: btc-usd)
min
int
requiredstart of the aggregate time window as a timestamp (example: 1168300800)
max
int
requiredend of the aggregate time window as a timestamp (example: 1652486400)
interval
string
requiredsize of the time window (valid intervals: 5m, 1h, 1d, 1w, 1mo)
sort
string
sort the results by timestamp. asc will return results in ascending order (oldest to newest), desc will return results in descending order (newest to oldest). default value is asc
limit
int
limit the number of results returned, default is 5000 and max is 50000