frankfurter
2,093
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Ruby
语言
创建时间
最近更新
项目能做什么
开源的货币汇率数据 API。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Frankfurter
[Frankfurter](https://frankfurter.dev) is a free, open-source exchange rate API for [over 200 currencies](https://frankfurter.dev/currencies/) from [over 100 central banks and official sources](https://frankfurter.dev/providers/). Rates update daily and go back to 1948.
## History coverage
`GET /v2/coverage` describes the default EUR-based daily blended feed. Pass the same `base`, `quotes`, and `providers`
filters as a rates query to get its coverage, for example `/v2/coverage?base=USD"es=ZAR&providers=BIS`.
Non-daily provider history remains available through explicit provider queries and does not enter the daily blend.
The existing `/v2/currencies?scope=all` catalogue covers eligible daily sources plus pegged currencies, while
`/v2/currencies?providers=BIS` describes that provider's recognized currencies. Those currency dates, and the dates
in `/v2/providers`, describe publication coverage. They do not establish that a requested base and quote can be
converted at the same time. Taking their minimum can advertise history that the default rates query cannot return.
For a website headline describing the default API, use **`start_date` from `/v2/coverage`**:
```javascript
const coverage = await fetch("https://api.frankfurter.dev/v2/coverage").then(r => r.json());
const headlineYear = coverage.start_date?.slice(0, 4); // Hide the history claim when null.
```
Use matching filters for pair or provider pages. Both bounds are eligible observation dates at which the selected
rates query returns at least one record; they can contain gaps. A carried quote's returned date may precede the
first date its base bridge exists. The bounds do not extend history into future days merely because carry-forward
can answer them. Multiple quotes use the rates endpoint's semantics: any matching pair suffices. No queryable pair
returns null bounds. Coverage accepts only `base`, `quotes`, and `providers`.
## Deployment
The public API runs at <https://api.frankfurter.dev>. If you prefer to host your own instance, you can run Frankfurter with Docker.
### Using Docker
The quickest way to get started:
```bash
docker run -d --init -p 8080:8080 lineofflight/frankfurter
```
For production, mount a volume to persist the SQLite database across container restarts and set any optional API keys:
```bash
docker run -d --init -p 8080:8080 \
-e DATABASE_URL=sqlite:///app/data/frankfurter.sqlite3 \
-e BAM_API_KEY=your_key \
-e BANXICO_API_KEY=your_key \
-e BCCH_USER=your_email \
-e BCCH_PASS=your_password \
-e BOT_API_KEY=your_key \
-e FRED_API_KEY=your_key \
-e TCMB_API_KEY=your_key \
-v ./data:/app/data \
--pull always \
lineofflight/frankfurter
```
Without a mounted volume, the database is ephemeral and some endpoints may return empty data until their initial backfill completes.
Some data providers require API keys. All are free and optional:
- `BAM_API_KEY` — Bank Al-Maghrib (Morocco). Register at [apihelpdesk.centralbankofmorocc
阅读完整原文
商业机会分析 规则生成(AI 未配置)
综合评分 45.5 分。该项目在“个人可实施性”维度得 45 分,“付费可能性”维度得 32.0 分,差异化空间 70.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 frankfurter 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| tobimori/paywallr | 中文介绍暂未生成 🔓 Web extension for reading articles locked behind paywalls |
73 | - |
| otherguy/php-currency-api | 中文介绍暂未生成 Standardized wrapper for popular currency rate APIs. Current |
24 | PHP |
| datasifaw/dataiku-fx-api-analytics-ml | 中文介绍暂未生成 Projet Dataiku end-to-end : ingestion de taux de change via |
23 | - |
| yamamuteki/scx | 中文介绍暂未生成 CLI that converts USD amounts in stdin to your local currenc |
17 | JavaScript |
| zacktam12/currency-converter | 中文介绍暂未生成 💱 – A simple, responsive React app for real-time currency co |
11 | JavaScript |
| asilbek2706/Currency-converter | 中文介绍暂未生成 A modern currency converter app using Frankfurter API. Built |
10 | HTML |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 19 个 Release |
| 社区活跃 | Star 2,093 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/lineofflight/frankfurter.git cd frankfurter # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。