Convert Currency Value
Last updated
Last updated
Please note that rates provided through this endpoint are indicative, using mid-market rates.
GET
https://api.sandbox.coindirect.com/api/currency/convert/:fromCode/:toCode?amount=:amount
This endpoint allows you to get the current exchange rate for a specific currency pair e.g. ETH/JPY.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
fromCode*
string
From currency e.g. ETH
toCode*
string
To currency e.g. JPY
amount*
number
fromCode
currency amount e.g. 1
Parameter
Type
Description
value
number
The current exchange rate. Please note that rates provided via this endpoint are indicative, using mid-market rates.