
Overview
Mobula’s Execution APIs provide a unified interface to execute trades across decentralized exchanges:Swap API
Spot Trading
- Cross-chain token swaps
- Best price routing
- Slippage protection
- Transaction building
Perps API
Perpetual Trading
- Leverage positions
- Cross-margin support
- Order management
- Position tracking
TypeScript SDK
For the best developer experience, use the official TypeScript SDK:SDK Documentation
Full type safety, all REST methods, and utility functions included
API Endpoints
Demo API
demo-api.mobula.io
- No signup required
- Rate limited (for testing only)
- Perfect for exploring the API
Production API
api.mobula.io
- Requires free API key
- Higher rate limits
- Production-ready
Getting Started: You can test all endpoints using demo-api.mobula.io without any signup. For production use, generate a free API key to use api.mobula.io.