Collect the Latest Tin - LME 3-month (TIN3M) Historical Prices using this API
Introduction
In the ever-evolving landscape of metal markets, the demand for accurate and real-time data has never been more critical. For developers and analysts looking to collect the latest tin prices, particularly the LME 3-month (TIN3M) historical prices, the Metals-API offers a robust solution. This API not only provides access to real-time and historical data but also empowers developers to create applications that can analyze trends, forecast prices, and make informed decisions based on comprehensive data analytics.
About Tin (XSN)
Tin, represented by the symbol XSN, is a vital metal in various industries, including electronics, construction, and packaging. As the world embraces digital transformation, the integration of smart technologies and data analytics in metal markets is becoming increasingly important. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to harness the power of real-time metals data.
Technological innovations in data collection and analysis have paved the way for more accurate forecasting and trend analysis in the metal markets. With the Metals-API, developers can access a wealth of information that can be used to build applications capable of providing insights into market fluctuations, historical trends, and future possibilities.
API Description
The Metals-API is designed to provide developers with a comprehensive suite of tools for accessing metals data. Its capabilities extend beyond simple data retrieval; it allows for the integration of advanced analytics and real-time updates, making it a powerful resource for anyone involved in the metal markets.
With the Metals-API, developers can build next-generation applications that leverage real-time data to inform trading strategies, investment decisions, and market analysis. The API's ability to deliver timely and accurate information is crucial for staying competitive in a fast-paced market.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different needs within the metal market. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This endpoint is essential for developers who need up-to-the-minute pricing information to inform their applications.
{
"success": true,
"timestamp": 1783729083,
"base": "USD",
"date": "2026-07-11",
"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
For those interested in analyzing trends over time, the Historical Rates Endpoint allows users to access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve valuable historical data that can be used for trend analysis and forecasting.
{
"success": true,
"timestamp": 1783642683,
"base": "USD",
"date": "2026-07-10",
"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 is a powerful feature that enables developers to retrieve real-time bid and ask prices for metals. This information is crucial for traders who need to make quick decisions based on current market conditions.
{
"success": true,
"timestamp": 1783729083,
"base": "USD",
"date": "2026-07-11",
"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 applications that require currency conversion for pricing or trading purposes.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1783729083,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows developers to query the API for daily historical rates between two dates of their choice. This feature is invaluable for conducting in-depth analyses and understanding market trends over specific periods.
{
"success": true,
"timeseries": true,
"start_date": "2026-07-04",
"end_date": "2026-07-11",
"base": "USD",
"rates": {
"2026-07-04": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-06": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-07-11": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
Using the Fluctuation Endpoint, developers can retrieve information about how currencies fluctuate on a day-to-day basis. This endpoint is essential for understanding market volatility and making informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-04",
"end_date": "2026-07-11",
"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 provides developers with the open, high, low, and close prices for a specific time period. This data is crucial for traders who rely on historical price movements to inform their strategies.
{
"success": true,
"timestamp": 1783729083,
"base": "USD",
"date": "2026-07-11",
"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"
}
Lowest/Highest Price Endpoint
The Lowest/Highest Price Endpoint allows users to query the API to get the lowest and highest price for a specified date. This feature is particularly useful for traders looking to identify price extremes over a given period.
{
"success": true,
"timestamp": 1783729083,
"base": "USD",
"date": "2026-07-11",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
},
"XAG": {
"lowest": 0.0381,
"highest": 0.0383
},
"XPT": {
"lowest": 0.00091,
"highest": 0.000918
}
},
"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 valuable for those interested in long-term trends and historical analysis.
{
"success": true,
"timestamp": 1783642683,
"base": "USD",
"date": "2026-07-10",
"rates": {
"XSN": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
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 Metals-API is a powerful tool for developers looking to access real-time and historical data on metals, including tin and gold. With its extensive range of endpoints, the API provides the necessary resources to build applications that can analyze market trends, forecast prices, and make informed trading decisions. By leveraging the capabilities of the Metals-API, developers can stay ahead in the competitive metal markets and harness the power of data analytics to drive their applications forward.
For more information on how to implement these features and to explore the full capabilities of the Metals-API, visit the Metals-API Documentation. With the right tools and insights, the future of metal trading is bright, and the possibilities are endless.