Collect Mysore Gold 24k (MYSO-24k) Historical Prices with this API

Collect Mysore Gold 24k (MYSO-24k) Historical Prices with this API
Mysore Gold 24k (MYSO-24k) is a symbol that represents the highest purity of gold available in the market, and understanding its historical pricing can provide valuable insights into market trends and investment opportunities. One of the most effective ways to gather this data is through the Metals-API, a powerful tool that allows developers to access real-time and historical data for various metals, including gold.
Metals-API Information
About Gold (XAU)
XAU, has been a cornerstone of wealth and investment for centuries. As digital transformation sweeps across financial markets, the integration of technology into precious metals trading is becoming increasingly important. The Metals-API provides developers with the tools necessary to harness data analytics and market insights, enabling them to create innovative applications that can transform how investors interact with gold and other precious metals.
API Description
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. For example, if you query the latest rates, you might receive a response like this:
{
"success": true,
"timestamp": 1752397224,
"base": "USD",
"date": "2025-07-13",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
- Historical Rates Endpoint: Access historical exchange rates for any date since 1999. This is particularly useful for analyzing trends over time. A sample response might look like this:
{
"success": true,
"timestamp": 1752310824,
"base": "USD",
"date": "2025-07-12",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals. For example:
{
"success": true,
"timestamp": 1752397224,
"base": "USD",
"date": "2025-07-13",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
- Convert Endpoint: This endpoint allows users to convert amounts from one metal to another or to/from USD. For instance:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1752397224,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice. For example:
{
"success": true,
"timeseries": true,
"start_date": "2025-07-06",
"end_date": "2025-07-13",
"base": "USD",
"rates": {
"2025-07-06": {
"XAU": 0.000485
},
"2025-07-08": {
"XAU": 0.000483
},
"2025-07-13": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis. A sample response might look like this:
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-06",
"end_date": "2025-07-13",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides the open, high, low, and close prices for a specific time period. For example:
{
"success": true,
"timestamp": 1752397224,
"base": "USD",
"date": "2025-07-13",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, which is useful for analyzing long-term trends.
Metals-API Supported Symbols page.
API Key and Authentication
API Response and Data Handling
Performance Optimization and Best Practices
Conclusion
Metals-API Documentation for detailed guidance and examples. By utilizing this API, you can unlock the potential of real-time metals data and drive innovation in your trading strategies.