免费套餐 · 160+ 种货币 · REST API

AllRatesToday 面向开发者的实时汇率 API

实时中间市场汇率、来自 138 家中央银行和 66 个税务机关的官方汇率,以及 1223 家商业银行的汇率——通过一个 REST API 提供。零成本开始构建。

无需信用卡 · 免费套餐永不过期

基于机构级外汇市场数据 · 实测正常运行时间 99.9% · 官方 SDK + MCP 服务器 · 用户评价
您的应用
REST API
AllRatesToday
实时
全球金融市场

这些团队的开发者信赖之选

实时银行间中间市场汇率,160+ 种货币

真实汇率,每 60 秒刷新——向客户展示价格或产品定价时使用的汇率。

实时 API 响应
GET /api/v1/rates?source=USD&target=EUR
正在加载实时汇率…
中间市场汇率 获取 API 密钥 →

官方央行汇率

审计师或税务机关认可的官方公布数字——204 家央行和税务机关,按日期查询。

实时 API 响应
GET /api/v1/central-bank/ecb/latest?source=USD&target=EUR
正在加载公布汇率…
公布的参考汇率 全部来源 →

官方汇率 API:央行与税务机关

中间市场汇率适合展示——但税务申报、海关申报和经审计的发票需要官方汇率。两类数据来自同一个 API。

138
中央银行
66
税务机关
5,079
货币对
21.0M+
历史汇率

涵盖美联储、欧洲央行、英格兰银行、日本银行及另外 134 家中央银行的参考汇率,以及 英国 HMRC、美国财政部 和 瑞士海关(BAZG) 为增值税、海关和财务报告发布的合规汇率。主要来源的历史数据可追溯至 2000 年及更早——欧洲央行序列始于 1999 年,瑞士央行月度序列始于 1914 年——审计与重述不受近年数据的限制。

所有来源,一个密钥 205 在线
FED US Federal Reserve (H.10) exchange rates BOE Bank of England exchange rates PBOC People's Bank of China (CFETS) exchange rates RBA Reserve Bank of Australia exchange rates CBR Bank of Russia exchange rates TCMB Central Bank of Türkiye exchange rates BCB Banco Central do Brasil (PTAX) exchange rates BI Bank Indonesia exchange rates RBI Reserve Bank of India exchange rates BOC Bank of Canada exchange rates BNM Bank Negara Malaysia exchange rates CBSL Central Bank of Sri Lanka exchange rates CNB Czech National Bank exchange rates ECB European Central Bank exchange rates NBP Narodowy Bank Polski exchange rates NORGES Norges Bank exchange rates RIKSBANK Sveriges Riksbank exchange rates CBN Central Bank of Nigeria exchange rates CBK Central Bank of Kuwait exchange rates CBB Central Bank of Bahrain exchange rates CBAR Central Bank of Azerbaijan exchange rates CBBH Central Bank of Bosnia and Herzegovina exchange rates BNB Bulgarian National Bank exchange rates BCRP Central Reserve Bank of Peru exchange rates BOJ Bank of Japan exchange rates HKMA Hong Kong Monetary Authority exchange rates HKAB Hong Kong Association of Banks (HKAB) exchange rates BOI Bank of Israel exchange rates BCRA Central Bank of Argentina exchange rates SARB South African Reserve Bank exchange rates SNB Swiss National Bank exchange rates RBNZ Reserve Bank of New Zealand exchange rates BOK Bank of Korea exchange rates BNR National Bank of Romania exchange rates NBU National Bank of Ukraine exchange rates BANXICO Banco de México exchange rates BSP Bangko Sentral ng Pilipinas exchange rates BCRD Banco Central de la República Dominicana exchange rates BCP Banco Central del Paraguay exchange rates NBC National Bank of Cambodia exchange rates BOG Bank of Ghana exchange rates CBE Central Bank of Egypt exchange rates BOA Bank of Albania exchange rates BANGUAT Banco de Guatemala exchange rates BOM Bank of Mongolia exchange rates MAS Monetary Authority of Singapore exchange rates BDI Banca d'Italia exchange rates DNB Danmarks Nationalbank exchange rates SFC Superintendencia Financiera de Colombia (TRM) exchange rates NBK National Bank of Kazakhstan exchange rates NBG National Bank of Georgia exchange rates CBU Central Bank of Uzbekistan exchange rates MNB Magyar Nemzeti Bank exchange rates CBI Central Bank of Iceland exchange rates CBUAE Central Bank of the UAE exchange rates SBP State Bank of Pakistan exchange rates NRB Nepal Rastra Bank exchange rates CBJ Central Bank of Jordan exchange rates BB Bangladesh Bank exchange rates CBO Central Bank of Oman exchange rates PMA Palestine Monetary Authority exchange rates CBM Central Bank of Myanmar exchange rates CBC Central Bank of the Republic of China (Taiwan) exchange rates BOT Bank of Thailand exchange rates AMCM Monetary Authority of Macao exchange rates SBV State Bank of Vietnam exchange rates BOL Bank of the Lao PDR exchange rates BCV Central Bank of Venezuela exchange rates BCCH Central Bank of Chile exchange rates BCU Central Bank of Uruguay exchange rates BCBOL Banco Central de Bolivia exchange rates CBVS Central Bank of Suriname exchange rates BOGY Bank of Guyana exchange rates SAMA Saudi Central Bank (SAMA) exchange rates BAM Bank Al-Maghrib exchange rates NBS National Bank of Serbia exchange rates NBRB National Bank of the Republic of Belarus exchange rates QCB Qatar Central Bank exchange rates CBIQ Central Bank of Iraq exchange rates BDA Bank of Algeria exchange rates BCCR Banco Central de Costa Rica exchange rates BCEAO Central Bank of West African States (BCEAO) exchange rates NBE National Bank of Ethiopia exchange rates CBKE Central Bank of Kenya exchange rates NBM National Bank of Moldova exchange rates NBRM National Bank of North Macedonia exchange rates CBA Central Bank of Armenia exchange rates BEAC Bank of Central African States (BEAC) exchange rates BCT Central Bank of Tunisia exchange rates BNRW National Bank of Rwanda exchange rates BNA National Bank of Angola exchange rates BOTZ Bank of Tanzania exchange rates BOU Bank of Uganda exchange rates BOJM Bank of Jamaica exchange rates BCN Banco Central de Nicaragua exchange rates BCH Banco Central de Honduras exchange rates CBTT Central Bank of Trinidad and Tobago exchange rates BMU Bank of Mauritius exchange rates BDM Banco de Moçambique exchange rates BOB Bank of Botswana exchange rates BOZ Bank of Zambia exchange rates RBM Reserve Bank of Malawi exchange rates NBKR National Bank of the Kyrgyz Republic exchange rates LB Bank of Lithuania exchange rates BCC Banque Centrale du Congo exchange rates CBBD Central Bank of Barbados exchange rates CBL Central Bank of Libya exchange rates CBG Central Bank of The Gambia exchange rates BRH Banque de la République d'Haïti exchange rates RMA Royal Monetary Authority of Bhutan exchange rates NBT National Bank of Tajikistan exchange rates CBBZ Central Bank of Belize exchange rates RBF Reserve Bank of Fiji exchange rates MMA Maldives Monetary Authority exchange rates BCM Banque Centrale de Mauritanie exchange rates RBZ Reserve Bank of Zimbabwe exchange rates BON Bank of Namibia exchange rates BFM Central Bank of Madagascar (BFM) exchange rates CBT Central Bank of Turkmenistan exchange rates BCCU Banco Central de Cuba exchange rates BSL Bank of Sierra Leone exchange rates BCSTP Banco Central de São Tomé e Príncipe exchange rates IMF International Monetary Fund exchange rates CBSI Central Bank of Solomon Islands exchange rates CBSWS Central Bank of Samoa exchange rates NRBT National Reserve Bank of Tonga exchange rates RBV Reserve Bank of Vanuatu exchange rates ECCB Eastern Caribbean Central Bank exchange rates CBOB Central Bank of The Bahamas exchange rates BRB Banque de la République du Burundi exchange rates CBSC Central Bank of Seychelles exchange rates CBLR Central Bank of Liberia exchange rates BCVCV Banco de Cabo Verde exchange rates DAB Da Afghanistan Bank exchange rates BCRG Banque Centrale de la République de Guinée exchange rates BDL Banque du Liban exchange rates BIS Bank for International Settlements exchange rates CBIR Central Bank of Iran exchange rates SAFE State Administration of Foreign Exchange (SAFE) exchange rates HMRC HM Revenue & Customs exchange rates BAZG Swiss Federal Office for Customs and Border Security exchange rates USTREASURY U.S. Department of the Treasury exchange rates IRS Internal Revenue Service (yearly average rates) exchange rates SUNAT SUNAT (Peru tax and customs authority) exchange rates CBIC Central Board of Indirect Taxes and Customs (CBIC) exchange rates LKCUSTOMS Sri Lanka Customs exchange rates NBRBD Bangladesh National Board of Revenue (customs rates) exchange rates ESTVKURSLISTE Swiss Federal Tax Administration (ESTV Kursliste) exchange rates TOLLGENGI Iceland Revenue and Customs (Skatturinn) exchange rates JOCUSTOMS Jordan Customs Department exchange rates TOLLETATEN Norwegian Customs (Tolletaten) exchange rates TULLVERKET Swedish Customs (Tullverket) exchange rates THCUSTOMS Thai Customs Department exchange rates GDCE Cambodia General Department of Customs and Excise exchange rates URA Uganda Revenue Authority exchange rates KRA Kenya Revenue Authority (customs rates) exchange rates JPCUSTOMS Japan Customs exchange rates KCS Korea Customs Service exchange rates DOFEQUIV Mexico DOF tax equivalence table (Banxico) exchange rates ATPT Portugal Tax and Customs Authority (AT) exchange rates ADECAMBI Italy Revenue Agency (Agenzia delle Entrate) exchange rates GRACUSTOMS Guyana Revenue Authority (customs rates) exchange rates CUSTOMSMK North Macedonia Customs Administration exchange rates CUSTOMSBZ Belize Customs and Excise exchange rates CARINARS Serbia Customs Administration exchange rates DOUANESMG Madagascar Customs (Douanes) exchange rates MRAMU Mauritius Revenue Authority (Customs) exchange rates ICUMSGH Ghana Revenue Authority Customs (ICUMS) exchange rates SIICL SII (Chile tax authority) dólar observado exchange rates RECEITABR Receita Federal do Brasil (rates for tax) exchange rates SARSREX SARS customs rates of exchange exchange rates SARSAVG SARS average exchange rates (income tax) exchange rates KURSPAJAK Indonesia Ministry of Finance (Kurs Pajak) exchange rates HKIRD Hong Kong Inland Revenue Department (average rates) exchange rates BMFAT Austrian Ministry of Finance (BMF) exchange rates BMFUST German Federal Ministry of Finance (VAT rates) exchange rates ZOLLDE German Customs (Zoll) exchange rates DOUANEFR French Customs (DGDDI) exchange rates DOUANESLU Luxembourg Customs and Excise exchange rates TARBEL Belgian Customs (FPS Finance) exchange rates ABF Australian Border Force exchange rates NZCUSTOMS New Zealand Customs Service exchange rates NZIRD Inland Revenue (New Zealand) exchange rates DGII DGII (Dominican Republic tax authority) exchange rates DGADO DGA (Dominican Republic customs) exchange rates CYCUSTOMS Cyprus Department of Customs and Excise exchange rates ARCAMARIA ARCA Customs (Argentina) exchange rates BNADIVISA Banco de la Nación Argentina (divisa rate for tax) exchange rates BERMUDACUSTOMS Bermuda Customs exchange rates ADUANACL Servicio Nacional de Aduanas (Chile customs) exchange rates CELNISPRAVA Czech Customs Administration exchange rates GFRCZ Czech Tax Administration (yearly uniform rate) exchange rates KASPL Poland Ministry of Finance customs rates exchange rates CBSA Canada Border Services Agency exchange rates CBP U.S. Customs and Border Protection exchange rates EUCUSTOMS EU customs exchange rates (euro area, UCC Art. 146) exchange rates HUCUSTOMS Hungary customs exchange rates (UCC Art. 146) exchange rates ROCUSTOMS Romania customs exchange rates (UCC Art. 146) exchange rates DKCUSTOMS Denmark customs exchange rates (UCC Art. 146) exchange rates BRCUSTOMS Brazil customs exchange rate (Siscomex, PTAX) exchange rates GACC General Administration of Customs of China (GACC) exchange rates DNIT DNIT (Paraguay tax and customs authority) exchange rates REVENUEIE Revenue Commissioners (Ireland customs rates) exchange rates DOUANENL Douane (Netherlands Customs) exchange rates INFOREURO European Commission (InforEuro) exchange rates

同一密钥、同一套 SDK——每家银行还提供独立的 npm 包。

商业银行汇率 API

客户实际拿到的汇率是银行自己的牌价,而不是市场中间价。我们每小时读取 1223 家商业银行在其官网公布的汇率,并在每一行旁边附上该国央行的官方汇率。

1223
商业银行
124
国家和地区
2,300+
货币对

涵盖汇丰、星展、印度国家银行、工商银行、三菱日联、道明、美国银行等及另外 1216 家银行的牌价,统一为同一种 JSON 结构:每种货币的买入价和卖出价、银行自己的时间戳,以及用于对比的央行官方汇率。可用来向客户展示真实的银行报价、核对汇款加价,或记录银行实际使用的汇率。每个国家只需一次调用:GET /api/v1/bank-rates/{country}。

每小时读取 1223 家银行
HSBC HSBC Hong Kong exchange rates DBS DBS Bank exchange rates OCBC OCBC exchange rates UOB United Overseas Bank exchange rates SBI State Bank of India exchange rates HDFC HDFC Bank exchange rates ICICI ICICI Bank exchange rates ICBC Industrial and Commercial Bank of China exchange rates CCB China Construction Bank exchange rates BOCOM Bank of Communications exchange rates MUFG MUFG Bank exchange rates SMBC Sumitomo Mitsui Banking Corporation exchange rates TD TD Canada Trust exchange rates RBC RBC Royal Bank exchange rates BofA Bank of America exchange rates CommBank Commonwealth Bank of Australia exchange rates Westpac Westpac exchange rates ANZ ANZ exchange rates BNZ Bank of New Zealand exchange rates ENBD Emirates NBD exchange rates FAB First Abu Dhabi Bank exchange rates Maybank Maybank exchange rates KB Kookmin KB Kookmin Bank exchange rates BCA Bank Central Asia exchange rates NatWest NatWest exchange rates Danske Bank Danske Bank exchange rates Nordea Nordea exchange rates ZKB Zürcher Kantonalbank exchange rates ABN AMRO ABN AMRO exchange rates Commerzbank Commerzbank exchange rates CaixaBank CaixaBank exchange rates UniCredit UniCredit Italy exchange rates Akbank Akbank exchange rates Absa Absa Bank exchange rates Standard Bank Standard Bank exchange rates KCB KCB Bank Kenya exchange rates Axis Axis Bank exchange rates Kotak Kotak Mahindra Bank exchange rates PNB Punjab National Bank exchange rates BoB Bank of Baroda exchange rates Canara Canara Bank exchange rates Vietcombank Vietcombank exchange rates BIDV BIDV exchange rates VietinBank VietinBank exchange rates Techcombank Techcombank exchange rates BOCHK Bank of China (Hong Kong) exchange rates Hang Seng Hang Seng Bank exchange rates BEA The Bank of East Asia exchange rates CMB China Merchants Bank exchange rates Hana Hana Bank exchange rates Woori Woori Bank exchange rates E.SUN E.SUN Bank exchange rates Cathay United Cathay United Bank exchange rates Taipei Fubon Taipei Fubon Bank exchange rates Mega Bank Mega International Commercial Bank exchange rates Public Bank Public Bank exchange rates CIMB CIMB Bank exchange rates RHB RHB Bank exchange rates Bangkok Bank Bangkok Bank exchange rates Metrobank Metrobank exchange rates Scotiabank Scotiabank exchange rates BMO BMO Bank of Montreal exchange rates National Bank National Bank of Canada exchange rates BBVA BBVA México exchange rates Deutsche Bank Deutsche Bank exchange rates DZ BANK DZ BANK (Volksbanken Raiffeisenbanken) exchange rates Santander ES Banco Santander (Spain) exchange rates SEB SEB exchange rates Swedbank Swedbank exchange rates DNB DNB exchange rates Erste Bank Erste Bank exchange rates RBI Raiffeisen Bank International exchange rates Bank Austria UniCredit Bank Austria exchange rates OTP OTP Bank exchange rates PKO BP PKO Bank Polski exchange rates Pekao Bank Pekao exchange rates mBank mBank exchange rates BNP Paribas BNP Paribas Bank Polska exchange rates Crédit Agricole Crédit Agricole Bank Polska exchange rates PostFinance PostFinance exchange rates Bank of Ireland Bank of Ireland exchange rates AIB AIB (Allied Irish Banks) exchange rates NBG National Bank of Greece exchange rates Eurobank Eurobank exchange rates Piraeus Piraeus Bank exchange rates Alpha Bank Alpha Bank exchange rates Ziraat Ziraat Bankası exchange rates Halkbank Halkbank exchange rates Yapı Kredi Yapı Kredi exchange rates CBQ Commercial Bank of Qatar exchange rates CBK Commercial Bank of Kuwait exchange rates KFH Kuwait Finance House exchange rates Banque Misr Banque Misr exchange rates Nedbank Nedbank exchange rates ComBank Commercial Bank of Ceylon exchange rates Halyk Halyk Bank exchange rates BoG Bank of Georgia exchange rates Ameriabank Ameriabank exchange rates Hapoalim Bank Hapoalim exchange rates Leumi Bank Leumi exchange rates PrivatBank PrivatBank exchange rates VTB VTB exchange rates BPI Banco BPI exchange rates Itaú Itaú Uruguay exchange rates BBVA BBVA Argentina exchange rates CBE Commercial Bank of Ethiopia exchange rates MCB MCB (Mauritius Commercial Bank) exchange rates ASB ASB Bank exchange rates +1115

每家银行都有自己的页面,展示当日牌价和历史记录。按国家浏览银行。

面向 ERP 和财务系统的官方汇率

把 138 家央行和 66 家税务与海关机构的官方汇率直接导入财务团队正在使用的系统:ERP、会计软件、BI 报表和电子表格。

  • 每日定时导入,不再从银行网站手工复制汇率。
  • 可供审计:每个汇率都带有发布机构自己的发布日期和来源。
  • 按需查询历史日期,用于发票、重估和月末结账,支持 JSON、CSV、XML 或 Excel。

任何能导入文件或调用 REST API 的系统都可以同样接入。联系我们讨论您的系统。

基于 AllRatesToday 构建

一次调用——从您的应用或 AI 代理

为眼前的访客本地化每个价格,同时让 MCP 客户端用自然语言回答同样的问题。两者都是实时的——选择一种货币,数字和代理的回复会一起更新。

Acme · Billing
显示货币
账单 / 套餐 选择套餐
入门版 —/月 $19 USD
规模版 —/月 $199 USD

按实时中间市场汇率换算。

示例——任何 MCP 客户端 Claude、Cursor 或您自己的代理

规模版用 EUR 是多少?

get_exchange_rate

这周波动大吗?

get_historical_rates7d

同样的汇率也可通过 Model Context Protocol 获取——Claude、Cursor 及任何 MCP 客户端都能换算、查询历史并对账,无需胶水代码。四个工具,一个 API 密钥——配置指南。

产品对比

看看 AllRatesToday 与其他汇率 API 的对比。

功能 AllRatesToday Fixer.io XE.com
实时更新 每 60 秒 每 60 分钟 每 60 秒
平均延迟 <50ms ~342ms ~471ms
HTTPS ✓ ✗ (免费版) ✓
货币数量 160+ 170+ 170+
基准货币 任意 仅 EUR 任意
免费套餐 ✓ 受限 ✓
历史汇率 4.99 欧元/月起 仅付费 仅付费
输出格式 JSON, CSV, XML, XLSX 仅 JSON 仅 JSON
CORS 支持 ✓ ✗ ✗
正常运行时间 SLA 99.9% 99.9% 99.95%
免费计划 永久免费 免费 仅试用

专为开发者打造

将货币数据集成到您的应用所需的一切。

⚡

实时汇率

实时更新的中间市场汇率。每 60 秒刷新一次,而部分提供商有 60 分钟延迟。

📈

历史数据

灵活的日期范围与时间分组,访问历史汇率数据。

📄

JSON、CSV、XML 和 Excel

每个数据接口都可通过一个格式参数返回 JSON、CSV、XML 或 Excel(XLSX)——把汇率直接导入电子表格、BI 工具和遗留系统,无需编写转换代码。

🏛

央行汇率

来自 138 家中央银行和 66 个税务机关的官方公布汇率——美联储、欧洲央行、英格兰银行、中国人民银行、印度储备银行、俄罗斯央行、巴西、尼日利亚、科威特、秘鲁,以及英国 HMRC 和美国财政部——税务、审计和合规开票所需的汇率。204 个来源,21.0M+ 条历史汇率。

🌐

160+ 种货币

所有主要及热门新兴市场货币:USD、EUR、GBP、JPY、INR 等。

🔒

简单认证

Bearer 令牌认证。几秒钟即可获取 API 密钥并开始请求。

🚀

低延迟

基于 Cloudflare 边缘网络,全球快速响应。

📦

官方 SDK

通过 npm、pip、Composer、Cargo 或 go get 安装。JavaScript、Python、PHP、Rust 和 Go 官方库,完整支持 TypeScript——另有 MCP 服务器,以及为每家央行提供的专用包。

API 接口

您需要的所有接口——零多余复杂度。

GET /api/v1/rates 使用 API 密钥进行货币换算
GET /api/v1/rates 认证后享有更高限额的汇率接口
GET /api/rate 简单的货币对汇率查询
GET /api/historical-rates 灵活时间段的历史汇率数据
查看完整文档 →

全球开发者信赖之选

190+
开源软件包
99.9%
实测正常运行时间
<50ms
平均响应时间
160+
支持货币数
所有系统运行正常 开源 HTTPS + Bearer 认证 160+ 种货币

常见问题

关于集成 AllRatesToday API 的常见问题。

不需要。免费套餐只需邮箱地址(或 Google/GitHub 登录)。无信用卡、无试用期限。需要更高限额时再升级。
我们的汇率是基于机构级外汇市场数据聚合的中间市场汇率,不含零售加价。 每个官方来源及其发布页面见数据来源页面。
汇率每 60 秒更新一次。多数免费竞品每天只从欧洲央行更新一次。延伸阅读:汇率多久更新一次?
有。免费计划足够评估和原型开发。历史汇率和商业用途需要付费计划。付费计划 4.99 欧元/月起,含 5,000 次请求。对比其他方案请见十大免费货币汇率 API 排名。
有。我们提供 JavaScript/TypeScript(npm)、Python(PyPI)、PHP(Packagist)、Rust(crates.io)官方 SDK 和 React 组件库,另有每家央行数据的独立 npm 包。所有 SDK 均在 GitHub 开源。
商业用途需要付费计划(Small 及以上)。免费计划仅限个人和非商业用途。详见定价页面。

热门指南

来自博客的精选对比与教程。

立即开始开发

获取免费 API 密钥,几分钟内集成实时汇率。

无需信用卡 · 实测正常运行时间 99.9% · 价格终身锁定