Skip to main content
GET
Get market multi history
Deprecated EndpointThis endpoint is deprecated. Please use the new v2 endpoints instead:
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:
We will map the first blockchain with the first contract address found, and so on.
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
If you need higher granularity or control, please reach out to us on Telegram - we can deliver up to 1min granularity since 2013 for all assets.

Usage Example:

  • Query by Asset and Mulitple Time Range

Query Parameters

assets
string

Comma-separated token contract addresses

period
string

Time period (e.g., "1h", "24h", "7d")

symbols
string

Comma-separated token symbols

blockchains
string

Comma-separated blockchain IDs

ids
string

Comma-separated asset IDs

from
string

Start timestamp

to
string

End timestamp

Response

200 - application/json

Market multi history response

data
object[]
required