API Reference

Base URL: https://merx.exchange/api/v1. All requests and responses use JSON. Authenticated endpoints require an X-API-Key header.

Prices

Data table
MethodEndpointDescription
GET/pricesAll provider prices
GET/prices/bestCheapest provider
GET/prices/historyHistorical snapshots
GET/prices/statsMarket statistics

Orders

Data table
MethodEndpointDescription
GET/orders/previewPreview order cost
POST/ordersCreate order
GET/ordersList orders
GET/orders/:idOrder details

Balance and Deposits

Data table
MethodEndpointDescription
GET/balanceAccount balance
GET/deposit/infoDeposit address
POST/deposit/preparePrepare deposit TX
POST/deposit/submitSubmit signed TX
POST/withdrawWithdraw funds

History

Data table
MethodEndpointDescription
GET/historyTransaction history
GET/history/summaryAggregated stats

API Keys

Data table
MethodEndpointDescription
POST/keysCreate API key
GET/keysList keys
DELETE/keys/:idRevoke key

Webhooks

Data table
MethodEndpointDescription
POST/webhooksRegister webhook
GET/webhooksList webhooks
DELETE/webhooks/:idDelete webhook

Estimation and Provisioning

Data table
MethodEndpointDescription
POST/estimateEstimate energy + bandwidth
POST/ensureEnsure resources on address
GET/prices/analysisMarket intelligence