Frankfurter公共REST参考汇率免API key;混合数据免费,单provider仍受其条款;未调用。支持date=YYYY-MM-DD历史日期参数,未请求。
调用方式 / profile:frankfurter-rest-documentation · 组件版本:documentation-sha256:bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d · 引用此版本与调用方式
已记录条件
- invocation_mode = api:支持。Supported within this profile and component version. 依据:frankfurter-rest-documentation-e1, frankfurter-rest-documentation-history-date
- auth_required = false:支持。Supported within this profile and component version. 依据:frankfurter-rest-documentation-e1
- output_format = json:支持。Supported within this profile and component version. 依据:frankfurter-rest-documentation-e2
入口与前提
- 协议
- HTTPS GET
- 认证
- 本页明确公共API无需API key;自托管配置不并入本profile
- 价格是否查明
- known
- 配额是否查明
- known
https://api.frankfurter.dev/v2/rate/eur/usd
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 官方称混合汇率免费商用,provider直接查询需遵其条款;本机实际成本未知。
- 没有日/月quota但有防滥用rate limit,阈值未公布;这不是不限速保证。
- 参考数据不适合即时交易;不同provider更新频率/舍入、缺失及修订需保留。
配方 frankfurter-rest-documentation-recipe · 修订 3
所需调用能力:
- lookup_reference_exchange_rate
运行前提:
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 官方称混合汇率免费商用,provider直接查询需遵其条款;本机实际成本未知。
- 没有日/月quota但有防滥用rate limit,阈值未公布;这不是不限速保证。
- 参考数据不适合即时交易;不同provider更新频率/舍入、缺失及修订需保留。
使用步骤:
- 准备已获授权的最小输入,核对本profile的适用范围、认证与费用;不填私人信息或凭据到公开示例。
- 文档候选GET https://api.frankfurter.dev/v2/rate/{base}/{quote}?date=YYYY-MM-DD;替换币对与日期变量,本站未发送请求、未取得任何日期的数值。
- 未来获准调用后核对HTTP/MCP状态、返回结构与请求条件,保留缺项/限流/权限错误;本次没有执行此步骤。
- 输入约定
- 三位币种base/quote;可选date=YYYY-MM-DD。配方选择单币对历史参考汇率,不读取整段历史,不保证请求日一定有数据。
- 输出约定
- 文档JSON中的参考rate;金额换算在调用方计算,REST没有conversion endpoint。
- 成功检查
- 待执行:HTTP/JSON、币种、日期、有限数值和provider适用性;422/404不当作汇率0。
- 失败与回退
- 条件不满足、认证/限流/结构错误即停止该调用并保留unknown;不切换付费服务、不猜工具名、不执行写操作。
适用证据
frankfurter-rest-documentation-e1 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/api-expansion-20261024-01/sources/frankfurter-rest-documentation.txt:L5-L6
- 来源版本
- documentation-sha256:bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 内容摘要
- bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 采集时间
- 2026-10-24T04:03:34.7714737+00:00
Frankfurter is a free exchange rates API for 223 currencies from 105 central banks and official sources. Rates update daily and go back to 1948. The public API lives at api.frankfurter.dev. You don't need an API key. The project is open source, so you can also self-host for full control.
覆盖条件:invocation_mode=api; auth_required=false
frankfurter-rest-documentation-e2 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/api-expansion-20261024-01/sources/frankfurter-rest-documentation.txt:L94-L99
- 来源版本
- documentation-sha256:bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 内容摘要
- bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 采集时间
- 2026-10-24T04:03:34.7714737+00:00
.then((d) => (amount * d.rate).toFixed(2)); } convert("eur", "usd", 10).then((result) => alert(`10 EUR = ${result} USD`) ); Errors
覆盖条件:output_format=json
frankfurter-rest-documentation-history-date · 来源文档声明
- 原文定位
- .local/deep-cards-v1/api-expansion-20261024-01/sources/frankfurter-rest-documentation.txt:L17-L19,L55-L59
- 来源版本
- documentation-sha256:bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 内容摘要
- bae6334a7f7854ebb0cc3dbf1c84d54d51a750cf53bb81d357b11ec47660ac6d
- 采集时间
- 2026-10-24T04:03:34.7714737+00:00
Historical Rates Look up rates for a specific date. curl https://api.frankfurter.dev/v2/rates?date=1999-01-04 [...] Rate Get the rate for a single currency pair. Optionally add date or providers . curl https://api.frankfurter.dev/v2/rate/eur/usd
覆盖条件:invocation_mode=api
结构化配方尚未提供或不适用于本版本;旧用法文字保留,连接与执行结果未知。