Skip to main content

8. XML export file of rates

XML export file of rates

Getting an export file of exchange rates in XML format, containing information about all currency pairs, exchange rates, reserve availability, as well as minimum and maximum amounts for creating an exchange.

No parameters need to be passed for this request. It is also not required to include headers with a key and signature.

GET
/rates/fixed.xml

GET
/rates/float.xml
Response
NameTypeDescription
<rates>XML objectList of currency pair objects
<item>XML objectAn object containing information about the exchange rate, reserves, minimums and maximums for a pair of currencies.
<from>stringCurrency code of the currency that will be sent for exchange
<to>stringCurrency code of the currency that will be received as a result of the exchange
<in>floatAmount in the <from> currency that will be sent for exchange. Required for calculating the final exchange rate.
<out>floatAmount in the <to> currency that will be received as a result of the exchange. Required for calculating the final exchange rate.
<amount>floatIndicates the availability of reserves for the <to> currency. The parameter does not specify or allow for obtaining the maximum exchange amount.
<max_amount>floatThe maximum amount of the <from> currency that the service can exchange
<min_amount>floatThe minimum amount of the <from> currency that the service can exchange
<tofee>stringAdditional fees (network fees) in the <to> currency, which are not included in the exchange rate (in the amount specified in <out>).
<param>stringthis tag is used to specify additional icons

Example Response

<rates>
<item>
<from>ARB</from>
<to>ARB</to>
<in>10</in>
<out>9.867414027373401</out>
<amount>1.671339676691373e+06</amount>
<max_amount>1.671339676691373e+06</max_amount>
<min_amount>33.426793533827464</min_amount>
<tofee>6.6853587067654928</tofee>
<param>manual</param>
</item>
<item>
<from>ARB</from>
<to>AVAX</to>
<in>10</in>
<out>0.1481549392154881</out>
<amount>24758.946844008835</amount>
<max_amount>1.671339676691373e+06</max_amount>
<min_amount>33.426793533827464</min_amount>
<tofee>0.148553681064053</tofee>
<param>manual</param>
</item>
</rates>