
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.
Quick Links
Swap Quote
Get the best swap route and price.
Swap Instructions
Get transaction data to execute swaps.
Perp Quote
Get perpetual trading quotes.
Complete Swap Guide
Step-by-step swap integration guide.