Retrieve Pricing Information for High Grade Copper Feb 2026 (HGG26) with this API
Retrieve Pricing Information for High Grade Copper Feb 2026 (HGG26) with this API
In the ever-evolving landscape of metal markets, the need for accurate and real-time pricing information has never been more crucial. The Metals-API provides developers with a powerful tool to access up-to-date pricing data for various metals, including High Grade Copper (HGG26) for February 2026. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for Gold (XAU) and the transformative potential of real-time metals data.
About Copper (XCU)
Copper, represented by the symbol XCU, is a fundamental metal in various industries, including construction, electronics, and renewable energy. As the world shifts towards digital transformation, the copper market is also experiencing significant changes. Technological innovations, such as smart technology integration and advanced data analytics, are reshaping how market participants access and utilize pricing information. The future of copper pricing is not just about numbers; itβs about insights derived from data that can drive strategic decisions.
API Description
The Metals-API is designed to empower developers to build next-generation applications that leverage real-time metals data. With its robust infrastructure, the API provides seamless access to a plethora of endpoints, each offering unique functionalities. Whether you are looking to retrieve the latest rates, historical data, or perform conversions, the Metals-API has you covered. The API's capabilities extend beyond mere data retrieval; it enables developers to integrate advanced analytics and insights into their applications, fostering innovation in the metal markets.
For more detailed information, you can refer to the Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the metal pricing domain. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. It allows developers to access the most current pricing information, which is essential for making informed trading decisions.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date to your query. This feature is invaluable for analyzing market trends and understanding price movements over time.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, which is crucial for traders looking to execute transactions at optimal prices.
- Convert Endpoint: This endpoint allows for seamless currency conversion, enabling users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for international transactions.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing a comprehensive view of price movements over a specified period.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, offering insights into market volatility and trends.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and investors in the gold market.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, helping users identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for a specific time period, allowing for in-depth technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for understanding long-term market trends.
- API Key: Your unique API key is essential for accessing the API and must be included in your requests.
- API Response: The API delivers exchange rates relative to USD, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API includes 14 endpoints, each providing distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring you have the most current information at your fingertips.
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": 1783210537,
"base": "USD",
"date": "2026-07-05",
"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": 1783124137,
"base": "USD",
"date": "2026-07-04",
"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-06-28",
"end_date": "2026-07-05",
"base": "USD",
"rates": {
"2026-06-28": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-30": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-07-05": {
"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": 1783210537,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-28",
"end_date": "2026-07-05",
"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": 1783210537,
"base": "USD",
"date": "2026-07-05",
"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": 1783210537,
"base": "USD",
"date": "2026-07-05",
"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 is an invaluable resource for developers seeking to access real-time and historical pricing information for metals such as High Grade Copper and Gold. By leveraging the various endpoints offered by the API, developers can create applications that provide insights into market trends, facilitate trading, and enhance decision-making processes. The ability to retrieve historical prices, track fluctuations, and convert between different metals and currencies opens up a world of possibilities for innovation in the metal markets.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page. Embrace the future of metal pricing with the Metals-API and unlock the potential of real-time data.