Get Vadodara Gold 22k (VADO-22k) prices using this API

Introduction
In the rapidly evolving landscape of precious metals trading, the ability to access real-time data is crucial for investors, traders, and developers alike. One such valuable resource is the Metals-API, which provides comprehensive data on various metals, including gold, silver, platinum, and palladium. This blog post will delve into the specifics of the Gold (XAU) market, explore the innovative features of the Metals-API, and demonstrate how developers can leverage this powerful tool to enhance their applications.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and currency fluctuations. In recent years, the digital transformation of the precious metals market has opened new avenues for trading and investment. With the integration of data analytics and technology, traders can now access market insights that were previously unavailable.
The rise of digital asset solutions has also transformed how gold is perceived and traded. Investors can now buy and sell gold in various forms, including digital gold, which is backed by physical assets. This shift has made gold more accessible to a broader audience, allowing for innovative trading strategies and investment opportunities.
Furthermore, the integration of technology in trading has led to more efficient price discovery mechanisms. Traders can utilize advanced algorithms and real-time data to make informed decisions, thereby optimizing their trading strategies. The Metals-API plays a pivotal role in this ecosystem by providing real-time and historical data on gold prices, enabling developers to create applications that cater to the needs of modern investors.
API Description
The Metals-API is a powerful tool that empowers developers to build next-generation applications focused on precious metals trading. With its extensive capabilities, the API provides real-time exchange rates, historical data, and various endpoints that cater to different trading needs. The transformative potential of real-time metals data cannot be overstated, as it allows for the development of applications that can analyze trends, forecast prices, and provide users with actionable insights.
For more information on the API's capabilities, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different aspects of precious metals trading. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even every 10 minutes. This feature is essential for traders who need the most current data to make informed decisions.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date to your query. This is particularly useful for analyzing trends over time and making predictions based on past performance.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for various metals. This feature is crucial for traders looking to execute trades at optimal prices.
- Convert Endpoint: This endpoint allows users to convert any amount from one currency to another, facilitating seamless transactions across different markets.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is beneficial for conducting in-depth analyses of price movements over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility and helping traders make informed decisions.
- Carat Endpoint: Retrieve information about gold rates by carat, allowing jewelers and investors to assess the value of gold based on its purity.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, which can aid in identifying market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific date, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is invaluable for traders focused on industrial metals.
- API Key: Your unique API key is essential for accessing the API and must be included in your requests.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency across data retrieval.
- Available Endpoints: The Metals-API includes 14 different endpoints, each designed to provide specific functionalities tailored to the needs of traders and developers.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, ensuring users have access to the latest information.
- Gold Price India Endpoint: Retrieve the latest gold price in India, catering to a significant market segment focused on regional pricing.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context and insights into market movements.
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.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. 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": 1758477633,
"base": "USD",
"date": "2025-09-21",
"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"
}
This response indicates that the API successfully retrieved the latest rates, with gold (XAU) priced at 0.000482 per troy ounce.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1758391233,
"base": "USD",
"date": "2025-09-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows the historical rates for gold and other metals on a specific date, allowing for trend analysis.
Time-series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2025-09-14",
"end_date": "2025-09-21",
"base": "USD",
"rates": {
"2025-09-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-09-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-09-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of rates, allowing developers to visualize trends over a specified period.
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": 1758477633,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response illustrates how the API can convert a specified amount of USD into gold, providing the equivalent in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-09-14",
"end_date": "2025-09-21",
"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"
}
This response provides insights into how the rates have fluctuated over a specified period, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1758477633,
"base": "USD",
"date": "2025-09-21",
"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"
}
This response provides a comprehensive view of the market's performance, showing the opening, highest, lowest, and closing prices for the day.
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1758477633,
"base": "USD",
"date": "2025-09-21",
"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"
}
This response provides the current bid and ask prices, which are essential for traders looking to execute trades at the best possible prices.
Conclusion
The Metals-API is an invaluable resource for developers and traders in the precious metals market. By providing real-time and historical data, the API enables users to make informed decisions, optimize their trading strategies, and stay ahead of market trends. With features such as the latest rates, historical data, and various conversion options, the API offers a comprehensive suite of tools for anyone involved in metals trading.
As the market continues to evolve, the integration of technology and data analytics will play a crucial role in shaping the future of precious metals trading. By leveraging the capabilities of the Metals-API, developers can create innovative applications that meet the demands of modern investors.
For further exploration of the API's features and capabilities, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page. Embrace the future of precious metals trading with the power of real-time data at your fingertips.