Access LME Steel HRC FOB China (STEEL-HR) Historical Prices through this API

Access LME Steel HRC FOB China (STEEL-HR) Historical Prices through this API
In the rapidly evolving landscape of metal markets, the ability to access real-time and historical data is paramount for developers and businesses alike. One such invaluable resource is the LME Steel HRC FOB China (STEEL-HR) data, which can be accessed through the Metals-API. This blog post will delve into the significance of this API, its capabilities, and how developers can leverage it to obtain historical prices and other essential data.
Metals-API Information
About LME Steel HRC FOB China (STEEL-HR)
The LME Steel HRC FOB China (STEEL-HR) is a critical indicator in the global steel market, reflecting the price of hot-rolled coil steel delivered free on board from China. As digital transformation sweeps across industries, the metal markets are no exception. The integration of technological innovations and advancements in data analytics has revolutionized how stakeholders interact with market data.
With the rise of smart technology, the demand for real-time insights has surged. Developers can harness the power of the Metals-API to build applications that provide users with up-to-date information on steel prices, historical trends, and market fluctuations. This capability not only enhances decision-making but also empowers businesses to adapt to market changes swiftly.
API Description
The Metals-API is designed to provide developers with a comprehensive suite of tools to access metals prices and perform currency conversions. This API stands out due to its innovative approach to delivering real-time data, allowing developers to create next-generation applications that can analyze market trends, forecast prices, and provide insights into the metals market.
By utilizing the Metals-API, developers can tap into a wealth of data, including the latest rates, historical prices, and various other endpoints that cater to different needs. The API's transformative potential lies in its ability to provide accurate and timely information, which is crucial for making informed decisions in a volatile market.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different requirements. 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 the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that users have access to the most current market information.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices for analysis and reporting.
- Bid And Ask Endpoint: This feature enables users to obtain real-time bid and ask prices for metals, which is essential for traders looking to make informed buying and selling decisions.
- Convert Endpoint: The API includes a currency conversion endpoint that allows users to convert amounts between different metals or to/from USD, facilitating seamless transactions and calculations.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, providing a comprehensive view of price trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate day-to-day, which is crucial for understanding market volatility and making strategic decisions.
- Carat Endpoint: This endpoint provides information about gold rates by carat, allowing users to obtain precise pricing based on quality.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, which is useful for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, offering a detailed snapshot of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for extensive analysis of long-term trends.
- API Key: Each user is assigned a unique API key, which 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, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API features numerous endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available metal symbols, ensuring users have access to the latest information.
- Gold Price India Endpoint: Retrieve the latest gold prices in India using this dedicated endpoint, which is particularly useful for regional market analysis.
- News Endpoint: The API provides access to the latest news articles related to various metals, keeping users informed about market developments.
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. This resource is invaluable for developers looking to integrate specific metal data into their applications.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Here are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1748822781,
"base": "USD",
"date": "2025-06-02",
"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"
}
The response indicates a successful request, providing the latest rates for various metals, with the base currency being USD. Each rate is expressed in terms of troy ounces, which is the standard measurement for precious metals.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1748736381,
"base": "USD",
"date": "2025-06-01",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates for a specific date, allowing developers to analyze past market performance. The timestamp indicates when the data was retrieved, ensuring users have the most accurate information.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-05-26",
"end_date": "2025-06-02",
"base": "USD",
"rates": {
"2025-05-26": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-28": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-02": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series response provides a detailed view of how metal prices have changed over a specified period. This data is essential for trend analysis and forecasting.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1748822781,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of an amount from USD to gold (XAU). The result indicates how many troy ounces of gold can be obtained for the specified amount of USD, which is crucial for traders and investors.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-26",
"end_date": "2025-06-02",
"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"
}
The fluctuation response provides insights into how metal prices have changed over a specific period, detailing both the absolute change and the percentage change. This information is vital for understanding market dynamics.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1748822781,
"base": "USD",
"date": "2025-06-02",
"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"
}
This endpoint provides a comprehensive view of the market for a specific date, detailing the opening, highest, lowest, and closing prices. This data is essential for traders looking to analyze market performance and make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1748822781,
"base": "USD",
"date": "2025-06-02",
"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"
}
The bid/ask response provides crucial information for traders, detailing the current bid and ask prices along with the spread. This data is essential for executing trades effectively.
Conclusion
Accessing LME Steel HRC FOB China (STEEL-HR) historical prices through the Metals-API offers developers a powerful tool to navigate the complexities of the metal markets. With its extensive range of endpoints and real-time data capabilities, the API empowers users to build innovative applications that can analyze market trends, forecast prices, and provide actionable insights.
By leveraging the various features of the Metals-API, developers can create solutions that not only enhance decision-making but also drive efficiency in trading and investment strategies. The ability to access historical data, track fluctuations, and convert currencies seamlessly positions the Metals-API as an essential resource for anyone involved in the metals market.
For more information on how to implement these features and access the full capabilities of the Metals-API, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metal symbols.