Retrieve daily Nickel China Spot (NI-CH) prices using this API
Retrieve Daily Nickel China Spot (NI-CH) Prices Using This API
In the rapidly evolving landscape of metal markets, the ability to access real-time data is crucial for developers and businesses alike. The Metals-API provides a robust solution for retrieving daily Nickel China Spot (NI-CH) prices, along with a wealth of other metal data. This blog post will delve into the significance of Nickel in the global market, explore the innovative capabilities of the Metals-API, and guide you through its various features and endpoints.
Metals-API Information
About Nickel (XNI)
Nickel, represented by the symbol XNI, is a critical metal in various industries, particularly in the production of stainless steel and batteries. As the world shifts towards sustainable energy solutions, the demand for Nickel is expected to surge, driven by its essential role in electric vehicle batteries and renewable energy technologies. This digital transformation in metal markets is fueled by technological innovation and advancements in data analytics, enabling stakeholders to make informed decisions based on real-time insights.
The integration of smart technology in the metal markets is revolutionizing how data is collected, analyzed, and utilized. With the rise of Industry 4.0, businesses are leveraging advanced analytics to predict market trends, optimize supply chains, and enhance operational efficiency. The future of Nickel and other metals lies in the ability to harness data effectively, and the Metals-API stands at the forefront of this transformation.
API Description
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on various metals, including Nickel. This API empowers users to build next-generation applications that can track prices, analyze trends, and facilitate trading strategies. With its comprehensive capabilities, the Metals-API is a game-changer for anyone involved in the metal markets.
For more information, you can visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the metal trading ecosystem. 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 your plan, you can receive updates every 60 minutes or even every 10 minutes, ensuring you have the most current 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, allowing for in-depth analysis and trend identification.
- Bid And Ask Endpoint: This feature enables you 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, allowing you to convert any amount from one metal to another or to/from USD. This is particularly useful for traders operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, enabling you to analyze price movements over specific periods.
- Fluctuation Endpoint: Track how Nickel prices fluctuate on a day-to-day basis, providing insights into market volatility and trends.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to retrieve the open, high, low, and close prices for Nickel over a specified time period, essential for technical analysis.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for Nickel over a specified date range, helping you identify price extremes.
- Historical LME Endpoint: Access historical rates for LME symbols, dating back to 2008, which is invaluable for long-term market analysis.
- API Key: Your unique API key is required for authentication and must be included in your requests to access the API's features.
- API Response: The Metals-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 metal symbols, ensuring you have access to the latest data.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market developments and trends.
For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of various endpoints and their expected JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1771978254,
"base": "USD",
"date": "2026-02-25",
"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": 1771891854,
"base": "USD",
"date": "2026-02-24",
"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": "2026-02-18",
"end_date": "2026-02-25",
"base": "USD",
"rates": {
"2026-02-18": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-20": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-25": {
"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": 1771978254,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-18",
"end_date": "2026-02-25",
"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": 1771978254,
"base": "USD",
"date": "2026-02-25",
"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": 1771978254,
"base": "USD",
"date": "2026-02-25",
"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 an invaluable resource for developers and businesses looking to stay ahead in the dynamic metal markets. By providing real-time and historical data on Nickel and other metals, this API empowers users to make informed decisions, optimize trading strategies, and harness the power of data analytics. As the demand for Nickel continues to grow, leveraging the capabilities of the Metals-API will be essential for navigating the complexities of the market.
For further exploration of the API's features, visit the Metals-API Documentation and discover how you can integrate these powerful tools into your applications. Stay informed about market trends and developments by checking the Metals-API Supported Symbols page and ensure you have access to the latest data.
In a world where data drives decisions, the Metals-API stands as a beacon of innovation, enabling developers to create solutions that not only meet current demands but also anticipate future trends in the metal markets.