Query Titanium (TITANIUM) Historical Prices via this API

Query Titanium (TITANIUM) Historical Prices via this API
In the rapidly evolving landscape of metal markets, the ability to access historical prices for metals like Titanium (TITANIUM) has become increasingly important for developers and businesses alike. With the advent of APIs, particularly the Metals-API, accessing real-time and historical data has never been easier. This blog post will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices for Titanium and other metals, while also delving into the broader implications of digital transformation in the metal markets.
Metals-API Information
The Metals-API is a powerful tool designed for developers who need to integrate metal price data into their applications. It provides a comprehensive suite of endpoints that allow users to access real-time and historical pricing data for various metals, including Titanium. The API is built with innovation and technological advancement in mind, enabling developers to create next-generation applications that leverage real-time data analytics and insights.
About Titanium (TITANIUM)
Titanium is a versatile metal known for its strength, lightweight properties, and resistance to corrosion. It is widely used in aerospace, medical devices, and industrial applications. As the demand for Titanium continues to grow, so does the need for accurate and timely pricing information. The Metals-API empowers developers to access this data seamlessly, allowing for better decision-making and strategic planning.
Digital transformation in metal markets is reshaping how businesses operate. With the integration of smart technologies and data analytics, companies can now forecast trends, optimize supply chains, and enhance customer experiences. The Metals-API plays a crucial role in this transformation by providing real-time data that can be utilized for predictive analytics and market analysis.
API Description
The Metals-API is designed to provide developers with the tools they need to access and manipulate metal pricing data effectively. With a focus on technological advancement, the API offers a range of features that facilitate the integration of real-time data into applications. Developers can leverage this API to build applications that require accurate pricing information, historical data analysis, and currency conversion.
For detailed documentation on how to use the API, visit the Metals-API Documentation. The documentation provides comprehensive information on available endpoints, authentication methods, and response structures.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. 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.
- Historical Rates Endpoint: Access historical rates for most metals dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data.
- Bid and Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market conditions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert amounts between different metals or to/from USD.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, making it ideal for trend analysis.
- Fluctuation Endpoint: Track how metal prices fluctuate over time with this endpoint, which provides data on daily changes.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for traders and analysts.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for those involved in trading and investment.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate access.
- API Response: The API returns exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API offers multiple endpoints, each designed for specific functionalities, allowing for flexible integration.
- Supported Symbols Endpoint: This endpoint provides 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 price in India using this dedicated endpoint.
- News Endpoint: Stay updated with the latest news articles related to various metals through this endpoint.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of API responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1750906814,
"base": "USD",
"date": "2025-06-26",
"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
{
"success": true,
"timestamp": 1750820414,
"base": "USD",
"date": "2025-06-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-06-19",
"end_date": "2025-06-26",
"base": "USD",
"rates": {
"2025-06-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-26": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1750906814,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-19",
"end_date": "2025-06-26",
"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"
}
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1750906814,
"base": "USD",
"date": "2025-06-26",
"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"
}
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1750906814,
"base": "USD",
"date": "2025-06-26",
"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"
}
Conclusion
In conclusion, the Metals-API offers a robust solution for developers looking to access historical prices for metals like Titanium. With its wide range of endpoints, the API enables users to retrieve real-time data, historical rates, and perform conversions seamlessly. The integration of smart technology and data analytics into the metal markets is paving the way for more informed decision-making and strategic planning.
For those interested in exploring the full capabilities of the Metals-API, I encourage you to visit the Metals-API Website for more information. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available metal symbols, ensuring you have the necessary resources at your fingertips.
As the demand for accurate and timely metal pricing data continues to grow, leveraging APIs like the Metals-API will be essential for developers and businesses aiming to stay ahead in this competitive landscape.