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
Name | Type | Description |
---|---|---|
<rates> | XML object | List of currency pair objects |
<item> | XML object | An object containing information about the exchange rate, reserves, minimums and maximums for a pair of currencies. |
<from> | string | Currency code of the currency that will be sent for exchange |
<to> | string | Currency code of the currency that will be received as a result of the exchange |
<in> | float | Amount in the <from> currency that will be sent for exchange. Required for calculating the final exchange rate. |
<out> | float | Amount in the <to> currency that will be received as a result of the exchange. Required for calculating the final exchange rate. |
<amount> | float | Indicates the availability of reserves for the <to> currency. The parameter does not specify or allow for obtaining the maximum exchange amount. |
<max_amount> | float | The maximum amount of the <from> currency that the service can exchange |
<min_amount> | float | The minimum amount of the <from> currency that the service can exchange |
<tofee> | string | Additional fees (network fees) in the <to> currency, which are not included in the exchange rate (in the amount specified in <out>). |
<param> | string | this 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>