This endpoint is only available to Enterprise plans.

Endpoint details

  • URL: wss://production-feed.mobula.io
  • Message (string):
{
   "type": "feed",
   "authorization": "YOUR-API-KEY"
}

Data model

Data reponses includes:

  • Asset updates:
{
    "timestamp": 1733173907000,
    "price": 3881.328639607063,
    "marketDepthUSDUp": 418639.4559697787,
    "marketDepthUSDDown": 623414.4447679224,
    "volume24h": 874713.342519723,
    "baseSymbol": "SWETH",
    "quoteSymbol": "USD",
    "extra": {
        "priceUSD": 3881.328639607063,
        "quoteAssetPrice": 1,
        "blockNumber": "21317425"
    }
}

Pricing methodology

Our basic pricing methodology is explained here. We use a weighted average price based on market depth and volume for each contract, and re-weight based on each contract volume to get final multichain price. Our asset list can be explored via the /all endpoint.

Add new asset to the feed

curl --request GET \
  --url https://production-api.mobula.io/api/1/feed/create?assetId=<assetId>&quoteId=<quoteId> \
  --header 'Authorization: YOUR-API-KEY' \
  --header 'Content-Type: application/json' \
 

You can leave quoteId empty to use default USD. You can find asset IDs in the /all endpoint.

Can’t find what you’re looking for? Reach out to us, response times < 1h.