Get Mysore Gold 24k (MYSO-24k) Historical Prices with Detailed Insights using this API
Introduction
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. With the rise of digital transformation in the financial sector, accessing historical prices and market insights for gold has become more streamlined and efficient. The Metals-API offers developers a powerful tool to retrieve real-time and historical data for gold and other precious metals. This blog post will delve into the capabilities of the Metals-API, focusing on how to obtain historical prices for Mysore Gold 24k (MYSO-24k) and explore the innovative features that make this API a valuable resource for developers.
About Gold (XAU)
Gold has been a symbol of wealth and prosperity for centuries. In recent years, the digital transformation of precious metals trading has opened new avenues for investors and developers alike. The integration of data analytics and market insights into trading platforms has revolutionized how traders interact with gold markets. With the advent of technology, the price discovery process has become more transparent and efficient, enabling investors to make informed decisions based on real-time data.
Moreover, the rise of digital asset solutions has further enhanced the accessibility of gold investments. By leveraging APIs like the Metals-API, developers can create applications that provide users with up-to-date information on gold prices, historical trends, and market fluctuations. This not only empowers investors but also fosters a more dynamic trading environment.
API Description
The Metals-API is a comprehensive JSON API that provides real-time and historical data for various metals, including gold, silver, platinum, and palladium. It is designed to empower developers to build next-generation applications that require accurate and timely metals data. With its innovative features, the Metals-API enables users to access a wealth of information that can enhance trading strategies and investment decisions.
One of the key advantages of the Metals-API is its ability to deliver real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers can integrate the most current information into their applications, allowing users to make informed decisions based on the latest market conditions. The API also supports a wide range of functionalities, from retrieving historical rates to converting currencies and tracking fluctuations.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Each endpoint provides unique functionalities that can be leveraged for various applications. 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 the subscription plan. This endpoint is essential for applications that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1786061594,
"base": "USD",
"date": "2026-08-07",
"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 exchange rates for most currencies dating back to 2019. By appending a specific date in the YYYY-MM-DD format, developers can retrieve historical data that is crucial for trend analysis and market research.
{
"success": true,
"timestamp": 1785975194,
"base": "USD",
"date": "2026-08-06",
"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 vital for traders looking to make quick decisions based on current market conditions.
{
"success": true,
"timestamp": 1786061594,
"base": "USD",
"date": "2026-08-07",
"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": 1786061594,
"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 essential for analyzing trends over specific periods and making informed investment decisions.
{
"success": true,
"timeseries": true,
"start_date": "2026-07-31",
"end_date": "2026-08-07",
"base": "USD",
"rates": {
"2026-07-31": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-02": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-07": {
"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 is particularly useful for traders looking to understand market volatility and make strategic decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-31",
"end_date": "2026-08-07",
"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 developers to query the API for the open, high, low, and close prices for a specific time period. This data is crucial for technical analysis and understanding market trends.
{
"success": true,
"timestamp": 1786061594,
"base": "USD",
"date": "2026-08-07",
"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 developers working with industrial metals and seeking long-term data.
API Key and Response
To access the Metals-API, developers must use an API Key, which is passed into the API base URL's access_key parameter. This key ensures secure access to the API and allows for rate limiting based on the user's subscription plan. The API response is delivered in JSON format, with exchange rates typically relative to USD.
Available Endpoints
The Metals-API comes with 14 different endpoints, each providing unique functionalities. This extensive range of endpoints allows developers to tailor their applications to meet specific needs, whether that be real-time pricing, historical data analysis, or currency conversion.
Supported Symbols Endpoint
The Supported Symbols Endpoint provides a constantly updated list of all available currencies and metals. Developers can access this endpoint to ensure they are using the correct symbols in their applications. For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical data for gold and other precious metals. By leveraging its innovative features, developers can create applications that provide users with valuable insights into the metals market. From retrieving the latest rates to analyzing historical trends, the Metals-API offers a comprehensive solution for integrating metals data into applications.
As the financial landscape continues to evolve, the importance of accurate and timely data cannot be overstated. The Metals-API empowers developers to build applications that enhance trading strategies and investment decisions, ultimately contributing to a more informed and dynamic market. For more information on how to get started with the Metals-API, visit the Metals-API Documentation for detailed guidance on implementation and usage.