API Freaks logoAPI Freaks logo
CTRL+K

    APIs

  • Pricing
  • Resources
  • Tools

  • Contact us
CTRL+K
Sign InGet Started For Free
  • Overview
  • Documentation
  • How to Guides
  • Pricing
  • APIFreaks
  • Organization and Teams
  • Credits Usage API
  • IP Geolocation Lookup
  • Bulk IP Geolocation Lookup
  • Domain WHOIS Lookup
  • IP WHOIS Lookup
  • ASN Lookup
  • Domain WHOIS Historical Lookup
  • Domain WHOIS Reverse Lookup
  • Bulk Domain WHOIS Lookup
  • DNS Lookup
  • Historical DNS Lookup
  • Reverse DNS Lookup
  • Bulk DNS Lookup
  • SSL Certificate Lookup
  • Domain Availability
  • Bulk Domain Availability API
  • Website Screenshot
  • Bulk Screenshot
  • Currencies Exchange Rates
  • Currency Converter
  • Currency Time Series
  • Currency Fluctuation
  • Geolocalized Currency Converter
  • Live Commodity Prices
  • Commodity Historical Prices
  • Commodity Fluctuation
  • Commodity Time Series
  • Timezone Lookup
  • Timezone Converter
  • Zipcode Lookup
  • User Agent Parser
  • Bulk User Agent Parser
  • Astronomy API

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.

10K Free Credits, No Credit Card Required

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.

Documentation

API Endpoint

GET

https://api.apifreaks.com/v1.0/currency/fluctuation

Test
LANGUAGE
Python
PHP
Java
Node
Ruby
JavaScript
C#
$ pip install requests

API Request

ParameterRequiredTypeDefaultDescription
startDateYesString-Start date (format YYYY-MM-DD) of the preferred time frame
endDateNoStringDay before current dateEnd date (format YYYY-MM-DD) of the preferred time frame
baseNoStringUSDBase currency
symbolsNoArray-comma separated list of desired currencies/ commodities symbols

API Response

For a comprehensive view of the API response structure and detailed field descriptions, explore the interactive Response Table by clicking here.

HTTP Error Codes

HTTP StatusReasons
400
Starting date cannot be after current date or ending date.
400
Provided Dates are in Invalid Format. Dates must be in a valid format YYYY-MM-DD!
404
Rates of provided base and symbols are not found for given intervals.

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.

curl -X 'GET' 'https://api.apifreaks.com/v1.0/fluctuation?apikey=YOUR_APIKEY&startDate=2022-10-01&endDate=2022-10-15&symbols=PKR&base=GBP'
# Response { "startDate": "2022-10-01", "endDate": "2022-10-15", "base": "GBP", "rateFluctuations": { "PKR": { "startRate": "254.331", "endRate": "243.874", "change": "10.457", "percentChange": "4.11" } } }

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.

Price Estimation Calculator

Ready to get started?

Sign Up for Free

APIFreaks

API Catalog

  • Geolocation APIs
  • WHOIS APIs
  • DNS APIs
  • SSL APIs
  • Domain Availability APIs
  • Screenshot APIs
  • Currency APIs
  • Commodity APIs
  • Timezone APIs
  • Zipcode APIs
  • User Agent APIs
  • Other APIs

Tools Catalog

  • Code Formatters
  • Data & Query Tools
  • Text Tools
  • Email Utilities
  • Viewers

Docs

  • APIs
  • Swagger Docs

Pricing & Accounts

  • Pricing
  • Sign up
  • Sign In

Company

  • About Us
  • Resources
  • Terms
  • Privacy

Copyright © 2024

Made in Pakistan