Query Graphite South America (SA-GR) prices using this API
Introduction
In the ever-evolving landscape of metal markets, the ability to access real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful solution for querying prices of various metals, including Tellurium (TE), through its comprehensive API. This blog post will delve into the capabilities of the Metals-API, focusing on how it empowers developers to harness data analytics and insights for informed decision-making in the metal markets.
About Tellurium (TE)
Tellurium, represented by the symbol TE, is a rare metalloid that has gained attention due to its unique properties and applications. As industries increasingly embrace digital transformation, the demand for Tellurium is expected to rise, particularly in the fields of electronics and renewable energy. The integration of smart technologies and data analytics into metal markets is reshaping how businesses operate, allowing for more precise forecasting and strategic planning.
Technological innovation is at the forefront of this transformation. With advancements in data analytics, companies can now gain insights into market trends, price fluctuations, and demand forecasts. This capability is essential for stakeholders looking to optimize their operations and stay competitive in a rapidly changing environment. The future of Tellurium and other metals lies in the ability to leverage real-time data to make informed decisions.
Understanding the Metals-API
The Metals-API is a robust platform that provides developers with access to real-time and historical metal prices. This API is designed to facilitate the integration of metal pricing data into applications, enabling businesses to make data-driven decisions. The API supports a wide range of functionalities, making it an invaluable tool for developers in the financial and trading sectors.
Key Features of the Metals-API
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated according to your subscription plan. Depending on the plan, updates can occur every 60 minutes or even more frequently.
- Historical Rates Endpoint: Access historical rates dating back to 2019. This feature allows users to analyze past trends and make predictions based on historical data.
- Bid and Ask Endpoint: Retrieve real-time bid and ask prices, which are essential for traders looking to execute transactions at optimal prices.
- Convert Endpoint: This endpoint enables users to convert amounts between different metals or currencies, providing flexibility in financial calculations.
- Time-Series Endpoint: Query daily historical rates between two specified dates, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis, which is crucial for understanding market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, catering to jewelers and consumers interested in gold pricing.
- Lowest/Highest Price Endpoint: Get the lowest and highest prices for a specified date, which can help in identifying market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: Access detailed OHLC data for specific time periods, providing insights into market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is vital for traders dealing with LME metals.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Supported Symbols Endpoint: A constantly updated endpoint that returns all available metal symbols, ensuring users have the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
Detailed API Endpoint Documentation
Understanding how to effectively utilize the Metals-API requires familiarity with its endpoints. Below, we will explore several key endpoints in detail, providing examples and explanations of their functionality.
Latest Rates Endpoint
The Latest Rates Endpoint allows users to obtain real-time exchange rates for all available metals. This data is crucial for traders and analysts who need to make timely decisions based on current market conditions.
{
"success": true,
"timestamp": 1770682159,
"base": "USD",
"date": "2026-02-10",
"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"
}
In this response, the rates object contains the current prices for various metals, with values expressed in terms of troy ounces. This information is essential for traders looking to buy or sell metals based on the latest market prices.
Historical Rates Endpoint
Accessing historical rates is vital for understanding market trends over time. The Historical Rates Endpoint allows users to query rates for any date since 1999.
{
"success": true,
"timestamp": 1770595759,
"base": "USD",
"date": "2026-02-09",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical pricing data, which can be used for trend analysis and forecasting. By examining past prices, developers can build models to predict future movements in metal prices.
Time-Series Endpoint
The Time-Series Endpoint allows users to obtain exchange rates for a specific time period, which is particularly useful for analyzing trends and patterns in pricing.
{
"success": true,
"timeseries": true,
"start_date": "2026-02-03",
"end_date": "2026-02-10",
"base": "USD",
"rates": {
"2026-02-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint's response includes daily rates for the specified period, allowing developers to visualize trends and fluctuations in metal prices over time.
Convert Endpoint
The Convert Endpoint is particularly useful for applications that require currency conversion. Users can convert any amount from one metal to another or to/from USD.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1770682159,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response indicates that 1000 USD is equivalent to 0.482 troy ounces of gold (XAU), providing a clear and concise conversion result.
Fluctuation Endpoint
The Fluctuation Endpoint allows users to track how metal prices fluctuate between two specified dates, which is essential for understanding market volatility.
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-03",
"end_date": "2026-02-10",
"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"
}
This response provides detailed information about the price changes for each metal over the specified period, including both absolute and percentage changes.
OHLC (Open/High/Low/Close) Price Endpoint
The OHLC Price Endpoint provides essential data for traders looking to analyze market performance over a specific time period.
{
"success": true,
"timestamp": 1770682159,
"base": "USD",
"date": "2026-02-10",
"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 response includes the opening, highest, lowest, and closing prices for each metal, providing a comprehensive view of market activity.
Bid/Ask Endpoint
The Bid/Ask Endpoint is crucial for traders, as it provides the current bid and ask prices for metals, allowing for informed trading decisions.
{
"success": true,
"timestamp": 1770682159,
"base": "USD",
"date": "2026-02-10",
"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"
}
This response provides the current bid and ask prices, along with the spread, which is essential for traders to understand market liquidity and pricing dynamics.
Conclusion
The Metals-API is a transformative tool for developers and businesses operating in the metal markets. By providing real-time data and historical insights, the API empowers users to make informed decisions based on accurate and timely information. The ability to access various endpoints, such as the Latest Rates, Historical Rates, and Bid/Ask prices, enables developers to build sophisticated applications that cater to the needs of traders and analysts.
As industries continue to embrace digital transformation, the integration of smart technology and data analytics will play a pivotal role in shaping the future of metal markets. By leveraging the capabilities of the Metals-API, businesses can stay ahead of the curve, optimizing their operations and enhancing their decision-making processes.
For more information about the API's features and capabilities, visit the Metals-API Documentation and explore the comprehensive Metals-API Supported Symbols. By harnessing the power of real-time metals data, developers can unlock new possibilities and drive innovation in the metal markets.