Get accurate Steel Billet China Spot (STB-CH) prices using this API
Get Accurate Steel Billet China Spot (STB-CH) Prices Using This API
In today's fast-paced financial landscape, having access to real-time data is crucial for making informed decisions, especially in the metals market. The Metals-API provides developers with the tools necessary to access accurate Steel Billet China Spot (STB-CH) prices and other metal rates. This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, endpoints, and how it can transform the way developers interact with metal market data.
About Tellurium (TE)
As we explore the world of metals, it is essential to understand the digital transformation occurring within this sector. The integration of smart technology and data analytics is reshaping how metal markets operate. With the rise of technological innovation, developers can leverage APIs like the Metals-API to gain insights into market trends, fluctuations, and pricing. This API not only provides real-time data but also empowers developers to build applications that can analyze historical trends and predict future movements.
The Metals-API stands out by offering a comprehensive suite of features designed to meet the needs of technically proficient API developers. By utilizing advanced data analytics, developers can create applications that provide valuable insights into the metals market, including Tellurium (TE) and other precious metals.
API Description
The Metals-API is a powerful tool that allows developers to access real-time and historical data for various metals, including Steel Billet China Spot (STB-CH). This API is designed to facilitate the integration of metal pricing data into applications, enabling users to make informed decisions based on accurate and timely information. The API's capabilities include retrieving the latest rates, historical data, and even bid and ask prices, making it an essential resource for anyone involved in the metals market.
For detailed information on how to implement the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on using the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the metals market. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is crucial for traders who need to stay updated on market movements.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date to your query. This feature allows developers to analyze past trends and make predictions based on historical data.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: This endpoint allows users to convert any amount from one currency to another, facilitating transactions across different metal markets.
- Time-Series Endpoint: Query the API for daily historical rates between two specified dates, enabling developers to analyze trends over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific date, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is invaluable for long-term market analysis.
- 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, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 endpoints, each providing distinct functionalities to cater to various market needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals supported by the API.
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 how to interpret API responses is crucial for developers. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1782173460,
"base": "USD",
"date": "2026-06-23",
"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 above response indicates that the API successfully retrieved the latest rates for various metals, with the base currency being USD. Each metal's rate is provided per troy ounce, which is a standard measurement in the metals market.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1782087060,
"base": "USD",
"date": "2026-06-22",
"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 and trends.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-06-16",
"end_date": "2026-06-23",
"base": "USD",
"rates": {
"2026-06-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-23": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series response provides daily rates for the specified period, allowing for detailed analysis of trends and fluctuations.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1782173460,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response illustrates how to convert an amount from one currency to another, providing the conversion rate and the resulting value.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-16",
"end_date": "2026-06-23",
"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 endpoint provides insights into how rates have changed over a specified period, which is vital for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1782173460,
"base": "USD",
"date": "2026-06-23",
"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 market performance for a specific date, including the opening, highest, lowest, and closing prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1782173460,
"base": "USD",
"date": "2026-06-23",
"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 endpoint provides current bid and ask prices, which are essential for understanding market liquidity and making informed trading decisions.
Conclusion
The Metals-API is an invaluable resource for developers looking to access accurate and real-time data on metals, including Steel Billet China Spot (STB-CH) prices. With its comprehensive suite of features and endpoints, the API empowers developers to build applications that can analyze market trends, track fluctuations, and convert currencies seamlessly. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that enhance their understanding of the metals market.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation and the Metals-API Supported Symbols page. By integrating this powerful API into their applications, developers can stay ahead in the ever-evolving metals market.