Developers

Your first exchange rate in one request

Live market rates and official central-bank rates through one REST API. Pick a pair below and copy working code in eight languages.

  • 163 currencies
  • 190 official sources
  • ~60s live refresh
  • JSON, CSV, XML, Excel

Live exchange rate API: mid-market rates for 160+ currencies

The real exchange rate, refreshed every 60 seconds — what you show a customer or price a product in.

Live API Response
GET /api/v1/rates?source=USD&target=EUR
Loading live rate…
Mid-market rate Get API Key →

Official Central Bank Exchange Rate API

The published figure an auditor or tax office expects — 190 central banks and tax authorities, by date.

Live API Response
GET /api/v1/central-bank/ecb/latest?source=USD&target=EUR
Loading published rate…
Published reference rate All sources →

Choose what you need

Market rates and official rates answer different questions. Compliance rules often decide which one you must use.

Live rates in three steps

  1. 1

    Get a key

    Create a free account. No credit card, and your key is on your dashboard straight away.

  2. 2

    Make a request

    Send the key as a Bearer token.

    curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR" \
      -H "Authorization: Bearer YOUR_API_KEY"
  3. 3

    Prepare for production

    Read caching, errors and quotas, then keep your key on your server.

Official SDKs

Typed clients for live rates. See every SDK, including one npm package per central bank.

JavaScript npm install @allratestoday/sdk
Python pip install allratestoday
PHP composer require allratestoday/sdk
Go go get github.com/AllRates-Today/allratestoday-go
Rust cargo add allratestoday
React npm install react-currency-localizer-realtime

Built for AI agents

Add the hosted MCP server to Claude, ChatGPT, Cursor or any other MCP client.

https://allratestoday.com/api/mcp

An agent can issue itself a 100-call, 7-day key:

curl -X POST https://allratestoday.com/api/agent/keys \
  -H "Content-Type: application/json" -d '{}'

Install the agent skills into Claude Code, Cursor, Codex and other skills-compatible agents:

npx skills add AllRates-Today/claude-code-plugin

Connect your finance system

Step-by-step guides for loading official rates into your ERP or accounting software.

Tools and references

Ready to build?

Start free, then choose a plan when you need more requests.