Collect Gold Turkey 21k (XAUTUR21) Historical Prices through this API
Introduction
In the ever-evolving landscape of financial markets, the demand for accurate and real-time data on precious metals, particularly Gold (XAU), has surged. Developers and traders alike are seeking innovative solutions to access historical prices and market insights. The Metals-API provides a robust platform for retrieving historical prices of Gold Turkey 21k (XAUTUR21) and other metals, empowering users to make informed decisions based on comprehensive data analytics.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, a hedge against inflation, and a store of value. With the digital transformation in precious metals trading, the integration of technology has revolutionized how investors and traders access and analyze market data. The Metals-API stands at the forefront of this transformation, offering a suite of features that enable developers to harness the power of data analytics and market insights.
Digital Transformation in Precious Metals
The rise of digital assets has changed the way investors approach precious metals. With the advent of APIs like Metals-API, developers can create applications that provide real-time data, historical analysis, and predictive insights. This digital transformation allows for greater transparency and efficiency in trading, enabling users to respond swiftly to market changes.
Data Analytics and Market Insights
Access to historical prices is crucial for market analysis. The Metals-API allows users to query historical rates dating back to 2019, providing a wealth of data for trend analysis and forecasting. By leveraging this data, developers can build applications that offer insights into price movements, volatility, and market trends, ultimately aiding traders in making informed decisions.
Technology Integration in Trading
Integrating technology into trading strategies is essential for success in today's fast-paced markets. The Metals-API offers various endpoints that facilitate seamless integration with trading platforms. For instance, the Latest Rates Endpoint provides real-time exchange rate data, while the Historical Rates Endpoint allows users to access past prices for in-depth analysis.
Innovation in Price Discovery
Price discovery is a critical component of trading, and the Metals-API enhances this process through its innovative features. The Bid and Ask Endpoint provides real-time bid and ask prices, enabling traders to gauge market sentiment and make timely decisions. Additionally, the Fluctuation Endpoint tracks day-to-day currency fluctuations, offering insights into market dynamics.
Digital Asset Solutions
The Metals-API is not just a data provider; it is a comprehensive solution for developers looking to create applications that cater to the needs of traders and investors. With endpoints for currency conversion, time-series analysis, and more, the API empowers developers to build next-generation applications that leverage real-time metals data.
API Description
The Metals-API is designed to provide developers with access to real-time and historical data on precious metals. Its capabilities include retrieving exchange rates, historical prices, and market insights, all through a user-friendly API. The API is built with innovation and technological advancement in mind, allowing developers to create applications that can transform how users interact with precious metals data.
For detailed information on how to implement the API, refer to the Metals-API Documentation, which provides comprehensive guidance on using the various endpoints effectively.
Key Features and Endpoints
The Metals-API offers a range of endpoints, each designed to fulfill specific needs of developers and traders. Below are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data updated at intervals depending on the subscription plan. This endpoint is essential for traders who require up-to-the-minute pricing information to make informed trading decisions.
{
"success": true,
"timestamp": 1775780159,
"base": "USD",
"date": "2026-04-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"
}
Historical Rates Endpoint
The Historical Rates Endpoint allows users to access historical rates for most currencies dating back to 2019. This feature is invaluable for conducting trend analysis and understanding market movements over time.
{
"success": true,
"timestamp": 1775693759,
"base": "USD",
"date": "2026-04-09",
"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 various metals. This feature is crucial for traders looking to understand market spreads and make informed trading decisions.
{
"success": true,
"timestamp": 1775780159,
"base": "USD",
"date": "2026-04-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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one currency to another. This feature is particularly useful for traders who operate in multiple currencies and need to quickly assess the value of their holdings.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1775780159,
"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 essential for analyzing price trends over specific periods.
{
"success": true,
"timeseries": true,
"start_date": "2026-04-03",
"end_date": "2026-04-10",
"base": "USD",
"rates": {
"2026-04-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is crucial for traders looking to understand market volatility and make strategic decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-03",
"end_date": "2026-04-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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The Open/High/Low/Close (OHLC) Price Endpoint allows users to query the API for the open, high, low, and close prices for a specific date. This data is essential for traders looking to analyze price movements and make informed decisions.
{
"success": true,
"timestamp": 1775780159,
"base": "USD",
"date": "2026-04-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"
}
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 traders dealing with industrial metals and seeking historical data for analysis.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page.
Conclusion
The Metals-API offers a comprehensive solution for accessing historical prices and real-time data on Gold and other precious metals. By leveraging its innovative features, developers can create applications that provide valuable insights and analytics for traders. The ability to access historical rates, real-time pricing, and market fluctuations empowers users to make informed decisions in a dynamic market environment.
For more information on how to implement the API and explore its capabilities, visit the Metals-API Documentation. With the right tools and data at your fingertips, you can navigate the complexities of precious metals trading with confidence.