The following methods are used to enhance the capabilities of your service using Cryptomonitor’s exchange features.
Algorithm
Cryptomonitor uses a dynamic rate system based on liquidity provider market depth analysis. The markup parameter allows you to adjust the final exchange rate.
The markup parameter influences the rate pre-calculation as follows:
Afinal = Acalculated × (1 − Kmarkup / 100)
| Afinal | Final amount to receive (predicted) |
| Acalculated | Initial amount calculated by the system |
| Kmarkup | Your markup value (in percent) |
API v1 — Public Rate Endpoint
The rates data can be obtained through a public API v1 call (no authorization required).
Endpoint: https://cryptomonitor.info/api/v1/rates/public/one
| Parameter | Description | Example |
|---|---|---|
| instrumentFromCurrencyTitle | Currency to send | BTC |
| instrumentFromNetworkTitle | Network of the sent currency | BTC |
| instrumentToCurrencyTitle | Currency to receive | USDT |
| instrumentToNetworkTitle | Network of the received currency | TRC20 |
| rateMode | FLOATING or FIXED | FLOATING |
| claimedDepositAmount | Amount the user intends to send | 1 |
| markup | Your markup percentage | 0.3 |
Example Request
GET https://cryptomonitor.info/api/v1/rates/public/one?instrumentFromCurrencyTitle=BTC&instrumentFromNetworkTitle=BTC&instrumentToCurrencyTitle=USDT&instrumentToNetworkTitle=TRC20&rateMode=FLOATING&claimedDepositAmount=1&markup=0.3
Markup Parameter in Order Creation
To apply your commission correctly, pass the markup parameter when creating an order.
{
"rateMode": "FLOATING",
"instrumentFrom": {
"currencyTitle": "USDT",
"networkTitle": "TRC20"
},
"instrumentTo": {
"currencyTitle": "BTC",
"networkTitle": "BTC"
},
"destinationAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"claimedDepositAmount": "125000",
"markup": "0.2"
}
API v2 — Advanced Secure Integration
API v2 requires authorization using API keys and HMAC SHA256 signing. It is designed for professional and high-volume integrations.
Creating an API Key
POST https://cryptomonitor.info/api/v1/users/generate-api-key
Note: The secretKey is shown only once. Save it immediately.
Using API v2
Every request must include the following headers:
x-api-public-keyx-api-timestamp(UNIX timestamp)x-api-signature(HMAC SHA256)
Our technical team is ready to help you with the full integration.