GET
/
market
/
data
curl --request GET \
  --url https://api.mobula.io/api/1/market/data
{
  "data": {
    "ath": 123,
    "atl": 123,
    "is_listed": true,
    "liquidity": 123,
    "liquidity_change_24h": 123,
    "market_cap": 123,
    "market_cap_diluted": 123,
    "off_chain_volume": 123,
    "price": 123,
    "price_change_1h": 123,
    "price_change_1m": 123,
    "price_change_1y": 123,
    "price_change_24h": 123,
    "price_change_7d": 123,
    "volume": 123,
    "volume_7d": 123,
    "volume_change_24h": 123
  }
}

Query quick start

Input in “asset” the name of the asset you want to query, or the contract address while adding the blockchain as a second parameter. The market data asset query pattern is explained in great details here, with blockchain format, etc.

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

asset
string

The asset you want to target - asset name only works for assets listed on Mobula.

blockchain
string

Blockchain of the asset - only mandatory if asset is sent as smart-contract.

symbol
string

Symbol of the asset - only mandatory if no asset name/contract is provided

Response

200 - application/json
data
object