Fetch market data for multiple assets.
curl --request GET \
--url https://api.app-mobula.com/api/1/market/multi-data
{}
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) - you must input a blockchain IF you send a smart-contract, but it’s not mandatory otherwise (blockchain format can be found here). For example, you can query with parameters:
{
"assets": "Bitcoin,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,Hedera,0x23d29d30e35c5e8d321e1dc9a8a61bfd846d4c5c"
"blockchains": "1,137"
}
We will map the first blockchain with the first contract address found, and so on.
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
Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.app-mobula.com/api/1/market/multi-data
{}