The MajesticBank API allows you to automate the receipt of information about the exchange rates of currencies, created orders, presented on the Exchange service, create orders and manage them using it.
Prefix for API requests is /api/v1/
Both GET and POST requests are supported.
Get Rates /rates Getting a list of all currencies that are available on MajesticBank
Calculate order /calculate Information about a currency pair with a set amount of funds.
Track Order /track Get information and update order.
Create Order /exchange Creating exchange orders.
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/rates
Response
BTC-XMR -> number
XMR-BTC -> number
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/limits
Parameters
from_currency -> required - string - Example: BTC
Response
min -> number
max -> number
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/calculate
Parameters
from_amount or receive_amount -> required - number - one of those two - Example: 0.2
from_currency -> required - string - Example: BTC
receive_currency -> required - string - Example: XMR
Response
from_currency -> string
from_amount -> number
receive_currency -> string
receive_amount -> number
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/exchange
Parameters
from_amount -> required - number - Example: 0.2
from_currency -> required - string - Example: BTC
receive_currency -> required - string - Example: XMR
receive_address -> required - string - Example: Valid Bitcoin Address
referral_code -> required - string - Example: H7g9J2
Response
trx -> string
from_currency -> string
from_amount -> number
receive_currency -> string
receive_amount -> number
address -> string
expiration -> number (minutes) - 600
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/pay
Fixed rate for 10 minutes, usefull for payments
Parameters
from_amount or receive_amount -> required - number - one of those two - Example: 0.2
from_currency -> required - string - Example: BTC
receive_currency -> required - string - Example: XMR
receive_address -> required - string - Example: Valid Bitcoin Address
referral_code -> required - string - Example: H7g9J2
Response
trx -> string
from_currency -> string
from_amount -> number
receive_currency -> string
receive_amount -> number
address -> string
expiration -> number (minutes) - 10
GET or POST https://wwwewwwstage.majesticbank.sc/api/v1/track
Parameters
trx -> required - string - Example: RUQ727JVN851
Response
trx -> string
status -> string
from_currency -> string
from_amount -> number
receive_currency -> string
receive_amount -> number
address -> string
received -> number
confirmed -> number
curl -X POST -F 'trx=EFU4DYUUR26A' https://wwwewwwstage.majesticbank.sc/api/v1/track/
curl https://wwwewwwstage.majesticbank.sc/api/v1/track?trx=EFU4DYUUR26A