Free Currency API

Currency API

You can easily integrate the latest currency exchange rates and currency conversions for over 150 currencies into your personal and commercial website and application by using our free currency API.

Our currency API is available in JSON format and easily accessible through a simple API request over a secure HTTPS connection.

Free Sign up!

Currency API Request

The base URL for our currency API is

Request Parameters

api_keyYour assigned API key. This parameter is required.
fromThe currency you would like to convert from. This parameter is required.
toThe currency you would like to convert to. This parameter is required.
amountThe amount to convert from. This parameter is optional. Default is a value of 1.

You can find the list of over 150 supported currencies here.You can also retrieve the list of currencies using the currency list API.

To get the latest exchange rate in EUR for 1 USD:

To convert 50 EUR to GBP:

Get your FREE currency API key now!

Sample PHP snippet on how to use our currency API

Currency API Response

errorError code. Value greater than zero indicates an error. See list below.
error_messageShort decription of the error. See list below.
amountThe exchange rate or amount converted.

JSON data returned from our currency API request:

{ "error" : 0, "error_message" : "-", "amount" : 0.90168 }

Sign up for your free developer account!

List of Error Codes & Error Messages

Error CodeDescription
0No error.
100API key not provided.
110Invalid API key.
200From currency not provided.
210Invalid from currency.
250To currency not provided.
260Invalid to currency.
300Amount must be numeric.
310Invalid amount.
320Amount cannot be zero.
400API limit reached for the month.

Get our free currency API for your website and application!

Our free currency API is highly stable & reliable. See our uptime is verified safe by Google Safe Browsing is verified safe by McAfee SiteAdvisor is verified safe by Norton Safe Web

Go to top of page