Query LME Zinc (LME-ZNC) prices via this API

Introduction
In the ever-evolving landscape of metal markets, the ability to access real-time data is paramount for traders, analysts, and developers alike. One of the most significant players in this space is Zinc, represented by the symbol XZN. As a critical industrial metal, Zinc's price fluctuations can have far-reaching implications across various sectors, including construction, automotive, and electronics. To navigate these complexities, the Metals-API offers a robust solution for querying LME Zinc prices and other metal data through a comprehensive API.
Metals-API Information
About Zinc (XZN)
Zinc is a versatile metal known for its corrosion resistance and is widely used in galvanizing steel, alloy production, and battery manufacturing. As the world moves towards digital transformation, the metal markets are experiencing a significant shift driven by technological innovation and advancements in data analytics. The integration of smart technology in trading and market analysis is paving the way for more informed decision-making processes.
With the rise of data analytics, stakeholders in the metal markets can now leverage insights derived from real-time data to predict trends and make strategic decisions. The future of Zinc trading is likely to be characterized by increased automation, enhanced data visualization tools, and predictive analytics, all of which can be accessed through the Metals-API.
API Description
The Metals-API is designed to empower developers by providing access to real-time metals data, including LME Zinc prices. This API enables the creation of next-generation applications that can analyze market trends, perform currency conversions, and retrieve historical data with ease. By utilizing the Metals-API, developers can build applications that not only enhance trading strategies but also provide valuable insights into market dynamics.
With its user-friendly interface and comprehensive documentation, the Metals-API allows for seamless integration into existing systems. The API supports various endpoints that cater to different data needs, ensuring that users can access the information they require in a timely manner.
Key Features and Endpoints
The Metals-API offers a range of powerful features that can be utilized by developers to enhance their applications. Here are some of the key endpoints and their functionalities:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for various metals, including Zinc. Depending on your subscription plan, this endpoint can return data updated every 60 minutes or even every 10 minutes. This feature is crucial for traders who need to make quick decisions based on the latest market conditions.
{
"success": true,
"timestamp": 1749427727,
"base": "USD",
"date": "2025-06-09",
"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 to historical rates is essential for analyzing market trends over time. The Historical Rates Endpoint allows users to query rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for conducting in-depth analyses and understanding price movements.
{
"success": true,
"timestamp": 1749341327,
"base": "USD",
"date": "2025-06-08",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that provides real-time bid and ask prices for metals, including Zinc. This endpoint is particularly useful for traders looking to execute buy or sell orders at optimal prices. Depending on your subscription plan, this data can be accessed with varying frequencies.
{
"success": true,
"timestamp": 1749427727,
"base": "USD",
"date": "2025-06-09",
"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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1749427727,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint enables users to query the API for daily historical rates between two specified dates. This feature is essential for conducting trend analyses and understanding price movements over time.
{
"success": true,
"timeseries": true,
"start_date": "2025-06-02",
"end_date": "2025-06-09",
"base": "USD",
"rates": {
"2025-06-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-09": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how prices fluctuate between two dates. This feature is crucial for traders looking to understand market volatility and make informed decisions based on price trends.
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-02",
"end_date": "2025-06-09",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides essential data for traders by delivering the open, high, low, and close prices for a specific time period. This data is crucial for technical analysis and helps traders identify potential entry and exit points.
{
"success": true,
"timestamp": 1749427727,
"base": "USD",
"date": "2025-06-09",
"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"
}
Historical LME Endpoint
The Historical LME Endpoint allows users to access historical rates for LME symbols, including Zinc, dating back to 2008. This endpoint is particularly useful for long-term analyses and understanding historical price trends.
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.
Conclusion
In conclusion, the XZN symbol for Zinc represents a vital component of the global metal markets. The Metals-API offers a powerful suite of tools for developers looking to harness real-time data for trading and analysis. With features such as the Latest Rates Endpoint, Historical Rates Endpoint, and various conversion and fluctuation tools, the API provides a comprehensive solution for accessing and analyzing metal prices.
As the industry continues to evolve with technological advancements, the integration of real-time data into trading strategies will become increasingly important. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance decision-making processes and drive success in the metal markets.
For more information on how to get started with the Metals-API, check out the Metals-API Documentation for detailed guidance on implementation and usage.