time_window
.
Max number of tokens per request: 50
Supported Windows
The following are the supported time windows and their associated retention periods:Window | Retention |
---|---|
15s | 5 days |
1m | 30 days |
5m | 30 days |
1h | All |
1d | All |
Supported Chains
Edge Cases
Incomplete Time Windows
This endpoint returns price data for the current time window, even if it’s incomplete. For example:- If the API is called at 10:30, the latest hourly datapoint for 10:00 is based on trades from 10:00 to 10:30
- If called at 10:45, the 10:00 datapoint will be finalized, reflecting a full hour of trades
Inactive Tokens
For tokens with no trading activity in one of the requested time windows, we intentionally do not return a price in that window. This is a design choice to prevent returning a stale price for an inactive token. It is up to you to decide how you want to handle those cases.Authorizations
Query Parameters
Body
application/json