Retrieve Real-time Nickel - LME 3-month (NI3M) Historical Prices via this API
Retrieve Real-time Nickel - LME 3-month (NI3M) Historical Prices via this API
In today's fast-paced financial landscape, the demand for real-time data is paramount, especially in the metals market. Nickel, represented by the symbol XNI, is a critical component in various industries, including electronics, automotive, and construction. As a developer, accessing historical prices for Nickel through an API can empower you to create applications that provide valuable insights and analytics. In this blog post, we will explore how to retrieve historical prices for Nickel using the Metals-API, highlighting its innovative features and capabilities.
About Nickel (XNI)
Nickel is a versatile metal known for its strength, resistance to corrosion, and ability to withstand high temperatures. As industries evolve, the digital transformation within metal markets has become increasingly significant. Technological innovations are reshaping how data is collected, analyzed, and utilized. The integration of smart technologies and data analytics is paving the way for future trends in the metals market, allowing stakeholders to make informed decisions based on real-time data.
With the rise of data analytics, developers can leverage APIs like Metals-API to gain insights into Nickel's historical prices, trends, and fluctuations. This data can be instrumental in forecasting market movements, optimizing supply chains, and making strategic investment decisions. The Metals-API offers a robust platform for accessing real-time and historical data, enabling developers to build next-generation applications that cater to the needs of various industries.
API Description
The Metals-API is designed to provide developers with comprehensive access to metal prices, including Nickel. It offers a wide range of endpoints that allow users to retrieve real-time rates, historical data, and perform conversions between different metals and currencies. The API is built with innovation in mind, allowing for seamless integration into applications that require up-to-date metal pricing information.
One of the standout features of the Metals-API is its ability to deliver real-time data updated at various intervals, depending on the subscription plan. This flexibility ensures that developers can access the most relevant information for their applications, whether they are building trading platforms, market analysis tools, or financial dashboards.
Key Features and Endpoints
The Metals-API provides a variety of endpoints, each with unique functionalities that cater to different use cases. Here are some of the key features:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for Nickel and other metals. Depending on your subscription plan, updates can occur every 60 minutes or even every 10 minutes, ensuring you have the latest information at your fingertips.
- Historical Rates Endpoint: Access historical rates for Nickel dating back to 2019. By appending a specific date to your query, you can retrieve past prices, which is essential for trend analysis and forecasting.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices for Nickel, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: Easily convert amounts from one metal to another or to/from USD. This endpoint is particularly useful for applications that require multi-metal pricing.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is invaluable for analyzing price movements over specific periods.
- Fluctuation Endpoint: Track how Nickel prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping traders make informed decisions.
- Lowest/Highest Price Endpoint: Retrieve the lowest and highest prices for Nickel over a specified date range, aiding in market analysis and strategy development.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for Nickel, which is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols, including Nickel, dating back to 2008. This endpoint is essential for comprehensive market research.
- API Key: Your unique API key is required to access the Metals-API, ensuring secure and authorized usage.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available metal symbols, including Nickel, allowing developers to stay informed about the latest offerings.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you updated on market trends and developments.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, let's explore some example responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1772064884,
"base": "USD",
"date": "2026-02-26",
"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 provides the latest exchange rates for Nickel and other metals, allowing developers to display real-time pricing information in their applications.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1771978484,
"base": "USD",
"date": "2026-02-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates for Nickel, which can be used for analysis and reporting purposes.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-02-19",
"end_date": "2026-02-26",
"base": "USD",
"rates": {
"2026-02-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-26": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series endpoint allows developers to analyze price trends over a specified period, which is essential for making informed trading decisions.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1772064884,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response demonstrates how to convert a specified amount from one metal to another, providing flexibility for applications that require multi-metal pricing.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-19",
"end_date": "2026-02-26",
"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"
}
The fluctuation endpoint provides insights into how Nickel prices change over time, which is crucial for understanding market dynamics.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1772064884,
"base": "USD",
"date": "2026-02-26",
"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 endpoint is essential for traders who rely on technical analysis, as it provides key price points for Nickel over a specific period.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1772064884,
"base": "USD",
"date": "2026-02-26",
"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 real-time pricing information, which is crucial for traders looking to execute orders at the best possible prices.
Conclusion
In conclusion, the Metals-API offers a powerful and flexible solution for developers seeking to access real-time and historical data for Nickel and other metals. By leveraging the various endpoints available, developers can create applications that provide valuable insights into market trends, price fluctuations, and investment opportunities. The integration of smart technology and data analytics into the metals market is transforming how stakeholders interact with pricing data, paving the way for innovative applications and solutions.
As you embark on your journey to retrieve historical prices for Nickel, remember to explore the comprehensive Metals-API Documentation for detailed information on each endpoint and its capabilities. Additionally, the Metals-API Supported Symbols page provides a complete list of available metal symbols, ensuring you have all the resources you need to build robust applications.
With the right tools and data at your disposal, the possibilities for innovation in the metals market are limitless. Embrace the future of data-driven decision-making and unlock the potential of real-time metals data with the Metals-API.