Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Top 10 Exchange Rates API Features

This restapi tutorial help to integrate exchangeratesapi with application. I will let you know top 10 features of Exchange Rates API. We will create app that will access API using access token

Important Features of Exchange Rates API

There are following top 10 features of Exchange Rates Api.

1- Well Documentation

The Exchange Rates Api are providing well documentation for HTTP API. The laymen user can also use API by following documentation.

2- Secure and reliable:

The Exchangerates.io is using 256-bit SSL encryption to secure rest API. Simply use the https protocol instead of http in order to connect to the API through SSL.

3- Easy To Create Access API:

The API has a unique identifier to access protected resource. The Access API key that gets passed into the API as an URL parameter access_key.
You need to create API key to access Exchange Rates API methods. You just need to signup on the Exchangerates.io, Once the user successfully registered: You will get token on the user dashboard page.

Sample Use Of Token:

https://api.exchangeratesapi.io/v1/latest? access_key = API_KEY

4- 99.9% API’s Uptime:

The exchangeratesapi.io API’s system status is closely monitored around the clock.They ensure the highest possible level of availability and consistency of rest api.As per official docs: The average uptime rate of nearly 100% (99.9%), calculated based on the past 12 months.

You can also check using public API status page : status.exchangeratesapi.io

5- Support Major Global Currencies:

The Exchangerates API is delivering exchanging rates data for more than 170 world currencies.

6- CORS and Access-Control Headers Support:

Its support Cross-Origin Resource Sharing (CORS)for Cross-Origin HTTP Requests. The Access-Control Headers are also supported by the Exchangerates API. This gives you the possibility to use the Exchangerates API via Cross-Origin HTTP Requests.

7- JSONP Callbacks:

This is a another feature included in the Exchangerates API. With this feature, you can specify the function name and send it into the API’s callback GET parameter and make the API respond to your request with the API response wrapped in that function.

Sample JSONP Callbacks Call:

https://api.exchangeratesapi.io/v1/latest? access_key = API_KEY& callback = MY_FUNCTION

From the above example, we can see a request from the API to use the callback function MY_FUNCTION.

8- Latest Rates Endpoint:

You can get latest exchange rates API by /latest end points, Its depending on your subscription plan will return real-time exchange rate data which gets updated every 60 minutes, every 10 minutes, or every 60 seconds.

The sample code to get latest Exchange Rates Api:

https://api.exchangeratesapi.io/v1/latest? access_key = API_KEY& base = USD& symbols = GBP,JPY,EUR

9- Historical Rates Endpoint:

You can also get the possibility to see historical rates of the currencies back to 1999, most of the currencies data are available until 1999. You can query the Exchangerates API for historical rates by appending a date (format YYYY-MM-DD) to the base URL.

API Request:

https://api.exchangeratesapi.io/v1/2013-12-24? access_key = API_KEY& base = GBP& symbols = USD,CAD,EUR

10 -Fluctuation Endpoint:

You can get the day to day currency rate fluctuation using rest API. fluctuation API endpoint required start_date and end_date and select which currencies (symbols) you would like to receive info for from the API. Please note that the maximum allowed timeframe is 365 days.

https://api.exchangeratesapi.io/v1/fluctuation
? access_key = API_KEY
& start_date = 2015-12-01
& end_date = 2015-12-24

The post Top 10 Exchange Rates API Features appeared first on Rest Api Example.



This post first appeared on Rest Api Example, please read the originial post: here

Share the post

Top 10 Exchange Rates API Features

×

Subscribe to Rest Api Example

Get updates delivered right to your inbox!

Thank you for your subscription

×