Exchange Rate API for Developers

Real-time currency exchange data and historic rates, updated every 60 seconds. Integrate easily with our JSON and XML API to power your app, website, or tool.

$ API

Why Choose Our Exchange Rate API?

Our Exchange Rate API provides instant access to live currency rates from global sources including central banks and financial institutions. Whether you're building a financial application, an e-commerce platform, or a mobile app, we deliver reliable currency data with high accuracy, updated every 60 seconds.

With support for over 152 currencies, including cryptocurrencies and precious metals, our API lets you stay informed with the latest exchange rates and historical forex data, all accessible in JSON or XML formats.

View API Documentation

Real-time Updates: Currency rates are updated every 60 seconds, ensuring data accuracy for critical decisions.

Wide Range of Currencies: Over 152 world currencies, including cryptocurrencies and precious metals.

Developer-friendly Integration: Simple JSON and XML responses for easy integration across platforms.

Historical Data Access: Gain insights with exchange rate data dating back to 2000.

Reliable Data Sources: Sourced from central banks and top financial institutions worldwide.

How It Works

1

Sign Up

Create a free account to get started. Paid plans start at just $9.99/month, providing additional features and a higher request limit.

2

Get Your API Key

After signing up, you’ll receive an API key. Use this key to authenticate requests to our API endpoints and start accessing exchange rate data.

3

Integrate the API

Use our SDKs or code samples in various languages to quickly integrate the API. You’ll be able to access real-time and historical exchange rates in minutes.

Supported SDKs and Code Examples

Get started quickly with our developer-friendly SDKs and code examples in popular programming languages. Our API supports JSON and XML responses for maximum flexibility.

Plans & Pricing

Free Plan

£0/mo

Basic access to our API for personal use.

  • ✓ 500 API requests
  • ✓ Updated every 60 minutes
  • ✓ Access to 152 currencies
  • ✗ Commercial Use
Get Started

Essential Plan

$9.99/mo

Perfect for small projects and low-volume commercial use.

  • ✓ 12,500 API requests
  • ✓ Updated every 10 minutes
  • ✓ Access to 152 currencies
  • ✓ Commercial Use Allowed
Get Started

StartUp Plan

$34.99/mo

Medium plan for medium volume commercial use.

  • ✓ 125,000 API requests
  • ✓ Updated every 10 minutes
  • ✓ Access to 152 currencies
  • ✓ Commercial Use Allowed
Get Started

Professional Plan

$74.99/mo

Ideal for high-traffic commercial projects.

  • ✓ 10,000,000 API requests
  • ✓ Updated every minute
  • ✓ Access to 152 currencies
  • ✓ Commercial Use Allowed
Get Started

Core API Endpoints

/rates

Get the latest exchange rates for over 152 currencies, updated every minute (based on plan).

GET /api/v1/rates?key=YOUR_API_KEY

/convert

Convert an amount from one currency to another in real-time, with up-to-the-minute exchange rates.

GET /api/v1/convert?from=USD&to=EUR&amount=100&key=YOUR_API_KEY

/history

Access historical exchange rates for any date since 2000, perfect for analytics and comparison.

GET /api/v1/history?date=2023-01-01&base=USD&key=YOUR_API_KEY

/timeframe

Get exchange rates over a specific time range, ideal for generating reports and trend analysis.

GET /api/v1/timeframe?start=2023-01-01&end=2023-12-31&base=USD&key=YOUR_API_KEY

/currencies

Retrieve a list of all supported currencies and codes for easy reference and integration.

GET /api/v1/currencies?key=YOUR_API_KEY

Use Cases for Our Exchange Rate API

Currency Converter Apps

Integrate real-time exchange rates into mobile and web apps, enabling users to convert currencies quickly and accurately.

Example: Travel apps, budgeting tools

E-commerce Platforms

Display prices in multiple currencies to reach a global audience, with exchange rates updated in real-time to reflect accurate pricing.

Example: Shopify, WooCommerce

Financial Analysis Tools

Access historical exchange data to analyze market trends and generate forecasts, helping users make informed decisions.

Example: Investment platforms, portfolio trackers

Invoicing Systems

Generate invoices with accurate conversion rates for international clients, eliminating manual calculations and errors.

Example: FreshBooks, Xero

Crypto Wallets

Provide users with up-to-date exchange rates for cryptocurrencies, allowing real-time monitoring of asset values.

Example: Coinbase, MetaMask

Admin Dashboards

Display live exchange rates in admin panels for quick reference, helping business owners track and manage currency fluctuations.

Example: Internal dashboards, financial CRMs

Frequently Asked Questions

Can I get exchange rates as XML?

Although most requests made to our application request a JSON response, we also have the ability to return XML from our JSON API. This option is available on all subscription plans.

Its super easy to change the output of the response when calling our exchange rate XML API. All that's needed is adding or modifying the output parameter in the URL and as long as you apply a correct value and a valid API key, you will get the response your looking for.

An example request to our rates API would look like this:

https://currencyapi.net/api/v1/rates?key=YOUR_API_KEY&output=XML

This will return reliable currency exchange rate data from our exchange rate XML API. Developers will then be able to parse this XML response and convert it into something your application can read.

Is there example code available?

Getting started with our currency exchange rate API can be done in seconds. We supply example exchange rate code so developers can get reliable currency data straight away.

So which languages do you supply example code? Python, NodeJs, GoLang / Go, PHP, cUrl, Ruby, Java, jQuery and Javascript.

To see how this works, head over to our documentation page and using the tabs, select which language you want to see the example exchange rate code. Within minutes, you will have access to real time, accurate and reliable exchange rate data. Because our application is a JSON API by default, it doesn't matter which programming language or framework your application uses, your application will be able to work with the response easily.

We also supply example code when using our premade packages in both PHP and NodeJs. Using composer or NPM you get access to our premade methods making it even easier to interact with our API.

Is the exchange rate data live?

We provide various endpoints where developers can access different types of currency data. Our most frequently used endpoint, the rates endpoint, is a live currency exchange rates API for 152 world currencies, cryptocurrencies and precious metals.

Our foreign exchange rate data is updated in real time every 1 minute, depending on the plan. This gives companies and developers access to live currency exchange rate data which can easily be plugged into your application. Our reliable currency data comes from central banks across the globe providing accurate rates in real time.

While the currency data on our live currency exchange rates API is updated every 1 minute, this data is only available to customers on the Professional Plan. For a breakdown of each plan, see below:

  • Professional Plan (updated every 1 minute)
  • StartUp Plan (updated every 10 minutes)
  • Essential & Free Plan (updated every 60 minutes)

Is the API for exchange rates free?

CurrencyApi.net has various subscription plans to get reliable currency exchange rate data. Our paid plans start at $9.99 a month (Essential Plan) and go up to $74.99 a month (Professional Plan). However, we do offer an API for exchange rates free.

Our free API for exchange rates is completely free-of-charge and works exactly the same as our paid options when getting the live exchange rates. This is a great option for personal projects looking to get started with free currency data. On the free plan, users are allowed to make up to 500 monthly requests. The foreign exchange rate data is only updated every 60 minutes on our free exchange rates API plan.

We also restrict access to our free API for exchange rates to personal use. This means we do not allow companies to use or any commercial use when using our free API plan. For more information regarding this, please check out our terms of use.

How historic is the historical exchange rate api data?

Not only do we supply real time currency conversion rates, we also provide historical data for world currencies going back all the way to the year 2000. That's right, over 20 years of historical exchange rate API data from accurate and reliable sources, including central banks.

Of course, some currencies have not been around since 2000, so we can only supply the data we do have based on the currency. For example, Bitcoin, Litecoin or other cryptocurrencies, won't have data back in the year 2000 because these currencies did not exist then.

To use our API to get historical exchange rates, you have to be on a paid plan and signed up to either the StartUp Plan or the Professional Plan. We have two endpoints available for getting this historical currency exchange rate data:

  • /history
  • /timeframe

For more information regarding these endpoints, please check out documentation out, and don't forget to always send your API key in the request.

Do you offer support for the exchange rate API?

Yes, we offer support for the exchange rate API. Our support team is available 24/7 to help you with any issues you may encounter while using our API.

We offer a variety of support options for our paid plans, including:

  • Email support
  • FAQ's

If you need any help with your exchange rate API project, please don't hesitate to contact our support team. We're here to help you every step of the way.

Ready to Access Real-Time Exchange Rates?

Join thousands of developers and businesses using our API to power their applications with accurate, up-to-date currency data.

Sign Up Now