文档汇率查询 API

汇率查询 API

实时货币汇率查询

概述

GET /v1/finance/exchange-rate 查询实时货币汇率。

请求参数

参数类型必填默认值说明
fromstringUSD源货币代码(如 USD、EUR、JPY)
tostringCNY目标货币代码(如 CNY、USD)

请求示例

美元兑人民币

curl -H "X-API-Key: sk_gapi_xxxxx" \
  "https://api.groundapi.net/v1/finance/exchange-rate?from=USD&to=CNY"

欧元兑日元

curl -H "X-API-Key: sk_gapi_xxxxx" \
  "https://api.groundapi.net/v1/finance/exchange-rate?from=EUR&to=JPY"

计费

$0.01/次。每月前 500 次免费。

6 天前更新
这个页面对你有帮助吗?