API Libraries & Extensions

Over the past five years, our community has built several hundred open source integrations and extensions for the Open Exchange Rates API, in all the most popular languages and environments, which will help you get up and running as easily as possible.

In this article, you'll find a list of public and open source API client libraries, wrappers, extensions and plugins.

📘

Your Library Here!

Please contact us if you would like to have your library, plugin, extension, etc. added to this list.

We've reviewed over 200 of the open source libraries and extensions that connect to our API that have been created by our community over the past five years. Below are the projects we wanted to share with you. We've added those that we endorse or recommend in bold.

They may have different licenses, some may be out of date, and we don't actively support or maintain any of them (except where stated).

Please note: We aren't able to provide support for any of these libraries, except those we actively maintain or contribute to. Use with caution and if in doubt, please ask the project maintainers or raise issues in the repository.

Please also make sure to star and fork the GitHub repositories to support the maintainers.

JavaScript / jQuery / nodeJS

Name

Description

money.js by Open Exchange Rates

money.js is a tiny (1kb) javascript currency conversion library, for web & nodeJS, which can fetch data from Open Exchange Rates or any other source. Our original JavaScript conversion client with 928 stars and 80 forks on GitHub.

npm-exchange-rates by Open Exchange Rates

nodeJS / npm module to load real-time exchange rates from the Open ExchangeRates API. Our official NodeJS client.

meteor-open-exchange-rates by strikeout

This package lets you convert any currency into any other currency with the most recent exchange rates fetched from https://openexchangerates.org

exchangify

Simple, tiny JavaScript library for realtime currency conversion and exchange rate calculation, from any currency, to any currency; integrated with Open Exchange Rates.

meteor-open-exchange-rates by Useful IO

A simple Meteor package providing a wrapper for the Open Exchange Rates API.

node-openexchangerates-api by 7eggs

A NodeJS module to work with Open Exchange Rates. Allows running multiple client instances simultaneously. Adds debugging output and extended errors.

ephemer/getRates by Geordie

A simple nodeJS command line app that fetches the latest exchange rates from Open Exchange Rates and prints them to the command line, in an easily readable format.

superkhau/curcon by Simon Ho

A nodeJS command-line utility for converting currencies using the Open Exchange Rates API

dbladin/Currency-Converter by Devon Blandin

Example project: Functional currency converter written in Javascript using jQuery and Open Exchange Rates API data. (Please note this sample project is not an API client library.)

henhouse/CurrencyConverter by Henry Henderson

Example project: Live currency converter in JavaScript and HTML, with live demo, using the Open Exchange Rates API. (Please note this sample project is not a standalone client library.)

Python

Name

Description

pyoxr by Masashi Sakai

A full Python wrapper for the Open Exchange Rates API. Light on documentation, but simple to use.

[coinoxr] by (https://github.com/luisfmcalado/coinoxr) by Luis Calado

A Python client library for Open Exchange Rates.

danielterhorst/open_exchange_rates by Daniel ter Horst

An Open Exchange Rates API client written in Python.

kenners/forex by Kenrick Turner

Python command line tool for converting between currencies using real-time and historical data from Open Exchange Rates.

benls95/project-exrates by Ben Longbottom-Smith

Example project: University student project featuring a system for manageing historical currency exchange rates from Open Exchange Rates. (Please note this sample project is not a standalone API client library.)

Ruby

Name

Description

historical-bank-ruby by Kostis (@jeopard) (also on rubygems.org)

Ruby client library, developed by Kostis (@jeopard) published as a gem. Mainly uses historical endpoints, but can also serve as the default bank for the popular money gem. Features easy-to-use API, memory/Redis caching and thorough documentation/testing.

spk/money-open-exchange-rates by Laurent Arnoud

Popular Ruby gem that calculates the exchange rate using published rates from Open Exchange Rates. Compatible with the 'money' Ruby gem.

jparker/oxr by John Parker

A well-documented Ruby interface for the Open Exchange Rates API.

vlado/open_exchange_rates by Vlado Cingel (also on rubygems.org)

Another popular Ruby gem for currency conversion based on Open Exchange Rates API.

ynnni/open-exchange-rates by Andrew Ostroumov

Client library for talking to the Open Exchange Rates API historical endpoint only.

m4rr/money_bot by Marat Saytakov

Example project: a Telegram chat bot that converts currencies on demand, using the Open Exchange Rates API. (Please note this sample project is not a standalone client library.)

stevewight/kings-bucket by Steve Wight

Ruby script for pulling the latest (or historical) currency data exchange rates from OpenExchangeRates.org

cambio by Phil Nash

Cambio is a Ruby gem to wrap the Open Exchange Rates API

Go

Name

Description

goOpenExchangeRate by Vijayakumar

A foreign currency exchange rates web service written in Go, that fetches rates from the Open Exchange Rates API, parses the JSON response and displays all currencies in the terminal/command prompt.

oz/openexchangerates by Arnaud Berthomier

A small, simple Go wrapper for the Open Exchange Rates API.

gopenexchangerates by James Gregory

A simple Go client that fetches exchange rates from Open Exchange Rates.

go-openexchangerates by Martín Raúl Villalba

A lightweight Go wrapper for the Open Exchange Rates API.

fundary/currencies by Fundary

Go library for consuming OpenExchangeRates.org

mattevans/dinero by Matt Evans

A golang interface for the Open Exchange Rates API with in-memory cache

Elixir

Name

Description

oxr-elixir by Mark Silvis (also on libraries.io)

A simple Elixir wrapper for the Open Exchange Rates API.

smeevil/open_exchange_rates by Gerard de Brieder (also on hex.pm)

Elixir library for Open Exchange Rates service.

PHP

Name

Description

jcsmorais/open-exchange-rates-lib by João Morais

A comprehensive PHP library for the Open Exchange Rates API.

QbilSoftware/OpenExchangeRatesBundle by Faizan Akram

Symfony 2.8+ compatible bundle for fetching foreign exchange rates from Open Exchange Rates.

mrzard/OpenExchangeRatesBundle by Gonzalo Míguez

A Symfony2 bundle which exposes the Open Exchange Rates API to a Symfony2 application.

aveiv/open-exchange-rates-api by Alexandr Veliko-Ivanenko

A simple PHP wrapper for Open Exchange Rates API.

php-open-exchange-rates by Jasenko Rakovic

Another PHP wrapper for the Open Exchange Rates API. Functional with little documentation.

JesseObrien/openexchange (Laravel) by Jesse O'Brien

An Open Exchange Rates bundle for the Laravel PHP Framework.

leewillis77/open-exchange-rates-api by Lee Willis

PHP wrapper for Open Exchange Rates API

openexchangerates-php by Eelke van den Bos

A simple PHP client to consume the Open Exchange Rates API. Use with composer or as standalone.

mrzard/OpenExchangeRates by Gonzalo Míguez

Another simple PHP wrapper for Open Exchange Rates

open-exchange-rates-lib-for-sugarcrm (SugarCRM) by João Morais

Package built to help integrate Open Exchange Rates API in SugarCRM projects.

hunyoboy/currency_converter by Joel Capillo

Example project: a world currency converter using Open Exchange Rates API built in Symfony PHP framework and AngularJS. Please note this sample project is not an API wrapper or client library.

danbelden/OpenExRt by Dan Belden

PHP 5 wrapper for the openexchangerates.org API

WordPress Plugins (Free / Open Source)

Plugin Name

Description

WP Currencies uses openexchangerates.org to pull currency data and currency exchange rates in WordPress. Updated regularly.

Requires: 4.0.0+ / Compatible to: 4.2.8 / Rating: 5 stars

Open Currency Converter by David Artiss

This popular plugin uses Open Exchange Rates data to convert currencies on the fly within the text of a post or page, using a new [convert] shortcode and template function. Updated regularly.

Requires: 3.3+ / Compatible to: 4.5.2 / Rating: 4.1 stars

WooCommerce Chilean Peso

This small niche plugin adds the Chilean peso (CLP) to WooCommerce using Open Exchange Rates data.

Requires: 3.3+ / Compatible to: 4.4.3 / Rating: 5 stars

Currencyr for WordPress by Firman Wandayandi

A simple currency converter tooltip plugin built with jQuery. Works with Open Exchange Rates as well as other sources. Last updated in 2012.

Requires: 3.3+ / Compatibility unknown

Shmart (India) Payment Gateway (for Easy Digital Downloads)

This niche plugin extends the Easy Digital Downloads plugin to allow payments through the popular Indian payment gateway service Shmart, using Indian rupee data from Open Exchange Rates.

Requires: 4.0+ / Compatible to: 4.4.3

Java

Name

Title

oer-java by Demétrio de Castro Menezes Neto

Open source Java client for the Open Exchange Rates API. Recently updated.

money-money by ottensa

A Java API for the Open Exchange Rates API free plan.

aperfilyev/Simple-Exchange by Alexander Perfilyev

Sample project: a small Android app for currency conversion using the Open Exchange Rates API. (Please note this is not a standalone client library.)

hav3n/CurrencyConverter by Nikhil Peter Raj

Sample project: another small currency converter for Android using the Open Exchange Rates API. (Please note this is not a standalone client library.)

C# / .NET

Name

Description

A simple and lightweight .NET client for the Open Exchange Rates API.

MathParser by David

A Math Parser that performs basic calculations and unit conversions. Uses Open Exchange Rates for currency conversion. It can also do unit conversions (feet, meters, hours, seconds, etc.) and includes a small asp.net page that lets you use the math parser library as a Web API.

eliefaart/OpenExchangeRates by Eric Liefaart

C# .Net class library for querying the Open Exchange Rates API.

marielakas/Currency-Converter-App by Mariela Kasovska

Sample project: a Windows 8 Desktop application for converting from one currency to another, using the Open Exchange Rates API.

Haskell

Name

Description

openexchangerates-haskell by Stephen Paul Weber

Haskell script to fetch exchange rates from Open Exchange Rates.

R

Name

Description

lucr by Oliver Keyes

R library for currency conversion and formatting, using data from Open Exchange Rates. No longer updated.

Rust

Name

Language

openexchangerates-rs by Johan Sim Jian An

Rust library for interacting with Open Exchange Rate API (no documentation).

Groovy / Grails

Name

Description

grails-open-exchange-rates by AgoraPulse

This plugin allows you to integrate Open Exchange Rates in your Grails application.

Smalltalk / Pharo

Name

Description

oxr-smalltalk by Sho Yoshida

Pharo Smalltalk wrapper for the Open Exchange Rates API.

Perl

Name

Description

github4bhavin/Forex by Bhavin Patel

Perl library to fetch historical foreign exchange rates from Open Exchange Rates.

Crystal

Name

Description

osfx/open_exchange_rates by Peter Boriskin

Lightweight Crystal library/wrapper for Open Exchange Rates.