Get Internet Computer (ICP) prices using this API
Introduction
The Internet Computer (ICP) is a revolutionary blockchain technology that aims to extend the functionality of the internet by enabling developers to build and deploy applications directly on the web. As the demand for real-time data and insights in various markets grows, the need for reliable APIs becomes increasingly critical. One such API that stands out in the realm of metals trading is the Metals-API. This API provides developers with the ability to access real-time and historical data on metal prices, empowering them to create innovative applications that can transform the way we interact with metal markets.
Understanding the Metals-API
The Metals-API is designed to provide comprehensive data on metal prices, allowing developers to integrate this information into their applications seamlessly. With its robust features, the API enables users to access real-time exchange rates, historical data, and various analytical tools that can enhance decision-making processes in trading and investment. The API is particularly useful for developers looking to leverage data analytics and insights to drive digital transformation in metal markets.
About Tellurium (TE)
Tellurium, represented by the symbol TE, is a fascinating metal that plays a crucial role in various technological advancements. As industries increasingly focus on digital transformation, the demand for metals like Tellurium is expected to rise. This metal is often used in the production of solar panels, thermoelectric devices, and other high-tech applications. By utilizing the Metals-API, developers can gain insights into the pricing trends and market dynamics of Tellurium, enabling them to make informed decisions in their projects.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data on metal prices. It is designed to support a wide range of applications, from trading platforms to market analysis tools. The API's capabilities include:
- Real-time exchange rate data updated frequently based on subscription plans.
- Historical rates dating back to 2019, allowing for in-depth market analysis.
- Bid and ask prices for metals, providing insights into market liquidity.
- Currency conversion capabilities for seamless transactions across different currencies.
- Time-series data for tracking price movements over specific periods.
- Fluctuation data to analyze day-to-day changes in metal prices.
- Information on gold rates by carat, which is essential for jewelry and investment purposes.
- Access to the lowest and highest prices over specified periods.
- Open, high, low, and close (OHLC) price data for comprehensive market analysis.
- Historical LME (London Metal Exchange) rates for in-depth market insights.
- Latest news articles related to various metals, keeping users informed about market trends.
For more detailed information, developers can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Hereβs a closer look at some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for various metals. Depending on the subscription plan, this endpoint can return data updated every 60 minutes or even more frequently. This feature is particularly useful for traders who need to make quick decisions based on the latest market information.
{
"success": true,
"timestamp": 1775347748,
"base": "USD",
"date": "2026-04-05",
"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
This endpoint allows users to access historical exchange rates for any date since 1999. By appending a specific date to the API call, developers can retrieve valuable data for analysis and reporting.
{
"success": true,
"timestamp": 1775261348,
"base": "USD",
"date": "2026-04-04",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint provides real-time bid and ask prices for metals, allowing traders to gauge market sentiment and liquidity. This feature is essential for making informed trading decisions.
{
"success": true,
"timestamp": 1775347748,
"base": "USD",
"date": "2026-04-05",
"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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1775347748,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for analyzing trends and making predictions based on past performance.
{
"success": true,
"timeseries": true,
"start_date": "2026-03-29",
"end_date": "2026-04-05",
"base": "USD",
"rates": {
"2026-03-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-31": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-05": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how metal prices fluctuate on a day-to-day basis. This feature is essential for traders looking to understand market volatility and make strategic decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-29",
"end_date": "2026-04-05",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to retrieve open, high, low, and close prices for a specific time period. This data is crucial for traders who rely on technical analysis to make informed decisions.
{
"success": true,
"timestamp": 1775347748,
"base": "USD",
"date": "2026-04-05",
"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"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for users interested in analyzing long-term trends in metal prices.
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 understand the various metals available for trading and analysis.
Conclusion
The Internet Computer (ICP) represents a significant leap forward in the way applications are built and deployed on the web. By leveraging the capabilities of the Metals-API, developers can access real-time and historical data on metal prices, enabling them to create innovative applications that meet the demands of modern markets. With features such as real-time exchange rates, historical data, and various analytical tools, the Metals-API empowers developers to drive digital transformation in metal markets. As industries continue to evolve, the integration of smart technology and data analytics will play a crucial role in shaping the future of trading and investment.