接口地址:https://api.jisuapi.com/exchange/convert
返回格式:JSON
请求方式:GET POST
请求示例:https://api.jisuapi.com/exchange/convert?appkey=yourappkey&from=CNY&to=USD&amount=10
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
from | string | 是 | 要换算的单位 (默认:CNY、USD) |
to | string | 是 | 换算后的单位 |
amount | string | 是 | 数量(默认:1) |
参数名称 | 类型 | 说明 |
---|---|---|
from | string | 要换算的货币 |
to | string | 换算后的货币 |
fromname | string | 要换算的货币名称 |
toname | string | 换算后的货币名称 |
updatetime | string | 更新时间 |
rate | string | 汇率 |
camount | string | 计算金额 |
接口地址:https://api.jisuapi.com/exchange/single
返回格式:JSON
请求方式:GET POST
请求示例:https://api.jisuapi.com/exchange/single?currency=CNY&appkey=yourappkey
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
currency | string | 是 | 货币 |
参数名称 | 类型 | 说明 |
---|---|---|
currency | string | 货币 |
name | string | 名称 |
rate | string | 汇率 |
updatetime | string | 更新时间 |
接口地址:https://api.jisuapi.com/exchange/currency
返回格式:JSON
请求方式:GET
请求示例:https://api.jisuapi.com/exchange/currency?appkey=yourappkey
参数名称 | 类型 | 必填 | 说明 |
---|
参数名称 | 类型 | 说明 |
---|---|---|
currency | string | 货币 |
name | string | 名称 |
接口地址:https://api.jisuapi.com/exchange/bank
返回格式:JSON
请求方式:GET POST
请求示例:https://api.jisuapi.com/exchange/bank?appkey=yourappkey&bank=BOC
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
bank | string | 否 | 银行编码,工商银行:ICBC ,中国银行:BOC ,农业银行:ABCHINA ,交通银行:BANKCOMM ,建设银行:CCB ,招商银行:CMBCHINA ,光大银行:CEBBANK ,浦发银行:SPDB ,兴业银行:CIB ,中信银行:ECITIC,默认BOC |
参数名称 | 类型 | 说明 |
---|---|---|
bank | string | 银行编码 |
code | string | 货币代码 |
name | string | 货币名称 |
midprice | string | 中间价 |
cashbuyprice | string | 钞买价 |
forexbuyprice | string | 汇买价 |
cashsellprice | string | 钞卖价 |
forexsellprice | string | 汇卖价 |
updatetime | string | 最后更新时间 |