APIs | Contact

API Documentation

Select an API endpoint category to explore

Crypto → Fiat
Off-ramp APIs
Fiat → Crypto
On-ramp APIs
Service Overview
Architecture Diagram

Crypto → Fiat APIs

Off-ramp endpoints for converting cryptocurrency to fiat currency

Authentication
AUTH
API Authentication
Required for all API calls

All API requests must include authentication headers. Generate your API credentials from the Developer Dashboard.

Required Headers

HeaderTypeRequiredDescription
X-API-KeystringRequiredYour API Client ID (e.g., pcrf_60c2a1c7c799...)
X-API-SecretstringRequiredYour API Secret (shown once at creation)
X-Account-IDstringRequiredYour Account UUID
Content-TypestringRequiredMust be application/json

Example Request

curl -X GET https://api.mondax.co/api/v1/balance \
  -H "X-API-Key: pcrf_60c2a1c7c79926a54cedca8c" \
  -H "X-API-Secret: 5800096084579c142abc8ae95e32e56852c7f8eb..." \
  -H "X-Account-ID: 6f2112c3-4d2a-4309-b814-c2ee544136ee" \
  -H "Content-Type: application/json"

Error Response (401 Unauthorized)

{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API credentials"
  }
}

Where to Find Your Credentials

API Key & Secret: account.mondax.co/developer → Create New Key

Account ID: Visible in your account URL or on the Account Settings page

Account & Setup
GET
Get Deposit Address
/api/v1/deposit-address

Retrieve the deposit address for a specific cryptocurrency. Users send crypto to this address to initiate off-ramp transactions.

Query Parameters

ParameterTypeRequiredDescription
currencystringRequiredCryptocurrency code (e.g., USDT, BTC, ETH)
networkstringRequiredBlockchain network (e.g., TRC20, ERC20, BEP20)

Response Example

{
  "success": true,
  "data": {
    "address": "TXyz123...abc789",
    "currency": "USDT",
    "network": "TRC20",
    "memo": null,
    "min_deposit": 10.00
  }
}
Conversion & Withdrawal
POST
Convert Crypto to Fiat
/api/v1/convert

Convert deposited cryptocurrency to fiat currency at current exchange rates.

Request Body

ParameterTypeRequiredDescription
from_currencystringRequiredSource cryptocurrency (e.g., USDT)
to_currencystringRequiredTarget fiat currency (e.g., EUR, USD)
amountnumberRequiredAmount of crypto to convert

Response Example

{
  "success": true,
  "data": {
    "tx_id": "conv_abc123xyz",
    "from_amount": 100.00,
    "to_amount": 92.50,
    "rate": 0.925,
    "fee": 1.50,
    "status": "completed"
  }
}
POST
Withdraw to Bank
/api/v1/withdraw

Initiate a fiat withdrawal to a linked bank account via SEPA or wire transfer.

Request Body

ParameterTypeRequiredDescription
currencystringRequiredFiat currency to withdraw (e.g., EUR)
amountnumberRequiredAmount to withdraw
bank_account_idstringRequiredID of linked bank account
referencestringOptionalPayment reference (max 140 chars)

Response Example

{
  "success": true,
  "data": {
    "tx_id": "wd_xyz789abc",
    "amount": 500.00,
    "currency": "EUR",
    "fee": 0.50,
    "status": "pending",
    "estimated_arrival": "2025-12-15T14:00:00Z"
  }
}
Rates & Status
GET
Get Exchange Rates
/api/v1/rates

Retrieve current exchange rates for crypto-to-fiat conversions.

Query Parameters

ParameterTypeRequiredDescription
fromstringOptionalSource currency filter (e.g., USDT)
tostringOptionalTarget currency filter (e.g., EUR)

Response Example

{
  "success": true,
  "data": {
    "rates": [
      { "pair": "USDT/EUR", "rate": 0.925, "min": 10, "max": 50000 },
      { "pair": "BTC/EUR", "rate": 41250.00, "min": 0.0001, "max": 10 }
    ],
    "updated_at": "2025-12-14T08:00:00Z"
  }
}
GET
Transaction Status
/api/v1/status/{txId}

Check the status of a conversion or withdrawal transaction.

Path Parameters

ParameterTypeRequiredDescription
txIdstringRequiredTransaction ID from convert or withdraw response

Response Example

{
  "success": true,
  "data": {
    "tx_id": "wd_xyz789abc",
    "type": "withdrawal",
    "status": "completed",
    "amount": 500.00,
    "currency": "EUR",
    "created_at": "2025-12-14T08:00:00Z",
    "completed_at": "2025-12-14T10:30:00Z"
  }
}

Fiat → Crypto APIs

On-ramp endpoints for converting fiat currency to cryptocurrency

Authentication
AUTH
API Authentication
Required for all API calls

All API requests must include authentication headers. Generate your API credentials from the Developer Dashboard.

Required Headers

HeaderTypeRequiredDescription
X-API-KeystringRequiredYour API Client ID (e.g., pcrf_60c2a1c7c799...)
X-API-SecretstringRequiredYour API Secret (shown once at creation)
X-Account-IDstringRequiredYour Account UUID
Content-TypestringRequiredMust be application/json

Example Request

curl -X GET https://api.mondax.co/api/v1/quote \
  -H "X-API-Key: pcrf_60c2a1c7c79926a54cedca8c" \
  -H "X-API-Secret: 5800096084579c142abc8ae95e32e56852c7f8eb..." \
  -H "X-Account-ID: 6f2112c3-4d2a-4309-b814-c2ee544136ee" \
  -H "Content-Type: application/json"

Where to Find Your Credentials

API Key & Secret: account.mondax.co/developer → Create New Key

Account ID: Visible in your account URL or on the Account Settings page

Quotes & Rates
GET
Get Purchase Quote
/api/v1/quote

Get a real-time quote for purchasing cryptocurrency with fiat currency.

Query Parameters

ParameterTypeRequiredDescription
from_currencystringRequiredFiat currency (e.g., EUR, USD)
to_currencystringRequiredCryptocurrency to purchase (e.g., BTC, ETH)
amountnumberRequiredAmount in fiat currency

Response Example

{
  "success": true,
  "data": {
    "quote_id": "qt_abc123",
    "from_amount": 100.00,
    "to_amount": 0.00242,
    "rate": 41322.50,
    "fee": 1.50,
    "expires_at": "2025-12-14T08:05:00Z"
  }
}
GET
Get Exchange Rates
/api/v1/rates

Retrieve current exchange rates for fiat-to-crypto purchases.

Query Parameters

ParameterTypeRequiredDescription
fromstringOptionalFiat currency filter (e.g., EUR)
tostringOptionalCrypto currency filter (e.g., BTC)

Response Example

{
  "success": true,
  "data": {
    "rates": [
      { "pair": "EUR/BTC", "rate": 0.0000242, "min": 10, "max": 10000 },
      { "pair": "EUR/ETH", "rate": 0.000435, "min": 10, "max": 10000 }
    ],
    "updated_at": "2025-12-14T08:00:00Z"
  }
}
Purchase
POST
Purchase Crypto
/api/v1/purchase

Initiate a cryptocurrency purchase using a valid quote.

Request Body

ParameterTypeRequiredDescription
quote_idstringRequiredQuote ID from /quote endpoint
wallet_addressstringRequiredDestination wallet address
payment_methodstringRequiredPayment method (bank_transfer, card)

Response Example

{
  "success": true,
  "data": {
    "tx_id": "pur_xyz789",
    "status": "awaiting_payment",
    "payment_details": {
      "iban": "DE89370400440532013000",
      "reference": "MONDAX-xyz789",
      "amount": 100.00,
      "currency": "EUR"
    }
  }
}
POST
Confirm Purchase
/api/v1/confirm

Confirm that payment has been sent for a pending purchase.

Request Body

ParameterTypeRequiredDescription
tx_idstringRequiredTransaction ID from purchase response
payment_referencestringOptionalBank transfer reference used

Response Example

{
  "success": true,
  "data": {
    "tx_id": "pur_xyz789",
    "status": "payment_confirmed",
    "message": "Payment confirmation received. Crypto will be sent once payment clears."
  }
}
Status & History
GET
Transaction Status
/api/v1/status/{txId}

Check the status of a purchase transaction.

Path Parameters

ParameterTypeRequiredDescription
txIdstringRequiredTransaction ID from purchase response

Response Example

{
  "success": true,
  "data": {
    "tx_id": "pur_xyz789",
    "type": "purchase",
    "status": "completed",
    "fiat_amount": 100.00,
    "crypto_amount": 0.00242,
    "tx_hash": "0xabc123...def789",
    "created_at": "2025-12-14T08:00:00Z",
    "completed_at": "2025-12-14T12:30:00Z"
  }
}