get https://api.amberdata.com/market/tokens/prices//historical
Retrieves the historical prices (and other market information) for the specified token from October 2019 forward.
Note: This endpoint returns a max of 6 months of historical data. In order to get more than 6 months you must use the startDate
& endDate
parameters to move the time frame window to get the next n days/months of data.
Response Data
Field | Type | Description |
---|---|---|
data | array | The historical token price data. |
metadata | object | The metadata associated with the token price data. |
columns | array | The name of the columns associated with the returned data e.g. [ timestamp, priceUSD, ...] . |
timestamp | string | The timestamp associated with this record. |
priceUSD | string | The price of the token in USD. |
hourlyPercentChangeUSD | string | The hourly percent change of the token in USD. |
dailyPercentChangeUSD | string | The daily percent change of the token in USD. |
dailyVolumeUSD | string | The daily volume of the token in USD. |
weeklyPercentChangeUSD | string | The weekly percent change of the token in USD. |
circulatingSupply | string | The circulating supply of the token. |
totalSupply | string | The total supply of the token. |
marketCapUSD | string | The market cap of the token in USD. |