allRates
Returns all possible exchange rates
GET
/trades/allRates
Headers
Name
Value
Content-Type
application/json
Y_API_KEY
Public API Key
Body
Name
Type
Description
commission_crypto_to_rub
float
Additional commission in percent which is considered as your profit in sbp/sber exchange, courses will be issued with it taken into account, default value 0.5
commission_crypto_to_crypto
float
Additional commission in percent which is considered as your profit in exchange with swap, courses will be issued with it taken into account, default value 0.5
exch_type
string
Response
{
"currency": "SBERRUB",
"name": "Сбербанк",
"withdraw_networks": [
{
"network": "RUB",
"fee": 0,
"min_withdraw": 10000
}
],
"deposit_networks": [
],
"conversion_rates": {
"VERSE": 6795.68370166,
"AVAX": 0.04226868,
"TON": 0.15085545,
"SOL": 0.00687209,
"DASH": 0.03755782,
"USDT": 0.985,
"BCH": 0.00281469,
"XMR": 0.00607191,
"USDC": 0.98450725,
"ETH": 0.00037334,
"TRX": 6.40634766,
"BNB": 0.00170039,
"DOGE": 9.28053381,
"DAI": 0.98460541,
"BTC": 1.613e-05,
"LTC": 0.01545007,
"MATIC": 1.88292193
}
},
{
"currency": "SBPRUB",
"name": "СБП",
"withdraw_networks": [
{
"network": "RUB",
"fee": 0,
"min_withdraw": 10000
}
],
"deposit_networks": [
],
"conversion_rates": {
"VERSE": 6795.68370166,
"AVAX": 0.04226868,
"TON": 0.15085545,
"SOL": 0.00687209,
"DASH": 0.03755782,
"USDT": 0.985,
"BCH": 0.00281469,
"XMR": 0.00607191,
"USDC": 0.98450725,
"ETH": 0.00037334,
"TRX": 6.40634766,
"BNB": 0.00170039,
"DOGE": 9.28053381,
"DAI": 0.98460541,
"BTC": 1.613e-05,
"LTC": 0.01545007,
"MATIC": 1.88292193
}
},
{
"currency": "VERSE",
"name": "VERSE",
"withdraw_networks": [
{
"network": "ERC20",
"fee": 17434.62,
"min_withdraw": 30000
}
],
"deposit_networks": [
{
"network": "ERC20",
"fee": 0,
"min_deposit": 2500
}
],
"conversion_rates": {
"MATIC": 0.00027261,
"DAI": 0.00014277,
"TON": 2.187e-05,
"AVAX": 6.13e-06,
"BCH": 4e-07,
"BTC": 0,
"XMR": 8.8e-07,
"LTC": 2.24e-06,
"DASH": 5.45e-06,
"SBERRUB": 0.01,
"SBPRUB": 0.01,
"USDT": 0.00014269,
"USDC": 0.00014276,
"ETH": 5e-08,
"TRX": 0.00092771,
"BNB": 2.5e-07,
"DOGE": 0.00134441,
"SOL": 9.9e-07,
"VERSE": 0.985
}
},
{
"currency": "DAI",
"name": "DAI",
"withdraw_networks": [
{
"network": "BEP20",
"fee": 0.3,
"min_withdraw": 1
},
{
"network": "ERC20",
"fee": 3.06,
"min_withdraw": 10
},
{
"network": "POLYGON",
"fee": 0.5,
"min_withdraw": 1
}
],
"deposit_networks": [
{
"network": "ERC20",
"fee": 0,
"min_deposit": 1
},
{
"network": "POLYGON",
"fee": 0,
"min_deposit": 1
},
{
"network": "BEP20",
"fee": 0,
"min_deposit": 1
}
],
"conversion_rates": {
"VERSE": 6782.24100023,
"SOL": 0.00686702,
"TON": 0.15069568,
"LTC": 0.01544081,
"DASH": 0.03756398,
"AVAX": 0.0422252,
"SBERRUB": 90.71,
"SBPRUB": 90.53,
"USDT": 0.98342495,
"USDC": 0.9839169,
"TRX": 6.39418039,
"BNB": 0.00169848,
"BCH": 0.0028114,
"XMR": 0.00605632,
"MATIC": 1.8789166,
"DOGE": 9.26622957,
"DAI": 0.985,
"BTC": 1.612e-05,
"ETH": 0.0003731
}
},
{
"statusCode": 40X,
"message": "Some error message"
}
Example
const fetch = require('node-fetch');
let url = 'https://api.yellowchanger.com/trades/allRates';
let options = {
method: 'GET',
headers: {'Content-Type': 'application/json', Y_API_KEY: 'Your API Key'}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.yellowchanger.com/trades/allRates',
headers: {'Content-Type': 'application/json', Y_API_KEY: 'Your API Key'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
import requests
url = "https://api.yellowchanger.com/trades/allRates"
headers = {
"Content-Type": "application/json",
"Y_API_KEY": "Your API Key"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
curl --request GET \
--url https://api.yellowchanger.com/trades/allRates \
--header 'Content-Type: application/json' \
--header 'Y_API_KEY: qweqwe'
Last updated