Websocket Price Feed
Get WSS price feeds weighted by volume & market depth (slippage)
Endpoint details
- URL: wss://production-feed.mobula.io
- Message (string):
V2 :
You can specify the assets you want to track by two methods:
- By asset_id
- By tokens
By asset_id
You can find asset IDs in the /all endpoint.
By tokens
Unsubscribing from the stream
You can unsubscribe from the stream by sending an unsubscribe message, and specifying the tokens you want to unsubscribe from:
V1 :
You can subscribe to the feed to receive updates about all assets registered in our database
Add new asset to the feed
You can leave quoteId empty to use default USD. You can find asset IDs in the /all endpoint.
Data model
Data reponses includes:
- Asset updates:
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.
Can’t find what you’re looking for? Reach out to us, response times < 1h.