Access High Grade Copper May 2026 (HGK26) prices in real-time using this API

Access High Grade Copper May 2026 (HGK26) Prices in Real-Time Using This API
Metals-API provides developers with the tools necessary to integrate real-time pricing data for various metals, including high-grade copper (HGK26). This blog post will delve into the significance of copper in the global market, explore the innovative capabilities of the Metals-API, and provide insights into how developers can leverage this API to create next-generation applications.
Metals-API Information
About Copper (XCU)
XCU, is one of the most widely used metals in the world, primarily due to its excellent electrical conductivity and malleability. It plays a crucial role in various industries, including construction, electronics, and renewable energy. As the world moves towards digital transformation, the copper market is witnessing significant changes driven by technological innovation and advancements in data analytics.
API Description
Metals-API is a powerful tool that enables developers to access real-time and historical data for various metals, including copper. This API is designed to empower developers to build applications that require up-to-date pricing information, making it an essential resource for anyone involved in the metals market. By utilizing the Metals-API, developers can create applications that provide insights into market trends, facilitate trading, and enhance decision-making processes.
Metals-API Documentation, which outlines the various features and capabilities of the API.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that users have access to the most current pricing information.
- Historical Rates Endpoint: Access historical rates for most metals dating back to 2019. Developers can query the API for historical rates by appending a specific date to the request, allowing for in-depth analysis of market trends over time.
- Bid And Ask Endpoint: This 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 from one metal to another or to/from USD, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, enabling comprehensive analysis of price movements over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility and trends.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, catering to specific market needs in the jewelry and investment sectors.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, aiding in market analysis and decision-making.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, essential for traders looking to analyze price movements.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for extensive market research and analysis.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format for easy integration.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring that developers have access to the latest information.
- Gold Price India Endpoint: Retrieve the latest gold prices in India using this dedicated endpoint, catering to specific regional market needs.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context and insights into market movements.
Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755770437,
"base": "USD",
"date": "2025-08-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": 1755684037,
"base": "USD",
"date": "2025-08-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-08-14",
"end_date": "2025-08-21",
"base": "USD",
"rates": {
"2025-08-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-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": 1755770437,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-14",
"end_date": "2025-08-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) Price Endpoint
{
"success": true,
"timestamp": 1755770437,
"base": "USD",
"date": "2025-08-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": 1755770437,
"base": "USD",
"date": "2025-08-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 an invaluable resource for developers looking to access real-time and historical data for metals like copper. By leveraging the API's various endpoints, developers can create applications that provide insights into market trends, facilitate trading, and enhance decision-making processes. The integration of advanced data analytics and smart technology in the metals market is transforming how stakeholders interact with pricing data, paving the way for a more efficient and transparent trading environment.
Metals-API Website and explore the extensive Metals-API Documentation for detailed guidance on implementation and usage.