Skip to content
@Exchange-RateAPI

Exchange Rate API

Real-time exchange rate API for developers. 160+ currencies, updated every 60s from Reuters. Official SDKs for JavaScript, Python, PHP, and React.

Important

Exchange Rate API has joined AllRatesToday. Existing API keys and endpoints (exchange-rateapi.com/api/*) keep working unchanged. New signups, docs, and guides now live at allratestoday.com — which now also serves official central-bank rates from 24 central banks (ECB, US Federal Reserve, Bank of England, People's Bank of China, Reserve Bank of India, Central Bank of Sri Lanka, and more) for tax, audit, and compliance work: coverage map & docs.

Free Exchange Rate API for 160+ Currencies

Powered by Exchange-RateAPI

API Status License

Exchange Rate API provides accurate, real-time and historical currency exchange rate data through a simple REST API. Mid-market rates from institutional interbank market data, fetched live — no markup, no spread.

Quick Start

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR,GBP,JPY"
[
  { "source": "USD", "target": "EUR", "rate": 0.9234, "time": "2026-05-25T12:00:00Z" },
  { "source": "USD", "target": "GBP", "rate": 0.7891, "time": "2026-05-25T12:00:00Z" },
  { "source": "USD", "target": "JPY", "rate": 149.52, "time": "2026-05-25T12:00:00Z" }
]

Official SDKs

Language Package Install
JavaScript/TypeScript @exchangerateapi/sdk npm i @exchangerateapi/sdk
Python exchangerateapi pip install exchangerateapi
PHP exchangerateapi/sdk composer require exchangerateapi/sdk

Links

Website | API Docs | API Reference | Central Bank Rates | Get Free API Key | Pricing

Popular repositories Loading

  1. exchange-rateapi-js exchange-rateapi-js Public

    Official JavaScript/TypeScript SDK for Exchange Rate API. Access real-time and historical mid-market exchange rates for 160+ currencies. Zero dependencies.

    TypeScript

  2. exchange-rateapi-python exchange-rateapi-python Public

    The most elegant way to access real-time mid-market exchange rates in Python

    Python

  3. exchange-rateapi-php exchange-rateapi-php Public

    Official PHP SDK for the Exchange Rate API — real-time & historical FX rates for 160+ currencies.

    PHP

  4. .github .github Public

  5. mcp-server mcp-server Public

    MCP server for Exchange Rate API — real-time and historical currency exchange rates for Claude Code, Cursor, Claude Desktop, and Windsurf

    JavaScript

  6. exchange-rateapi-rust exchange-rateapi-rust Public

    Official Rust SDK for Exchange Rate API — real-time mid-market exchange rates for 160+ currencies. Published on crates.io.

    Rust

Repositories

Showing 7 of 7 repositories

Top languages

Loading…

Most used topics

Loading…