Retrieve accurate Steel Scrap HMS 1&2 (SCRAP-HM) prices using this API
Retrieve Accurate Steel Scrap HMS 1&2 (SCRAP-HM) Prices Using This API
In the rapidly evolving landscape of metal markets, the ability to retrieve accurate and real-time data is paramount for developers and businesses alike. The Metals-API serves as a powerful tool for accessing current and historical prices of various metals, including Steel Scrap HMS 1&2 (SCRAP-HM). This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, technical specifications, and how it can transform the way developers interact with metal pricing data.
About Tellurium (TE)
As we explore the world of metals, it is essential to consider the broader implications of digital transformation in metal markets. The integration of technological innovations and advancements has paved the way for enhanced data analytics and insights. Smart technology integration is not just a trend; it is a necessity for staying competitive in the market. Future trends indicate a growing reliance on real-time data, which is where the Metals-API shines.
With the Metals-API, developers can harness the power of data to create next-generation applications that provide users with up-to-date information on metal prices, including Tellurium (TE). The API's capabilities extend beyond mere price retrieval; it empowers developers to build applications that analyze trends, forecast prices, and optimize trading strategies.
API Description
The Metals-API is a comprehensive JSON API designed to provide real-time and historical data on metal prices. It offers a wide range of functionalities that cater to the needs of developers looking to integrate metal pricing data into their applications. The API's transformative potential lies in its ability to deliver accurate data that can be utilized for various applications, from trading platforms to market analysis tools.
For more information, you can visit the Metals-API Website or check the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API boasts an array of endpoints, each designed to fulfill specific requirements of developers. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even every 10 minutes, ensuring that users have access to the most current prices.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date (in YYYY-MM-DD format) to the endpoint, developers can retrieve past pricing data, which is crucial for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for various metals, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion feature, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for international transactions and trading.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two selected dates, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how metal prices fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and traders dealing in precious metals.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of metals over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can access open, high, low, and close prices for specific dates, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is invaluable for traders and analysts focusing on the London Metal Exchange.
- API Key: Each user is assigned 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, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 different endpoints, each offering unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, which is crucial for high-frequency trading applications.
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
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoints along with their JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1787789453,
"base": "USD",
"date": "2026-08-27",
"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 timestamp, base currency (USD), and the latest rates for various metals. Each metal is represented by its symbol, with the rate specified per troy ounce.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1787703053,
"base": "USD",
"date": "2026-08-26",
"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.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-08-20",
"end_date": "2026-08-27",
"base": "USD",
"rates": {
"2026-08-20": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-22": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-27": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series response provides daily rates for the specified period, enabling developers to visualize trends and fluctuations in metal prices.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1787789453,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response illustrates the conversion of 1000 USD to its equivalent in troy ounces of gold (XAU), providing both the conversion rate and the result.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-20",
"end_date": "2026-08-27",
"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 details the changes in rates over the specified period, providing insights into market volatility.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1787789453,
"base": "USD",
"date": "2026-08-27",
"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's performance for a specific date, detailing the opening, highest, lowest, and closing prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1787789453,
"base": "USD",
"date": "2026-08-27",
"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 critical information for traders, detailing the current bid and ask prices along with the spread for each metal.
Conclusion
The Metals-API is an invaluable resource for developers looking to integrate real-time metal pricing data into their applications. With its extensive range of endpoints and features, it empowers users to access accurate data, analyze trends, and make informed decisions in the metal markets. Whether you are interested in the latest rates, historical data, or fluctuations, the Metals-API provides the tools necessary for comprehensive market analysis.
For more information on how to implement the Metals-API in your projects, refer to the Metals-API Documentation. To explore the full range of supported symbols, visit the Metals-API Supported Symbols page. The future of metal trading is here, and with the Metals-API, you can stay ahead of the curve.