Get Nickel China Spot (NI-CH) prices using this API
Introduction
In the rapidly evolving landscape of metal markets, obtaining accurate and real-time data is crucial for developers and businesses alike. The Nickel China Spot (NI-CH) prices are a significant indicator of market trends, and leveraging the right tools can empower developers to create innovative applications. One such tool is the Metals-API, which provides comprehensive access to real-time and historical metal prices, including Nickel. This blog post will delve into the intricacies of Nickel, its markets, and how the Metals-API can be utilized to harness valuable data for various applications.
Metals-API Information
About Nickel (XNI)
Nickel, represented by the symbol XNI, is a vital metal in various industries, particularly in the production of stainless steel and batteries. As the world transitions towards sustainable energy solutions, the demand for Nickel is expected to surge, driven by its use in electric vehicle batteries and renewable energy technologies. The digital transformation in metal markets is reshaping how data is collected, analyzed, and utilized. With the integration of smart technologies and data analytics, businesses can gain insights that were previously unattainable.
Technological innovations are paving the way for a more efficient and transparent market. The Metals-API stands at the forefront of this transformation, offering developers the ability to access real-time data and historical trends. By utilizing advanced data analytics, businesses can make informed decisions, optimize their operations, and stay ahead of the competition. The future of Nickel and its markets is bright, with possibilities for enhanced tracking, predictive analytics, and automated trading strategies.
API Description
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on metal prices, including Nickel. This API empowers users to build next-generation applications that can analyze market trends, perform currency conversions, and track price fluctuations. With its robust capabilities, the Metals-API is ideal for developers looking to create applications that require accurate and timely metal pricing information.
For more detailed information on how to implement this API, refer to the Metals-API Documentation. The documentation provides comprehensive guidance on the various endpoints available, including how to authenticate and utilize the API effectively.
Key Features and Endpoints
The Metals-API offers a range of features that cater to the diverse needs of developers. Here are some of the key endpoints and their functionalities:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring you have the most current information at your fingertips.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices, providing insights into market liquidity and helping traders make informed decisions.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD. This endpoint simplifies the process of currency conversion, making it easier for businesses to manage their transactions.
- Time-Series Endpoint: Query daily historical rates between two dates of your choice. This endpoint is particularly useful for analyzing trends over specific periods.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis. This feature is essential for understanding market volatility and making strategic decisions.
- Carat Endpoint: Retrieve information about Gold rates by Carat. This endpoint is useful for jewelers and those in the luxury goods market.
- Lowest/Highest Price Endpoint: Query the API to find the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a long-term view of market trends.
- API Key: Your unique API key is essential for accessing the API. It must be included in the API base URL's access_key parameter to authenticate your requests.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API includes 14 endpoints, each designed to provide specific functionalities tailored to developers' needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, ensuring you have the latest information at your disposal.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. 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 responses is crucial for effective implementation. 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": 1770768792,
"base": "USD",
"date": "2026-02-11",
"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": 1770682392,
"base": "USD",
"date": "2026-02-10",
"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-04",
"end_date": "2026-02-11",
"base": "USD",
"rates": {
"2026-02-04": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-06": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-11": {
"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": 1770768792,
"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-04",
"end_date": "2026-02-11",
"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": 1770768792,
"base": "USD",
"date": "2026-02-11",
"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": 1770768792,
"base": "USD",
"date": "2026-02-11",
"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 looking to access real-time and historical data on metals, including Nickel. By leveraging its various endpoints, developers can create applications that provide insights into market trends, perform currency conversions, and track price fluctuations. As the demand for metals continues to grow, especially in the context of sustainable energy solutions, the ability to access accurate data will be crucial for businesses and developers alike.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metal symbols. The future of metal markets is bright, and with the right tools, developers can harness the power of data to drive innovation and success.