Get Nickel - LME 3-month (NI3M) prices for multiple currencies using this API

Get Nickel - LME 3-month (NI3M) prices for multiple currencies using this API
In today's rapidly evolving digital landscape, the demand for real-time data in the metals market has never been more critical. The Metals-API provides a powerful solution for developers looking to access up-to-date Nickel (XNI) prices and other metal rates across various currencies. This blog post delves into the intricacies of Nickel, its market dynamics, and how the Metals-API can be leveraged to build innovative applications that harness the power of real-time metals data.
Metals-API Information
About Nickel (XNI)
Nickel is a versatile metal with a wide array of applications, from stainless steel production to battery manufacturing. As industries continue to innovate and evolve, the demand for Nickel is expected to rise, driven by technological advancements and the digital transformation of metal markets. The integration of smart technologies and data analytics is reshaping how stakeholders interact with metal prices, enabling them to make informed decisions based on real-time insights.
With the increasing complexity of global supply chains and market fluctuations, the ability to access accurate and timely data is paramount. The Metals-API provides developers with the tools necessary to tap into this wealth of information, allowing for the creation of applications that can analyze trends, forecast prices, and optimize trading strategies.
API Description
The Metals-API is a robust platform designed to deliver real-time and historical data on various metals, including Nickel. It empowers developers to build next-generation applications that can seamlessly integrate with their existing systems. The API's capabilities extend beyond simple price retrieval; it offers a comprehensive suite of features that facilitate advanced data analytics and insights.
For detailed information on how to use the API, developers can refer to the Metals-API Documentation, which outlines the various endpoints, parameters, and response formats.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, enabling developers to access real-time and historical data efficiently. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for Nickel and other metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes, every 10 minutes, or even more frequently.
- Historical Rates Endpoint: Developers can access historical rates for Nickel dating back to 2019. By appending a specific date to the API call, users can retrieve past pricing data to analyze trends and make informed decisions.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for Nickel, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion feature, enabling users to convert amounts from one currency to another, facilitating seamless transactions across different markets.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Users can track how Nickel prices fluctuate on a day-to-day basis, gaining insights into market volatility and trends.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of Nickel over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed OHLC data for Nickel, allowing users to analyze price movements and trends effectively.
- Historical LME Endpoint: Access historical rates for LME symbols, including Nickel, dating back to 2008, enabling users to analyze long-term trends.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate and authorize access.
- 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 endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to Nickel and other metals, keeping them informed about market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including Nickel (XNI). 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 various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1749722414,
"base": "USD",
"date": "2025-06-12",
"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"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1749636014,
"base": "USD",
"date": "2025-06-11",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-06-05",
"end_date": "2025-06-12",
"base": "USD",
"rates": {
"2025-06-05": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-07": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-12": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1749722414,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-05",
"end_date": "2025-06-12",
"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"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1749722414,
"base": "USD",
"date": "2025-06-12",
"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"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1749722414,
"base": "USD",
"date": "2025-06-12",
"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"
}
Conclusion
The Metals-API is a transformative tool for developers looking to integrate real-time Nickel pricing and other metal data into their applications. By leveraging the API's extensive features, developers can create innovative solutions that enhance decision-making processes and optimize trading strategies. With the ability to access historical data, track fluctuations, and convert currencies, the Metals-API stands out as a comprehensive resource for anyone involved in the metals market.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation and familiarize themselves with the various endpoints and their functionalities. The future of metal trading is digital, and with the right tools, developers can lead the charge into this new era.