Get Unidad de Fomento (CLF) prices using this API
Get Unidad de Fomento (CLF) Prices Using This API
In the rapidly evolving world of finance and commodities, having access to real-time data is crucial for making informed decisions. One such valuable resource is the Metals-API, which provides developers with the tools to access current and historical prices for various metals, including the Unidad de Fomento (CLF). This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, the significance of metals like Nickel (NI), and how developers can leverage this API to create advanced applications.
Metals-API Information
About Nickel (NI)
Nickel is a versatile metal that plays a pivotal role in various industries, particularly in the production of stainless steel and batteries. As the world shifts towards digital transformation, the metal markets are also undergoing significant changes. The integration of smart technology and data analytics is reshaping how traders and manufacturers interact with metal prices. With the rise of electric vehicles and renewable energy technologies, the demand for Nickel is expected to surge, making it essential for developers and businesses to stay updated with real-time pricing data.
The Metals-API offers a comprehensive solution for accessing Nickel prices and other metal data. By utilizing advanced data analytics, developers can gain insights into market trends, enabling them to make strategic decisions. The API's capabilities empower users to build applications that can track price fluctuations, analyze historical data, and even convert between different metal currencies.
API Description
The Metals-API is designed to provide developers with real-time and historical data on metal prices. Its innovative features allow for seamless integration into applications, enabling users to access crucial information at their fingertips. The API supports a wide range of functionalities, including retrieving the latest rates, historical data, and even bid and ask prices. This transformative potential of real-time metals data can significantly enhance decision-making processes in various sectors.
For more detailed information, developers can refer to the Metals-API Documentation, which outlines all available features and endpoints. Additionally, a comprehensive list of supported symbols can be found on the Metals-API Supported Symbols page.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on the user's subscription plan. Developers can access the latest prices for Nickel and other metals, allowing for timely decision-making.
- Historical Rates Endpoint: Users can query historical rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for analyzing market trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion feature that enables users to convert amounts between different metals or to/from USD, facilitating easier financial transactions.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two chosen dates, making it easier to analyze price movements over specific periods.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which is particularly useful for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, helping them identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for traders analyzing market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user receives a unique API key, which is required for authentication when making requests to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities to cater to various user needs.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, here are some example responses for key endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1770163913,
"base": "USD",
"date": "2026-02-04",
"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 shows the latest exchange rates for various metals, including Nickel (XNI). The data is updated in real-time, allowing developers to access the most current pricing information.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1770077513,
"base": "USD",
"date": "2026-02-03",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example demonstrates how to access historical exchange rates for a specific date. Developers can use this data to analyze trends and make informed decisions based on past performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-01-28",
"end_date": "2026-02-04",
"base": "USD",
"rates": {
"2026-01-28": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-30": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-04": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of exchange rates for a specific period, allowing developers to visualize trends and fluctuations over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1770163913,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert amounts between different metals or to/from USD. In this example, it shows how much 1000 USD is in troy ounces of gold (XAU).
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-28",
"end_date": "2026-02-04",
"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 tracks rate fluctuations between two dates, providing insights into market volatility and helping traders make informed decisions.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1770163913,
"base": "USD",
"date": "2026-02-04",
"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"
}
This response provides the open, high, low, and close prices for a specific date, which is essential for traders analyzing market performance.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1770163913,
"base": "USD",
"date": "2026-02-04",
"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"
}
The Bid/Ask Endpoint provides current bid and ask prices for metals, which is crucial for traders looking to execute buy or sell orders efficiently.
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical data on metal prices, including the Unidad de Fomento (CLF). With its extensive range of endpoints and capabilities, this API empowers users to build innovative applications that can analyze market trends, track price fluctuations, and facilitate currency conversions. By leveraging the insights provided by the Metals-API, developers can create solutions that enhance decision-making processes across various industries.
For more information on how to integrate the Metals-API into your applications, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on using its features effectively. Stay ahead of the curve in the metal markets by utilizing the transformative potential of real-time data.