freeapis

Exchangeratesapi.io

汇率与货币换算

认证方式
API Key
HTTPS
Yes
CORS
Yes
分类
汇率
数据来源
public-apis

简介

Exchangeratesapi.io 提供汇率(ECB 数据源)、转换和时间序列。认证是 API 密钥(无效密钥返回 401,已实测)。

快速开始

最新汇率(替换 YOUR_KEY):

curl "https://api.exchangeratesapi.io/v1/latest?access_key=YOUR_KEY"
{
  "success": true,
  "timestamp": 1787448092,
  "base": "EUR",
  "date": "2026-08-22",
  "rates": { "USD": 1.084, "GBP": 0.854, "JPY": 162.5 }
}

转换:

curl "https://api.exchangeratesapi.io/v1/convert?access_key=YOUR_KEY&from=USD&to=EUR&amount=100"

认证方式

  • 在 exchangeratesapi.io 注册 → 免费 API 密钥。
  • 通过 access_key 查询参数携带(无效 → 401,已实测)。

速率限制与注意事项

  • 免费层:100 次/月(以文档为准);付费档可扩展。
  • 免费层:基准货币仅 EUR;付费解锁自定义基准。
  • 端点:/v1/latest、/v1/convert、/v1/timeseries、/v1/{日期}。

常见问题

Exchangeratesapi.io 免费吗? 免费层:100 次/月;更多需要付费。

基准货币是什么? 免费层是 EUR。

认证风格是什么? access_key 查询参数(已实测)。

汇率 分类更多

APIAuthHTTPSCORS
1Forge

Forex currency market data

API KeyYesUnknown↗
AllRatesToday

Real-time exchange rates for 160+ currencies with historical data

API KeyYesUnknown↗
Amdoren

Free currency API with over 150 currencies

API KeyYesUnknown↗
ApogeoAPI

Live exchange rates for 161 currencies bundled with country reference data and IP geolocation

API KeyYesUnknown↗
Bank of Russia

Exchange rates and currency conversion

No authYesUnknown↗