Currency Fluctuation API - Get Currency Fluctuations Over a Time Period
Use the Currency Fluctuation API to track fluctuations in currency values for specified currencies over a chosen base currency and duration, aiding in informed financial decisions. Ideal for financial professionals, businesses, and developers, this API allows you to specify custom date ranges, giving you the flexibility to analyze short-term currency volatility or long-term trends. The api provides detailed metrics like start rate, end rate, absolute change, and percentage change, empowering you to make data-driven decisions and optimize your financial strategies.
Features
Precise Fluctuation Analysis
Track currency value changes over your chosen time period. With the ability to specify start and end dates, you can analyze fluctuations with precision, helping you understand market dynamics and make informed financial decisions.
Multi-Currency Fluctuation Data
Compare the fluctuation rates of multiple currencies in a single request. Get a clear view of how different currencies have moved against your selected base currency, enabling comprehensive market analysis.
Detailed Fluctuation Metrics
Gain in-depth insights into currency fluctuations with key metrics such as start rate, end rate, absolute change, and percentage change. This detailed information helps you evaluate exchange rate volatility and its impact on your financial strategies.
Filtered Currency Rates
Retrieve exchange rates only for the currencies you need. Our api allows you to get targeted data, reducing unnecessary information so you can focus on what matters most to you.
API Endpoint
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/currency/fluctuation?startDate=2024-09-01&endDate=2026-07-16&base=USD&symbols=EUR%2CJPY"
payload = {}
headers = {
'X-apiKey': 'API-KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
How-To-Guides
Currency Fluctuation Rate Between Two Dates
Call the endpoint with the startDate and endDate query parameters to get the fluctuation rate of the provided currencies with respect to the base currency during the interval. End date if not provided will be equal to the day before the current date. The default base currency is USD. Provide the currencies whose fluctuation rate is to be found in the symbols query parameter.
# Response { "startDate": "2025-01-01", "endDate": "2025-01-10", "base": "USD", "rateFluctuations": { "JPY": { "startRate": "157.750", "endRate": "157.715", "change": "0.035000", "percentChange": "0.02" }, "EUR": { "startRate": "0.96605", "endRate": "0.97620", "change": "-0.010150", "percentChange": "-1.05" } } }curl -X 'GET' 'https://api.apifreaks.com/v1.0/currency/fluctuation?apiKey=API-KEY&startDate=2025-01-01&endDate=2025-01-10&base=USD&symbols=EUR%2CJPY'
Pricing
To use the Currency Fluctuation API, API credits are required. Charges are applied only for successful queries, indicated by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits already charged will be promptly refunded.
For each successful request, 3 credits will be charged to access currency fluctuation data. Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.