汇率互转

支持的货币: 美元(USD)、人民币(CNY)、欧元(EUR)、日元(JPY)、英镑(GBP)、港币(HKD)、韩元(KRW)、澳元(AUD)、加元(CAD)汇率互转

GET 查询功能 api/uc.php

接口参数

参数名 类型 必需 描述
key string 登录后获取免费key
base string 基准货币
target string 目标货币
amount string 兑换金额

请求示例

https://xz.hrznx.com.cn/API/api/uc.php?key=密钥
或
https://xz.hrznx.com.cn/API/api/uc.php?base=USD&target=CNY&key=密钥
或
https://xz.hrznx.com.cn/API/api/uc.php?base=EUR&target=JPY&amount=100&key=密钥

返回示例

? 汇率查询结果
──────────────
基准货币:美元 (USD)
目标货币:人民币 (CNY)
汇率:1 USD = 7.17 CNY
金额:1 USD
兑换结果:7.17 CNY
更新时间:2025-08-24 06:59:06
数据来源:First Net工作室提供
──────────────
提示:https://xz.hrznx.com.cn/API/