Currency Exchange API
This API provides an automation capability to our Forex Reference Suite service. It provides an easy way to retrieve accurate and up to date currency exchange rates data. T
First 5 requests free
API Docs (1 results)
Error Code
Pricing
Currency Exchange Rate
Currency Exchange Rate
https://global.juheapi.com/exchange-rate/v1/query
json
GET
https://global.juheapi.com/exchange-rate/v1/query?apikey=xxxx&from=USD&to=CNY
Get the currency exchange rate data

JUHEAPI Explorer - API testing tools

JUHEAPI Explorer allows you to call an API through its web interface , and view the entire process

Test
Request Parameter
NameMandatoryTypeDescription
apikey yes string the API KEY
from yes string from currency code
to yes string to currency code
Request Example
CURL
curl -i -k "http://global.juheapi.com/exchange-rate/v1/query?apikey=xxxx&from=USD&to=CNY"
Return Parameter
NameTypeDescription
code string the error code
msg string the response description
data array the data
currencyF string from currency code
currencyT string to currency code
exchange number current exchange rate
Return Example
JSON
{ "code": "0", "msg": "success", "data": [ { "currencyF": "CNY", "currencyF_Name": "人民币", "currencyT": "USD", "currencyT_Name": "美元", "currencyFD": "1", "exchange": "0.1433", "result": "0.1433", "updateTime": "2020-02-13 17:39:56" }, { "currencyF": "USD", "currencyF_Name": "美元", "currencyT": "CNY", "currencyT_Name": "人民币", "currencyFD": "1", "exchange": "6.9804", "result": "6.9804", "updateTime": "2020-02-13 17:39:56" } ] }