xmr2cex
API Support
Login Register

API

Programmatic access to xmr2cex

All requests require a 16-digit account PIN as API key.

x-api-key: YOUR_16_DIGIT_PIN

Alternative: query param ?apiKey=YOUR_PIN

GET
/api/v1/quote?amount=1.5&outputAsset=btc
ParamTypeRequiredNotes
amountnumberyesXMR to send (1–5000)
outputAssetstringyesbtc, eth, sol, ltc, trx, usdt, usdt-erc20, usdt-arb
curl -H "x-api-key: 1234567890123456" \ "https://xmr2cex.com/api/v1/quote?amount=1.5&outputAsset=btc"
{ "quoteId": "q_abc123", "inputAmount": 1.5, "outputAsset": "btc", "outputAmount": 0.01234, "exchangeRate": 0.00823, "expiresAt": 1741776120000 }
GET
/api/v1/quote/:id
curl -H "x-api-key: 1234567890123456" \ "https://xmr2cex.com/api/v1/quote/q_abc123"
{ "quoteId": "q_abc123", "inputAmount": 1.5, "outputAsset": "btc", "outputAmount": 0.01234, "exchangeRate": 0.00823, "expiresAt": 1741776120000 }
POST
/api/v1/order
Body FieldTypeRequiredNotes
quoteIdstringyesFrom create quote
destinationAddressstringyesOutput wallet address
curl -X POST "https://xmr2cex.com/api/v1/order" \ -H "x-api-key: 1234567890123456" \ -H "Content-Type: application/json" \ -d '{"quoteId":"q_abc123","destinationAddress":"bc1q..."}'
{ "orderId": "ord_xyz", "status": "awaiting_payment", "inputAmount": 1.5, "depositAddress": "888tN...", "outputAsset": "btc", "destinationAddress": "bc1q...", "createdAt": 1741776000000 }
GET
/api/v1/order/:id
curl -H "x-api-key: 1234567890123456" \ "https://xmr2cex.com/api/v1/order/ord_xyz"
{ "orderId": "ord_xyz", "status": "completed", "inputAmount": 1.5, "depositAddress": "8888...", "outputAsset": "btc", "destinationAddress": "bc1q...", "createdAt": 1741776000000 }
StatusDescription
PENDINGWaiting for XMR deposit
CONFIRMINGDeposit detected, awaiting 10 confirmations
SENDINGSending output from CEX
SENTOutput sent
{"error": "Description of what went wrong."}
CodeMeaning
400Missing or invalid parameters
401Invalid or missing API key
404Resource not found
500Server error
Base URLhttps://xmr2cex.com/api/v1
FormatJSON
Authx-api-key header
Back to Account
Tor · Clearnet · API · Support · X/Twitter · Terms