汇率数据

查询实时货币汇率
¥0.001/次
API文档

公共参数

公共请求说明

说明描述
请求地址登录后可见
请求方式GETPOST

公共请求参数

参数类型是否必填描述
methodstring接口名称,当前接口名称:exchange
app_idstring草庐分配给你的应用ID
signtypestring加密方式,目前固定为:md5
signstring签名串,详见签名
versionstring接口版本号,当前接口版本:v1.0
biz_contentstring业务参数合计,json字符串

业务请求参数

参数类型是否必填描述
typestring

业务类型

list:获取货币列表

exchangerate:获取实时汇率

公共响应参数

参数类型是否必填描述
codestring网关返回码,success或fail
msgstring网关返回码描述
runtimestring系统执行时间,单位秒
dataobjectcode为success时有,接口业务数据

业务响应参数

参数类型是否必填描述
sub_codestring业务返回码,success或fail
sub_msgstring业务返回码描述
sub_dataobjectsub_code为success时显示
+namestring货币名称
+codestring货币代号
+ratestring当前兑100人民币的汇率
+lasttimestring最后更新时间