Implement this API to access High Grade Copper Sep 2025 (HGU25) Historical Prices
Implement this API to access High Grade Copper Sep 2025 (HGU25) Historical Prices
In the ever-evolving landscape of metal markets, the demand for accurate and real-time data has never been more critical. The Metals-API provides a robust solution for developers looking to access historical prices for metals like High Grade Copper (HGU25) and other commodities. This blog post will delve into the capabilities of the Metals-API, focusing on how to effectively retrieve historical prices for Copper (XCU) and other metals, while exploring the transformative potential of real-time data in the metals market.
About Copper (XCU)
Copper is not just a metal; it is a cornerstone of modern technology and infrastructure. As we witness a digital transformation in metal markets, the integration of smart technologies and data analytics is reshaping how we interact with commodities. The rise of electric vehicles, renewable energy systems, and advanced electronics has significantly increased the demand for Copper. With the Metals-API, developers can harness the power of data analytics to gain insights into market trends, price fluctuations, and historical performance.
Technological innovation plays a pivotal role in this transformation. The Metals-API offers a suite of features that allow developers to build applications capable of real-time monitoring and analysis of metal prices. By leveraging data analytics, businesses can make informed decisions, optimize their supply chains, and enhance their trading strategies. The future of Copper and other metals lies in the ability to integrate smart technology with real-time data, paving the way for more efficient market operations.
API Description
The Metals-API is a powerful tool designed for developers seeking to access real-time and historical data for various metals, including Copper (XCU). This API empowers users to build next-generation applications that can analyze price trends, perform currency conversions, and track fluctuations over time. With a user-friendly interface and comprehensive documentation, the Metals-API simplifies the process of integrating metal price data into applications.
For more information, visit the Metals-API Website or check out 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:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on your plan, you can receive updates every 60 minutes or even every 10 minutes.
- Historical Rates Endpoint: Access historical rates for Copper and other metals dating back to 2019. By appending a specific date to your query, you can retrieve past prices and analyze trends over time.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: Easily convert amounts between different metals or to/from USD. This endpoint is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: Query daily historical rates between two dates of your choice, enabling you to analyze price movements over specific periods.
- Fluctuation Endpoint: Track how prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and traders in the precious metals market.
- Lowest/Highest Price Endpoint: Get the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access detailed OHLC data for specific dates, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is essential for accessing the API and should be included in your requests.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 endpoints, each offering distinct functionalities tailored to various data needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, allowing for real-time trading strategies.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1786752840,
"base": "USD",
"date": "2026-08-15",
"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": 1786666440,
"base": "USD",
"date": "2026-08-14",
"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-08-08",
"end_date": "2026-08-15",
"base": "USD",
"rates": {
"2026-08-08": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-10": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-15": {
"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": 1786752840,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-08",
"end_date": "2026-08-15",
"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": 1786752840,
"base": "USD",
"date": "2026-08-15",
"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": 1786752840,
"base": "USD",
"date": "2026-08-15",
"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 stands out as a vital resource for developers looking to access historical prices for metals like High Grade Copper (HGU25) and others. By leveraging the API's extensive features, including real-time rates, historical data, and advanced analytics, developers can create powerful applications that enhance decision-making in the metals market. The integration of smart technologies and data analytics will continue to shape the future of metal trading, making it essential for developers to stay informed about the latest trends and tools available.
For further exploration, consider diving into the Metals-API Documentation for detailed implementation guidance, or check the Metals-API Supported Symbols page for a comprehensive list of available metals. Embrace the future of metal trading with the power of real-time data and analytics!