Retrieve Zinc - LME 3-month (ZNC3M) Historical Prices for Your Application using this API
Retrieve Zinc - LME 3-month (ZNC3M) Historical Prices for Your Application using this API
In today's rapidly evolving digital landscape, the demand for real-time data in the metals market has never been greater. Developers and businesses alike are seeking innovative solutions to access and analyze historical prices of metals, such as Zinc (XZN). The Metals-API provides a powerful platform that enables users to retrieve Zinc's historical prices and other valuable data seamlessly. This blog post will delve into the capabilities of the Metals-API, focusing on how to effectively utilize it to obtain Zinc's historical prices, while also exploring the broader implications of digital transformation in the metal markets.
About Zinc (XZN)
Zinc is a crucial metal in various industries, including construction, automotive, and electronics. As the world moves towards more sustainable practices, the demand for Zinc is expected to rise, driven by its essential role in galvanization and alloy production. The integration of smart technologies and data analytics in metal markets is transforming how businesses operate, allowing for more informed decision-making and strategic planning.
The Metals-API stands at the forefront of this transformation, offering developers the tools necessary to harness real-time data and insights. By utilizing the Metals-API, developers can create applications that not only track Zinc prices but also analyze trends and fluctuations, providing valuable insights into market dynamics.
API Description
The Metals-API is a robust platform designed to provide real-time and historical data on various metals, including Zinc. With its advanced capabilities, the API empowers developers to build next-generation applications that can analyze and visualize metal prices effectively. The API's innovative features include real-time exchange rates, historical data access, and comprehensive analytics tools.
For more information, visit the Metals-API Website or explore 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 data needs. Here are some of the key features that developers can leverage:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for Zinc and other metals, updated every 60 minutes or more frequently, depending on your subscription plan. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Developers can access historical rates for Zinc dating back to 2019. By appending a specific date to the API request, users can retrieve historical data, enabling them to analyze price trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for Zinc, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert amounts between different metals or to/from USD, facilitating easier financial analysis.
- Time-Series Endpoint: This endpoint enables users to query daily historical rates between two specified dates, making it easier to analyze trends and fluctuations over a defined period.
- Fluctuation Endpoint: Users can track how Zinc prices fluctuate on a day-to-day basis, providing insights into market volatility and helping businesses make informed decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides comprehensive price data, including the open, high, low, and close prices for Zinc over a specified time period, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols, including Zinc, dating back to 2008. This endpoint is invaluable for users needing extensive historical data for analysis.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate and authorize access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD, ensuring consistency in data presentation.
- Available Endpoints: The API features 14 endpoints, each designed to provide specific functionalities, ensuring comprehensive coverage of user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available metal symbols, allowing users to stay informed about the latest offerings.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including Zinc (XZN). For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals, including Zinc:
{
"success": true,
"timestamp": 1779322745,
"base": "USD",
"date": "2026-05-21",
"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": 1779236345,
"base": "USD",
"date": "2026-05-20",
"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-14",
"end_date": "2026-05-21",
"base": "USD",
"rates": {
"2026-05-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-21": {
"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": 1779322745,
"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-14",
"end_date": "2026-05-21",
"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": 1779322745,
"base": "USD",
"date": "2026-05-21",
"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": 1779322745,
"base": "USD",
"date": "2026-05-21",
"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 offers a comprehensive solution for developers looking to access and analyze historical prices of Zinc and other metals. With its extensive range of endpoints and real-time data capabilities, the API empowers users to build innovative applications that can transform how businesses operate in the metal markets. By leveraging the API's features, developers can gain valuable insights into price trends, fluctuations, and market dynamics, ultimately leading to more informed decision-making.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and stay updated with the latest offerings on the Metals-API Supported Symbols page. Embrace the future of metal market analytics with the Metals-API and unlock the potential of real-time data.