GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Guides
  • Overview
  • Quickstart
  • API Key Management
  • Trading API quick reference
  • Authentication & Rate Limits
  • Errors
  • Python SDK
  • MCP Server Integration
  • Market Data
  • WebSocket Streams
  • Historical Kline
  • Mark Price Kline
  • Wallet

This view

  • Original page
  • New address

GeezerVison is showing docs.trade.mudrex.com — Overview

📘

Trading endpoints are versioned under https://trade.mudrex.com/fapi/v1 and https://trade.mudrex.com/fapi/v2 Requests require an X-Authentication header carrying your API secret Responses are JSON encoded Numeric values are strings to preserve precision.

Specifications

  • Host: https://trade.mudrex.com
  • Base path: /fapi/v1, and /fapi/v2 for Place order v2 (POST /fapi/v2/futures/order) and Open orders v2 (GET /fapi/v2/futures/orders)
  • Example: https://trade.mudrex.com/fapi/v1/<resource> or https://trade.mudrex.com/fapi/v2/futures/order
  • Headers
    • Authentication header: X-Authentication: your-secret-key required with every request.
    • Content-Type header: Content-Type: application/json required with POST/PATCH/DELETE requests that send a body.
  • Rate limits
    • Default API rate limits and separate wallet rate limits apply. See Changelogs and Authentication & Rate Limits.

Resources

ResourcePurpose
WalletFetch spot wallet balances; move funds between spot and futures.
FuturesFetch futures wallet balance, available transfer amount, and transaction history.
AssetsList all futures instruments with sorting/pagination; retrieve full metadata for a specific asset.
LeverageGet or set leverage and margin type (isolated) for a specific asset.
OrdersCreate new orders (market or limit, v2 recommended), list open orders (v1 and v2), fetch order history, retrieve single orders, amend/cancel orders.
PositionsView open positions, set/edit stop‑loss and take‑profit, reverse or partially close positions, fetch position history.
FeesRetrieve your trading and funding fee history.
Market DataPublic price/mark-price klines (REST) and live kline/mark-kline/ticker streams (WebSocket). No authentication.

Check out the Quickstart guide to follow a complete trading workflow.

Public Market data

Separately from the authenticated trading API above, Mudrex exposes public market-data endpoints - historical price and mark-price klines over REST, and live kline/mark-kline/ticker streaming over WebSocket. These require no authentication, are independent of margin currency, and use their own conventions: a /fapi/v1/price base path, epoch-seconds timestamps, and JSON-number values. See Market Data.

Margin currency: USDT and INR

Futures can be traded with USDT (default) or INR as the margin currency. The contracts are the same USDT-quoted linear perpetuals (e.g. BTCUSDT, SOMIUSDT) in both cases - only the wallet the margin is drawn from and the currency in which PnL and fees are realized changes. Existing USDT integrations are unaffected: when no currency is specified, requests behave exactly as before.

Selecting the currency

Request typeWhere the currency goesExample
GET (spot wallet)Query parameter currency?currency=INR
GET (all other endpoints)Query parameter trade_currency?trade_currency=INR
POST / PATCH / DELETEBody field trade_currency"trade_currency": "INR"
OmittedDefaults to USDT-

Supported values are USDT and INR. Any other value returns 400 with Invalid trade currency.

📘

The spot wallet read is the exception.

GET /wallet/funds uses currency (e.g. ?currency=INR). Do not send trade_currency on Spot. Always use ?currency=INR for the INR spot wallet. Every other endpoint uses trade_currency.

Transfers (per currency)

FlowEndpoint
USDT spot ↔ USDT futuresPOST /wallet/futures/transfer
INR spot ↔ INR futuresPOST /futures/transfers/inr

INR transfers do not go through /wallet/futures/transfer. Cross-currency transfers (INR ↔ USDT) are not supported via API.

Currency model

  • Contracts are USDT-quoted (BTCUSDT, SOMIUSDT, …); asset listing and detail are unchanged for both currencies.
  • Order price, entry price, and liquidation price are in USDT.
  • Quantity is in the base asset (e.g. BTC).
  • Margin, PnL, fees, and wallet balances are in the wallet/position currency.
  • For INR trades the FX rate (INR/USDT) is returned as hedge_rate (orders) and entry_hedge_rate / exit_hedge_rate (positions).

List endpoints

List endpoints (orders, order history, positions, position history, fee history, transactions) return one currency per call - they never mix USDT and INR. They default to USDT; pass trade_currency explicitly for INR. Each returned item carries a trade_currency tag.

Updated 8 days ago


What’s Next

  • Quickstart
Did this page help you?
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.