Key differences
Endpoints
Streams
Mobula sends the API key inside each subscribe payload. Here, the key goes on the WebSocket handshake once, and every subscribe frame uses the same shape:
{"action": "subscribe", "channel": …, "filters": …}. See Connecting to streams.
Token object
Mobula field names below are from itsGET /api/2/token/details response.
Identity and market
Windowed stats
Mobula fuses the window into each field name. Here, windows are keys understats.
The windows differ:
Holders
The two APIs classify wallets with their own rules, so the same field can read differently. See the glossary for the rules here.
Security
Launchpad and metadata
Checklist
- Move the key to
Authorization: Bearer, on REST requests and the stream handshake. - Replace chain IDs with slugs.
- Move token addresses from query parameters into the path.
- Parse amounts as decimal strings, and read
.usdfrom money objects. - Read windowed stats from
stats. - Switch error handling to
error.code. See Errors and retries. - Move stream subscriptions to the
action/channel/filtersframe.