/
MO
mobula
/
Mobula API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 18h ago · Updated 18h ago
View markdown
mobula
Mobula API
get
/agent/mpp/api-keys/revoke
v3
latest
OpenAPI 3.1.0
2026-08-08
61
32
738.0 KB
Agent
5
get
Subscribe to a Mobula API plan via MPP payment. Creates or updates an agent customer with the selected plan (Startup, Growth, Enterprise) and billing frequency (monthly, yearly). Returns an API key and user_id. If upgrading, pass ?upgrade=true. Before subscribing, check /agent/mpp/subscription to verify no active plan. After subscribing, use the returned API key with header "x-api-key: <key>" (or "Authorization: <key>") to call any Mobula REST endpoint without further MPP payments. You can also connect to WebSocket streams at wss://streams.mobula.io for real-time trade feeds, price updates, and market events using the same API key. Full documentation: https://docs.mobula.io
get
Add credits to an MPP agent. Requires an active subscription. Credits are calculated from the top-up amount using the plan-specific price per credit (Startup: $0.0004/credit, Growth/Enterprise: $0.00032/credit). Returns credits_added and new_credits_limit. Credits are consumed when calling any Mobula REST or WebSocket endpoint with your x-api-key.
get
Create a new API key for the MPP agent. Payer wallet must match the subscription wallet. Returns the new api_key and user_id. Each key works with both REST (x-api-key header) and WebSocket streams.
get
/agent/mpp/api-keys/revoke
get
Returns current plan stats for the payer wallet: user_id, api_keys, plan, last_payment, payment_frequency, left_days, credits_left, plan_active. Use before subscribe to check if an active plan exists. 404 if no agent found. If plan_active is true, use the returned api_keys with x-api-key header to call any endpoint without MPP.
V2 - Assets
4
V2 - Blockchains
1
V2 - Market Data
5
V2 - Perps
3
V2 - Search
2
V2 - Swap
3
V2 - Token
18
V2 - Trades
6
V2 - Wallet
14