Convert
GET/api/v1/rates/convert
Converts an amount between any two supported assets using the current aggregated rate — crypto→fiat, fiat→fiat, or crypto→crypto in one call. Cross pairs are routed through an intermediate asset automatically (reported in meta.via).
Query parameters
| Param | Description | |
|---|---|---|
| from | required | Source asset, e.g. BTC |
| to | required | Target asset, e.g. UAH |
| amount | optional | Amount in source asset, e.g. 0.05. Default: 1 |
Example
$ curl "https://pricefeed.online/api/v1/rates/convert?from=BTC&to=UAH&amount=0.05"
Response · 200 OK
{ "success": true, "from": "BTC", "to": "UAH", "amount": 0.05, "rate": 4329815.40, "result": 216490.77, "meta": { "stale": false, "via": null, "updated_at": "2026-06-12T10:15:42+00:00" } }