Guides
Guides

Authentication & Rate Limits

Learn how to authenticate with Mudrex API using API keys and understand the rate limits enforced for secure trading operations.

Authentication

Mudrex enforces strong security measures. To call any private endpoint, you must:

Verify your identity: Complete KYC verification (PAN & Aadhaar) and enable two-factor authentication for your Mudrex account.

Generate an API key: In your dashboard, create an API key. Copy the secret and store it securely, as it will not be displayed again.

All endpoints under /fapi/v1 require the following headers:

HeaderValueRequired
X-Authenticationyour_api_secretYes
Content-Typeapplication/jsonOnly for POST/PATCH/DELETE requests

Example Request

curl -X POST https://trade.mudrex.com/fapi/v1/futures/<asset_id>/order \
  -H "Content-Type: application/json" \
  -H "X-Authentication: <secret-key>" \
  -d '{
    "leverage": "5",
    "quantity": "0.001",
    "order_price": "107526",
    "order_type": "LONG",
    "trigger_type": "MARKET",
    "is_takeprofit": true,
    "is_stoploss": true,
    "stoploss_price": "106900",
    "takeprofit_price": "110000",
    "reduce_only": false
    }'

Rate Limits

The following rate limits are enforced per API key.

Updated Rate Limits (All Endpoints)

All endpoints will use the following updated rate limits, except wallet endpoints listed separately below.

Limits

DurationLimit
Second10
Minute500
Hour30000

Wallet Rate Limits (/fapi/v1/wallet)

The following wallet endpoints use separate rate limits from the default API limits:

Limits

DurationLimit
Second2
Minute50
Hour1000

Notes

  • Rate limits are applied per API key
  • Wallet routes continue to use separate limits
  • Exceeding limits may result in request throttling or temporary blocking
  • Updated limits are designed to support higher throughput and trading activity