Retrieve Latest Comorian Franc (KMF) Historical Prices using this API
Retrieve Latest Comorian Franc (KMF) Historical Prices using this API
The world of metals trading is rapidly evolving, driven by digital transformation and technological innovation. As developers and businesses seek to harness the power of real-time data, the need for reliable and comprehensive APIs becomes paramount. One such powerful tool is the Metals-API, which provides access to historical prices and real-time data for various metals, including the Comorian Franc (KMF). This blog post will explore how to retrieve historical prices using the Metals-API, focusing on its capabilities, features, and practical applications.
About Molybdenum (MO)
Molybdenum, represented by the symbol MO, is a critical metal used in various industrial applications, particularly in steel production and manufacturing. As the demand for molybdenum continues to rise, understanding its market dynamics becomes essential for investors and developers alike. The digital transformation in metal markets has enabled unprecedented access to data analytics and insights, allowing stakeholders to make informed decisions based on real-time information.
Technological advancements have paved the way for smart technology integration in the metals market. With the Metals-API, developers can access a wealth of information, including historical prices, fluctuations, and conversion rates, all in real-time. This API empowers businesses to build next-generation applications that leverage data analytics for better decision-making.
API Description
The Metals-API is a robust platform designed to provide developers with real-time and historical data on various metals. Its capabilities extend beyond mere data retrieval; it allows for the integration of advanced analytics, enabling users to gain insights into market trends and price movements. The API is built with innovation in mind, offering features that cater to the needs of modern developers.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers have access to the most current information, which is crucial for applications that rely on accurate pricing data. For more detailed information, you can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to fulfill specific needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for applications that require up-to-the-minute pricing.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This allows developers to analyze trends over time and make informed decisions based on historical data.
- Bid and Ask Endpoint: This powerful feature retrieves real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The conversion endpoint allows users to convert amounts from one currency to another, facilitating seamless transactions and calculations.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two selected dates, enabling comprehensive analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how currencies fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is particularly useful for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices within a specified timeframe, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for specific time periods, which is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a long-term view of market trends.
- API Key: Each user is assigned a unique API key that must be included in API requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Below are examples of responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1772237889,
"base": "USD",
"date": "2026-02-28",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744,
"XCU": 0.294118,
"XAL": 0.434783,
"XNI": 0.142857,
"XZN": 0.344828
},
"unit": "per troy ounce"
}
This response indicates a successful request, providing the latest rates for various metals relative to USD. Each metal's rate is presented in troy ounces, which is the standard measurement for precious metals.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1772151489,
"base": "USD",
"date": "2026-02-27",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to retrieve historical rates for a specific date. The response includes the rates for gold, silver, platinum, and palladium, allowing users to analyze past market conditions.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-02-21",
"end_date": "2026-02-28",
"base": "USD",
"rates": {
"2026-02-21": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-23": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-28": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series endpoint allows users to track price changes over a specified period. This is particularly useful for identifying trends and making predictions based on historical data.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1772237889,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint is essential for applications that require currency conversion. In this example, 1000 USD is converted to troy ounces of gold, providing a clear result for users.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-21",
"end_date": "2026-02-28",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
},
"XAG": {
"start_rate": 0.03825,
"end_rate": 0.03815,
"change": -0.0001,
"change_pct": -0.26
},
"XPT": {
"start_rate": 0.000915,
"end_rate": 0.000912,
"change": -3.0e-6,
"change_pct": -0.33
}
},
"unit": "per troy ounce"
}
This endpoint provides insights into how metal prices fluctuate over time, which is crucial for traders and analysts looking to understand market behavior.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1772237889,
"base": "USD",
"date": "2026-02-28",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
},
"XAG": {
"open": 0.03825,
"high": 0.0383,
"low": 0.0381,
"close": 0.03815
},
"XPT": {
"open": 0.000915,
"high": 0.000918,
"low": 0.00091,
"close": 0.000912
}
},
"unit": "per troy ounce"
}
The OHLC endpoint is vital for traders who rely on historical price data to make informed decisions. It provides a comprehensive view of price movements within a specific timeframe.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1772237889,
"base": "USD",
"date": "2026-02-28",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
},
"XPT": {
"bid": 0.000911,
"ask": 0.000913,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
This response provides the current bid and ask prices for metals, which is essential for traders looking to execute orders at the best possible prices.
Conclusion
The Metals-API is a powerful tool for developers seeking to access real-time and historical data on metals, including the Comorian Franc (KMF). Its extensive features, including various endpoints for retrieving rates, historical data, and conversion capabilities, make it an invaluable resource for anyone involved in the metals market.
By leveraging the capabilities of the Metals-API, developers can create innovative applications that provide users with critical insights into market trends and pricing dynamics. Whether you are building a trading platform, a financial analysis tool, or a market research application, the Metals-API offers the data and functionality needed to succeed.
For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metals. With the right tools and data at your fingertips, the possibilities for innovation in the metals market are limitless.