Query Nickel (NI) Historical Prices using this API

In the ever-evolving landscape of financial markets, the demand for accurate and real-time data has never been more critical. For those interested in tracking the historical prices of Nickel (NI), the Metals-API offers a robust solution. This blog post will delve into the capabilities of the Metals-API, focusing on how developers can leverage its features to obtain historical prices and insights into Nickel, as well as the broader implications of digital transformation in the metal markets.
Metals-API Information
About Nickel (XNI)
Nickel, represented by the symbol XNI, is a key metal in various industrial applications, particularly in the production of stainless steel and batteries. As industries increasingly shift towards sustainability and innovation, the demand for Nickel is expected to rise. This shift is driven by technological advancements and the integration of smart technologies in manufacturing processes.
The digital transformation in metal markets is reshaping how stakeholders interact with data. With the rise of data analytics and insights, companies can now make informed decisions based on real-time data. The Metals-API plays a pivotal role in this transformation, providing developers with the tools necessary to access and analyze historical price data for Nickel and other metals.
API Description
The Metals-API is a powerful tool designed to provide real-time and historical data on metal prices, including Nickel. It empowers developers to build next-generation applications that require accurate and timely information. The API's capabilities extend beyond simple price retrieval; it offers a suite of features that enable comprehensive data analysis and integration into various applications.
For more information on the API's features and capabilities, visit the Metals-API Website and explore the Metals-API Documentation.
Key Features and Endpoints
The Metals-API provides a variety of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data updated at intervals depending on your subscription plan. Developers can access the latest prices for Nickel and other metals, ensuring they have the most current information available.
- Historical Rates Endpoint: Users can query historical rates for Nickel dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices, which is essential for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows users to obtain real-time bid and ask prices for Nickel, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion feature, enabling users to convert amounts between different metals or to/from USD, facilitating easier financial calculations.
- Time-Series Endpoint: Developers can query daily historical rates between two specified dates, allowing for comprehensive analysis of price movements over time.
- Fluctuation Endpoint: This endpoint tracks how prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access detailed OHLC data for specific time periods, which is crucial for technical analysis and trading strategies.
- Lowest/Highest Price Endpoint: This feature allows users to retrieve the lowest and highest prices for Nickel over a specified period, aiding in market analysis.
- Historical LME Endpoint: For those interested in the London Metal Exchange (LME) prices, this endpoint provides historical rates dating back to 2008.
- News Endpoint: Users can access the latest news articles related to various metals, keeping them informed about market trends and developments.
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
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1761044432,
"base": "USD",
"date": "2025-10-21",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XNI": 0.142857
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1760958032,
"base": "USD",
"date": "2025-10-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XNI": 0.142500
},
"unit": "per troy ounce"
}
Time-Series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-10-14",
"end_date": "2025-10-21",
"base": "USD",
"rates": {
"2025-10-14": {
"XNI": 0.142500
},
"2025-10-21": {
"XNI": 0.142857
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XNI",
"amount": 1000
},
"info": {
"timestamp": 1761044432,
"rate": 0.142857
},
"result": 142.857,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-14",
"end_date": "2025-10-21",
"base": "USD",
"rates": {
"XNI": {
"start_rate": 0.142500,
"end_rate": 0.142857,
"change": 0.000357,
"change_pct": 0.25
}
},
"unit": "per troy ounce"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1761044432,
"base": "USD",
"date": "2025-10-21",
"rates": {
"XNI": {
"open": 0.142500,
"high": 0.143000,
"low": 0.142000,
"close": 0.142857
}
},
"unit": "per troy ounce"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1761044432,
"base": "USD",
"date": "2025-10-21",
"rates": {
"XNI": {
"bid": 0.142500,
"ask": 0.142857,
"spread": 0.000357
}
},
"unit": "per troy ounce"
}
Conclusion
The Metals-API provides a comprehensive solution for developers looking to access historical prices and real-time data for Nickel and other metals. By leveraging its various endpoints, developers can create applications that not only track prices but also analyze trends and fluctuations in the market. The integration of smart technology and data analytics into the metal markets is paving the way for more informed decision-making and innovative applications.
For those interested in exploring the full capabilities of the Metals-API, I encourage you to visit the Metals-API Supported Symbols page for a complete list of available metals and their specifications. With the right tools and insights, the future of metal trading and analysis is bright, and the Metals-API is at the forefront of this transformation.