Learn to get Mysore Gold 22k (MYSO-22k) prices from this API
Introduction
In the ever-evolving landscape of financial technology, the ability to access real-time data is paramount, especially in the precious metals market. One such valuable resource is the Mysore Gold 22k (MYSO-22k) prices, which can be efficiently retrieved using the Metals-API. This API provides developers with the tools to integrate comprehensive metals data into their applications, enabling them to make informed decisions based on the latest market insights.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. Its significance extends beyond mere aesthetics; it plays a crucial role in the global economy. The digital transformation in precious metals trading has revolutionized how investors access and analyze market data. With the advent of data analytics and technology integration, traders can now leverage real-time insights to optimize their strategies.
In recent years, innovation in price discovery has led to the emergence of digital asset solutions that enhance the trading experience. The Metals-API stands at the forefront of this transformation, offering developers the ability to harness real-time data for gold and other precious metals. By utilizing this API, developers can create applications that provide users with up-to-the-minute pricing, historical trends, and analytical tools that were previously only available to institutional investors.
API Description
The Metals-API is a powerful tool designed to provide real-time and historical data on precious metals. It empowers developers to build next-generation applications that require accurate and timely information. The API offers a variety of endpoints, each catering to different needs, from retrieving the latest rates to accessing historical data and fluctuations.
With the Metals-API Documentation, developers can explore the full capabilities of the API, including detailed descriptions of each endpoint, usage examples, and best practices for implementation. The API's versatility allows for a wide range of applications, from financial analysis tools to trading platforms.
Key Features and Endpoints
The Metals-API boasts a rich set of features that cater to various use cases:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This ensures that users have access to the most current pricing for gold and other metals.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices, providing insights into market liquidity and trading opportunities.
- Convert Endpoint: The API includes a currency conversion feature, enabling users to convert amounts between different metals or to/from USD, facilitating seamless transactions.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two selected dates, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how metal prices fluctuate on a day-to-day basis, offering insights into market volatility.
- Carat Endpoint: Users can retrieve gold rates by carat, which is particularly useful for jewelers and consumers looking for precise pricing based on purity.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices within a specified date range, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for specific time periods, which is essential for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a comprehensive view of market trends.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to fulfill specific data retrieval needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available metal symbols, allowing developers to stay informed about the latest offerings.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them updated on market developments.
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 integrate specific metals into their applications.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of various API endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1768176623,
"base": "USD",
"date": "2026-01-12",
"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
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1768090223,
"base": "USD",
"date": "2026-01-11",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2026-01-05",
"end_date": "2026-01-12",
"base": "USD",
"rates": {
"2026-01-05": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-07": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-12": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1768176623,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-05",
"end_date": "2026-01-12",
"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) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1768176623,
"base": "USD",
"date": "2026-01-12",
"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
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1768176623,
"base": "USD",
"date": "2026-01-12",
"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
The Metals-API is an invaluable resource for developers looking to integrate real-time and historical data on precious metals like gold into their applications. By leveraging the various endpoints, developers can create powerful tools that provide insights into market trends, pricing fluctuations, and trading opportunities. The API's comprehensive documentation and support for a wide range of symbols make it an essential tool for anyone involved in the precious metals market.
For further exploration, developers can access the Metals-API Documentation to understand the full capabilities of the API. Additionally, the Metals-API Supported Symbols page offers a complete list of available metals, ensuring that users can find the specific data they need. By utilizing the Metals-API Website, developers can stay updated on the latest features and enhancements, ensuring they are equipped to build innovative applications in the dynamic world of precious metals trading.