Access High Grade Copper Dec 2025 (HGZ25) Historical Prices through this API

Access High Grade Copper Dec 2025 (HGZ25) Historical Prices through this API
Metals-API provides a robust solution. This API empowers users to retrieve historical prices, analyze trends, and integrate valuable data into their applications seamlessly. In this blog post, we will explore the capabilities of the Metals-API, focusing on copper (XCU) and how to effectively utilize its features to access historical prices.
About Copper (XCU)
Metals-API Overview
Metals-API is a powerful tool designed for developers seeking to integrate metals pricing data into their applications. With its user-friendly interface and extensive documentation, the API allows users to access real-time and historical data for various metals, including copper. The API's capabilities extend beyond mere price retrieval; it empowers developers to build next-generation applications that can analyze trends, forecast prices, and optimize trading strategies.
Key Features and Endpoints
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes or 10 minutes. For instance, if you want to check the latest copper price, you can make a simple API call to retrieve the current rate.
- Historical Rates Endpoint: This feature allows users to access historical exchange rates for copper and other metals. By specifying a date, developers can retrieve past prices, which is essential for trend analysis and forecasting.
- Bid and Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for copper. Understanding the bid-ask spread is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The conversion feature allows users to convert any amount from one metal to another or to/from USD. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice. Developers can analyze price movements over specific periods, providing insights into market trends.
- Fluctuation Endpoint: Users can track how copper prices fluctuate on a day-to-day basis, which is vital for understanding market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed OHLC data for copper prices, allowing users to analyze price movements throughout the trading day.
- Historical LME Endpoint: Access historical rates for LME symbols, including copper, dating back to 2008. This is particularly valuable for users interested in long-term trends.
- API Key: Each user is assigned a unique API key, which is essential for authentication and authorization when making API requests.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency across all data retrieved.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring users have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to copper and other metals, keeping users informed about market developments.
Detailed API Endpoint Documentation
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753664683,
"base": "USD",
"date": "2025-07-28",
"rates": {
"XCU": 0.294118
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1753578283,
"base": "USD",
"date": "2025-07-27",
"rates": {
"XCU": 0.292000
},
"unit": "per troy ounce"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-21",
"end_date": "2025-07-28",
"base": "USD",
"rates": {
"2025-07-21": {
"XCU": 0.290000
},
"2025-07-28": {
"XCU": 0.294118
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XCU",
"amount": 1000
},
"info": {
"timestamp": 1753664683,
"rate": 0.294118
},
"result": 294.118,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-21",
"end_date": "2025-07-28",
"base": "USD",
"rates": {
"XCU": {
"start_rate": 0.290000,
"end_rate": 0.294118,
"change": 0.004118,
"change_pct": 1.42
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1753664683,
"base": "USD",
"date": "2025-07-28",
"rates": {
"XCU": {
"open": 0.290000,
"high": 0.295000,
"low": 0.289000,
"close": 0.294118
}
},
"unit": "per troy ounce"
}
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1753664683,
"base": "USD",
"date": "2025-07-28",
"rates": {
"XCU": {
"bid": 0.293000,
"ask": 0.295000,
"spread": 0.002000
}
},
"unit": "per troy ounce"
}
Common Developer Questions
- How do I authenticate my API requests? Each API request must include your unique API key as a parameter to authenticate your access.
- What are the rate limits for API requests? Rate limits vary based on your subscription plan. Be sure to check the documentation for specific limits.
- How can I handle errors in API responses? The API provides detailed error messages in the response, allowing developers to troubleshoot issues effectively.
Conclusion
Metals-API. By leveraging its extensive features, developers can retrieve real-time and historical data, analyze trends, and build applications that cater to the evolving needs of the metal markets. The API's capabilities, including the Latest Rates, Historical Rates, and various conversion endpoints, provide a comprehensive toolkit for any developer looking to integrate metals data into their projects.
Metals-API Documentation, developers can explore the full range of features and capabilities, ensuring they have the tools necessary to succeed in this dynamic market. For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.