

If you are a website owner, we are encouraging you to give our wordpress currency exchange rates widget a try. World money and finance is so intertwined that it’s kind of hard to imagine not being able to buy something abroad, make an online order from an international site or go for a vacation/business trip/education etc. As long as the world keeps developing we will plunge even deeper into globalization. We deal with money daily, all the time and it never stops. Yeah, it’s kind of pragmatic but it is what it is. If your query fails, the currencylayer API will return a 3-digit error-code and a plain text "info" property containing suggestions for the user.Įxample Error: Find below an example error, triggered when a user's monthly API request volume has been reached or exceeded.Welcome! This is the best chance to find out more about our creation and decide for yourself if it’s going to become your website’s constant companion. Please do not forget appending your API access key when making API requests. Important: The request URLs have been shortened for simplicity purposes. "change" - request any currency's change parameters (margin, percentage) "timeframe" - request exchange rates for a specific period of time "convert" - convert one currency to another live // "historical" - get historical rates for a specific day They will be explained in detail throughout the API Features section.īase URL: All API requests start out with the following base URL: Īvailable Endpoints: Take a look at the following API endpoints: // "live" - get the most recent exchange rate data Below you will find a short summary of all available endpoints. The currencylayer API offers up to 5 customizable endpoints, all of which providing different kinds of data. Returns all currencies supported by the currencylayer API.
#Wordpress live currency converter full#
In order to access a JSON file containing all currently supported currencies (3-letter currency code and full currency name), simply attach your access_key to the currencylayer API's list endpoint:Įxample API Request: Sign Up to Run API Request Supported Currencies Available on: All plansĪ full list of supported currencies can be accessed both in JSON Format (access key required) and on this website. (default: USD)Ĭontains all exchange rate values, consisting of the currency pairs and their respective conversion rates. Returns the currency to which all exchange rates are relative. Returns the exact date and time (UNIX) the exchange rates were collected. Returns a link to the currencylayer Privacy Policy. Returns a link to the currencylayer Terms & Conditions. Returns true or false depending on whether or not your query succeeds. Find below descriptions for the JSON properties returned by the API: Property The response will be explained in detail below.Īlong with the source currency, a timestamp and some legal reminders, the API will return a quotes object containing all available or specified currency pairs with their respective exchange rate values (quotes).Ĭurrencylayer API results are delivered in JSON format for maximum usability. The standard API response is an easily parseable, lightweight JSON file consisting of different objects and properties.
