MuchFi API Documentation
The MuchFi API provides programmatic access to comprehensive market data, token details, trading endpoints, and other core exchange functionality.Base URLs
- Mainnet
- Testnet
REST API
The REST API enables programmatic access to:- Market Data - Real-time and historical pricing information
- Token Details - Asset metadata and statistics
- Trading Endpoints - Order placement and management
- Account Information - Portfolio and balance queries
WebSocket Streams
For real-time market data delivery, MuchFi provides WebSocket streams. These enable:- Live trade updates
- Order book changes
- Candle/OHLCV data
- Account event notifications
SDK
The RUST SDK allows developers to access the MuchFi API and execute orders with a convenient interface.RUST SDK
Get started with the MuchFi RUST SDK
Authentication
Most read endpoints are public and don’t require authentication. Trading endpoints require:- Valid API credentials
- Request signing with your private key
- Proper nonce handling
Response Format
All responses are returned in JSON format:Error Handling
The API uses standard HTTP response codes:| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Rate Limited |
| 500 | Internal Server Error |
Rate Limits
API requests are subject to rate limiting. If you exceed the limit, you’ll receive a429 Too Many Requests response. Consider implementing exponential backoff for retries.