Get Market Data (batch)
Query details
You can query up to 500 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 500 assets? You can use the /all endpoint to get all assets listed on Mobula (curated, not all DeFi tokens)
It is also possible to query using symbols - in that situation mobula sorts all assets with the same symbol and returns the one with the highest market cap - particularly useful if you need to map data coming from CEX trading pairs - if symbol is used, asset isn’t mandatory anymore.
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. volume
is on-chain volume, and off_chain_volume
is - as name implies, the off-chain volume.
Query Parameters
Comma separated list of asset names or Ethereum addresses (max 500)
Comma separated list of blockchain names
Comma separated list of symbols