Fetch Vadodara Gold 22k (VADO-22k) Historical Prices with this API

Fetch Vadodara Gold 22k (VADO-22k) Historical Prices with this API
In the ever-evolving landscape of precious metals trading, the ability to access historical prices for gold, particularly 22k gold in Vadodara, is crucial for investors, traders, and developers alike. With the rise of digital transformation in the financial sector, tools like the Metals-API have become indispensable. This blog post will delve into the capabilities of the Metals-API, focusing on how to fetch historical prices for gold (symbol: XAU) and the innovative features that empower developers to create next-generation applications.
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 precious metals has opened new avenues for trading and investment. The integration of data analytics and market insights allows traders to make informed decisions based on real-time data. The Metals-API plays a pivotal role in this transformation, offering developers the tools necessary to harness the power of technology in trading.
With the advent of digital asset solutions, the landscape of gold trading is changing. The Metals-API provides a comprehensive suite of features that facilitate innovation in price discovery, enabling users to access real-time and historical data with ease. This API is not just a data provider; it is a platform that empowers developers to build applications that can analyze trends, forecast prices, and optimize trading strategies.
API Description
The Metals-API is a powerful tool that provides real-time and historical data for various metals, including gold, silver, platinum, and palladium. The API is designed with innovation in mind, allowing developers to create applications that can leverage real-time metals data for various use cases, from trading platforms to financial analysis tools.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data. Depending on your subscription plan, the API can provide updates every 60 minutes, every 10 minutes, or even more frequently. This ensures that users have access to the most current market information, which is essential for making timely trading decisions.
Moreover, the API offers a Historical Rates Endpoint that allows users to access historical rates for most currencies dating back to 2019. This feature is particularly useful for analyzing trends and making informed predictions about future price movements. By appending a specific date to the API request, developers can retrieve historical data that can be used for backtesting trading strategies or conducting market research.
Key Features and Endpoints
The Metals-API is equipped with a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. For example, a request to this endpoint might return the current price of gold (XAU) in USD, updated every few minutes based on the user's subscription plan.
- Historical Rates Endpoint: Users can access historical exchange rates for any date since 1999. This is particularly useful for traders looking to analyze past performance and make data-driven decisions.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, enabling traders to gauge market sentiment and make informed trading decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This is particularly useful for traders operating in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, providing valuable insights into price trends over time.
- Fluctuation Endpoint: Users can track rate fluctuations between two dates, which is essential for understanding market volatility and making strategic trading decisions.
- Carat Endpoint: This feature provides information about gold rates by carat, allowing users to get precise pricing based on the purity of gold.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest price of gold for a specified date, which is useful for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, which is crucial for users interested in industrial metals.
- API Key: To access the API, users must pass their unique API key into the base URL's access_key parameter, ensuring secure access to the data.
- API Response: The Metals-API delivers exchange rates relative to USD, with all data returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The API comes with 14 endpoints, each providing different functionalities, allowing developers to tailor their applications to specific needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring that users can access the most up-to-date information on metal symbols.
- Gold Price India Endpoint: This dedicated endpoint allows users to retrieve the latest gold price in India, which is particularly useful for traders in the Indian market.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of API responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1758650436,
"base": "USD",
"date": "2025-09-23",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
This response indicates that the current price of gold (XAU) is 0.000482 per troy ounce, providing a snapshot of the market at that moment.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1758564036,
"base": "USD",
"date": "2025-09-22",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for gold on a specific date, allowing users to analyze past performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-09-16",
"end_date": "2025-09-23",
"base": "USD",
"rates": {
"2025-09-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-09-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-09-23": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of gold prices over a specified period, enabling users to visualize trends and fluctuations.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1758650436,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example illustrates how to convert an amount from USD to gold (XAU), providing the result in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-09-16",
"end_date": "2025-09-23",
"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 prices have fluctuated over a specified period, which is essential for understanding market dynamics.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1758650436,
"base": "USD",
"date": "2025-09-23",
"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 endpoint provides critical data for traders, allowing them to analyze market behavior based on open, high, low, and close prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1758650436,
"base": "USD",
"date": "2025-09-23",
"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 for metals, which is essential for traders looking to execute orders at the best possible prices.
Conclusion
The Metals-API is a transformative tool for developers and traders in the precious metals market. By providing access to real-time and historical data, the API empowers users to make informed decisions based on accurate market insights. Whether you are looking to fetch historical prices for Vadodara Gold 22k or analyze market trends, the Metals-API offers a comprehensive suite of features that cater to your needs.
With its innovative endpoints and user-friendly design, the Metals-API is set to revolutionize the way we interact with precious metals data. For more information, explore the Metals-API Documentation and discover the full range of capabilities available to you. Additionally, check out the Metals-API Supported Symbols to familiarize yourself with the various metal symbols available for trading.
As the digital landscape continues to evolve, staying ahead of the curve with tools like the Metals-API will be essential for success in the precious metals market. Embrace the future of trading and investment with the power of real-time metals data at your fingertips.