开发者 API

API 参考

汇率历史

Buy and sell over time for the Central Bank (default) or one bank. `1d` has a point for every change, `1w` one an hour, longer ranges one a day. Your plan sets how far back you can go.

GEThttps://api.geneh.app/v1/rates/{currency}/historyFree 套餐及以上

路径参数

字段类型说明
currency 必填stringThree-letter currency code in any case.

查询参数

字段类型说明
rangestringOne of 1d, 1w, 1m, 1y, all. Default 1m.
bankstringA bank id from /v1/banks, or cbe. Default cbe.

响应

字段类型说明
instrumentstring
sourcestring
rangestring
intervalstring
pointsobject[]
points[].atstring
points[].buynumber or null
points[].sellnumber or null

错误

400Something in the request is wrong. The message says what.
401missing_key, bad_key or wrong_environment.
403plan_required: this section or this much history needs a higher plan. key_restricted: the key is limited to other websites or addresses.
404We have nothing for this.

本周价格,直达你的邮箱

美元、黄金、白银和最佳储蓄收益,每周日早上送达。免费,随时可以退订。

我们会发送一个确认链接。无需注册账号。

所示汇率仅供参考,你在网点或结账时获得的汇率可能不同。买入、卖出或汇款前,请先与银行或服务商确认。Geneh 不出售外币或黄金,也不提供投资建议。

下载于 Google Play下载于 App Store
© 2026 Daleenda For IT Developments。保留所有权利。开发和运营方

我们使用 Cookie。 必要 Cookie 始终运行。选择 Geneh 还可以保存哪些内容。