cURL
curl --request GET \ --url https://api.tradewatch.io/currencies/convert/{from_}/{to} \ --header 'api-key: <api-key>'
{ "info": { "timestamp": 1704882030, "rate": 1.23456 }, "query": { "from": "<string>", "to": "<string>", "amount": 10, "precision": 5 }, "result": 123 }
Convert one symbol to another
Authentication via API key header
The symbol you want to convert from.
The symbol you want to convert to.
The amount to be converted.
x >= 0.01
The decimal precision of the result.
Successful Response
Show child attributes