Access historical Zinc - LME 3-month (ZNC3M) prices using this API

Access Historical Zinc - LME 3-Month (ZNC3M) Prices Using This API
Zinc (XZN) market, in particular, is experiencing significant transformations driven by technological advancements and data analytics. This blog post will explore the Zinc market, the innovative capabilities of the Metals-API, and how developers can leverage this powerful tool to access historical Zinc prices and other valuable data.
Metals-API Information
About Zinc (XZN)
API Description
Metals-API provides a suite of features that cater to the needs of developers looking to access metal prices, including Zinc. The API's capabilities are designed to facilitate innovation and technological advancement in the metal markets. With real-time data at their fingertips, developers can build applications that provide insights into market trends, price fluctuations, and historical data analysis.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for metals, allowing developers to access the most current prices. For example, querying the latest rates for Zinc will provide the current market price per troy ounce.
- Historical Rates Endpoint: Developers can access historical rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for analyzing trends over time and making informed predictions.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert amounts between different metals or to/from USD. This is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, making it easier to analyze price movements over time.
- Fluctuation Endpoint: Users can track how prices fluctuate between two dates, providing insights into market volatility and trends.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed pricing information, including the open, high, low, and close prices for a specific time period, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive 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 presentation.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring developers have access to the most current information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745193738,
"base": "USD",
"date": "2025-04-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
{
"success": true,
"timestamp": 1745107338,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-14",
"end_date": "2025-04-21",
"base": "USD",
"rates": {
"2025-04-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745193738,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-14",
"end_date": "2025-04-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
{
"success": true,
"timestamp": 1745193738,
"base": "USD",
"date": "2025-04-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
{
"success": true,
"timestamp": 1745193738,
"base": "USD",
"date": "2025-04-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
Metals-API is a powerful tool for developers looking to access real-time and historical data for metals like Zinc. By leveraging its comprehensive features, developers can create innovative applications that provide valuable insights into market trends and pricing dynamics. The ability to access data through various endpoints, such as the Latest Rates, Historical Rates, and Fluctuation endpoints, allows for in-depth analysis and informed decision-making.
Metals-API Documentation and exploring the Metals-API Supported Symbols, developers can stay ahead of the curve and harness the power of real-time data.
Metals-API Website today.