Timestamps are in MS, it’s JS timestamps.
Query details
You can query up to 10 assets as the same time (even tho if you are facing this you might want to use our data streams). The market data asset query pattern is explained in great details here, with blockchain format, etc. For example, you can query with parameters:Need more than 10 assets? You can use the /all
endpoint to get all assets listed on Mobula (curated, not all DeFi tokens)
Data details
Price data is computed using Octopus, Mobula’s market data engine. You can have a high-level overview of how it’s computing DeFi prices here. Data granularity is designed as follows:- 5 minutes for the last 7 days
- 6 hours for the last 30 days
- 1 day for the remaining of history
Usage Example:
- Query by Asset and Mulitple Time Range
Query Parameters
Response
200 - application/json
Market multi history response