As part of optimization Mercuryo is switching to api version 1.6. After the update the methods configured for the api 1.5 version will continue supported.
You need to change the version number from 1.5 to 1.6 to update:
https://api.mercuryo.io/v1.5 -> https://api.mercuryo.io/v1.6/
Most of the responses remain unchanged.
The main change is that response now contains information about commission
fee
– commissionsubtotal
– amount without commissiontotal
– total amount with commissionrate
– exchange rate of selected crypto to selected fiat
Request:
Request example:
Example:
Request:
Request example:
Example:
Request:
Request example:
Added fields in response body
fee_currency
– type of selected fiat
Example:
Request:
https://api.mercuryo.io/v1.6/widget/rates
Removed fields:
amount
rate
All fiat rates united in one object
Example (only for BTC):