Access Nickel - LME 3-month (NI3M) Exchange Rates with JSON API Documentation in JSON Format
Access Nickel - LME 3-month (NI3M) Exchange Rates with JSON API Documentation in JSON Format
In today's fast-paced financial landscape, the ability to access real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful JSON API that allows users to retrieve exchange rates for various metals, including Nickel (XNI). This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve Gold (XAU) exchange rates in JSON format, while also exploring the transformative potential of real-time metals data.
About Nickel (XNI)
Nickel is a vital metal in the modern economy, playing a significant role in various industries, including electronics, batteries, and stainless steel production. As digital transformation continues to reshape metal markets, the demand for accurate and timely data has never been greater. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to integrate real-time data into their applications.
Technological innovation and advancement in data analytics are key themes in the world of metals trading. By leveraging smart technology integration, developers can create applications that provide insights into market trends, enabling businesses to make informed decisions. The Metals-API empowers developers to build next-generation applications that harness the power of real-time metals data.
API Description
The Metals-API is a comprehensive solution for accessing metals prices and currency conversion data. With a focus on innovation and technological advancement, this API allows users to retrieve real-time exchange rates, historical data, and much more. The API is designed to be user-friendly, making it easy for developers to integrate into their applications.
For more information, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on using the API.
Key Features and Endpoints
The Metals-API offers a range of endpoints that provide various functionalities. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a date (YYYY-MM-DD) to the endpoint. This allows developers to analyze trends over time and make data-driven decisions.
- Bid And Ask Endpoint: Retrieve real-time Bid and Ask prices, which are crucial for traders looking to execute transactions at the best possible rates.
- Convert Endpoint: This endpoint allows users to convert any amount from one currency to another, facilitating seamless transactions across different metals and currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is particularly useful for analyzing market trends over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility and helping traders make informed decisions.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and those in the luxury goods market.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specific date, allowing for quick assessments of market performance.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is vital for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, enabling long-term analysis of market trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals supported by the API.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
List of Symbols
The 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 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": 1778580462,
"base": "USD",
"date": "2026-05-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": 1778494062,
"base": "USD",
"date": "2026-05-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": "2026-05-05",
"end_date": "2026-05-12",
"base": "USD",
"rates": {
"2026-05-05": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-07": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-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": 1778580462,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-05",
"end_date": "2026-05-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": 1778580462,
"base": "USD",
"date": "2026-05-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": 1778580462,
"base": "USD",
"date": "2026-05-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
In conclusion, the Metals-API provides a robust and flexible solution for accessing real-time metals data, including exchange rates for Nickel (XNI) and Gold (XAU). By leveraging the various endpoints offered by the API, developers can create powerful applications that provide valuable insights into market trends and fluctuations.
With features such as the Latest Rates Endpoint, Historical Rates Endpoint, and Bid/Ask Endpoint, the Metals-API empowers developers to build applications that meet the demands of today's fast-paced financial environment. For more information on how to integrate these features into your applications, refer to the Metals-API Documentation.
As the metal markets continue to evolve, staying informed and utilizing real-time data will be key to success. Explore the Metals-API Supported Symbols to discover the full range of metals available through the API and start building your next innovative application today.