MuchFi

API Introduction

Getting started with the MuchFi API

MuchFi API Documentation

The MuchFi API provides programmatic access to comprehensive market data, token details, trading endpoints, and other core exchange functionality.

Base URLs

https://integrated-api.mainnet.muchfi.xyz
wss://ws.integrated-api.mainnet.muchfi.xyz
https://integrated-api.testnet.muchfi.xyz
wss://ws.integrated-api.testnet.muchfi.xyz

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

Use the REST API to retrieve data, fetch asset metadata, and interact with MuchFi's trading infrastructure.

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

See the WebSocket documentation for implementation details.

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:

  1. Valid API credentials
  2. Request signing with your private key
  3. Proper nonce handling

Response Format

All responses are returned in JSON format:

{
  "data": { ... },
  "timestamp": 1705764000000
}

Error Handling

The API uses standard HTTP response codes:

CodeDescription
200Success
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
500Internal Server Error

Rate Limits

API requests are subject to rate limiting. If you exceed the limit, you'll receive a 429 Too Many Requests response. Consider implementing exponential backoff for retries.

Tip

Use the tabs above to switch between Mainnet and Testnet API endpoints.