Forex Currency Stock is a simple and lightweight API for Current and historical foreign exchange rates.
"tm": "2019-07-15 20:55:00",
Forex & Stocks API is designed for exchange rates to handle thousands of requests per second also monitor constantly.
Built in Forex compatibility so you can keep all the libraries you already like and use them daily.
Everything from the code base, homepage to the deployment process is opensource and free to use under a permissive MIT license.
Forex Currency Stock API is able to provide real-time exchange rate data for 170 world currencies. The API comes with multiple endpoints, each serving a different usage state. Endpoint functionality includes getting the latest exchange rate data for all currencies or a specific set of currencies, converting currency from one currency to another, restoring time series data for a currency or multiple currencies, and querying the daily volatility data API.
Through these documents, you will understand the API architecture, methods, possible errors, and code examples. In case there any question is left unanswered, please make sure to contact us and our team will be happy to help out.
Your API Key is the unique key that is passed into the API base URL's
access_key parameter in order to authenticate with the FCS API.
https://fcsapi.com/api/forex/latest?symbol=EUR/USD&period=5mAppend your API Key:
If you dont have FCS API access key, you can registered here Signup (Free).
Exchange rates delivered by the FCS API are by default relative to EUR. All data is returned in standard JSON format and can be parsed easily using any programming language.
Example Response: Below you will find an example API response carrying a number of common world currencies, all relative to the currency EUR and time stamped at the exact time they were collected.
"tm": "2019-07-15 20:55:00"
As illustrated above, the API's response - when queried for real-time exchange rates - always contains a
timestamp object containing a standard UNIX time stamp indicating the time the given exchange rate data was collected, a
base object containing the three-letter currency code of the base currency, a date object containing the
date the given exchange rate data was collected, and a
rates object containing the actual exchange rate data.
Further below, in the Documentaion section, the API response structure will be discussed in detail.