Access daily Vijayawada Gold 22k (VIJA-22k) prices using this API

Access Daily Vijayawada Gold 22k (VIJA-22k) Prices Using This API
In the ever-evolving landscape of precious metals trading, the ability to access real-time data is crucial for traders and investors alike. The Metals-API provides a robust solution for accessing daily gold prices, including the specific rates for Vijayawada Gold 22k (VIJA-22k). This blog post delves into the functionalities of the Metals-API, exploring how it empowers developers to create innovative applications that leverage real-time metals data.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a symbol of wealth and stability. In recent years, the digital transformation in 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. With the rise of technology in trading, the innovation in price discovery has become more pronounced, enabling investors to react swiftly to market changes.
Moreover, digital asset solutions have emerged, allowing for seamless transactions and enhanced security. The Metals-API plays a pivotal role in this transformation, providing developers with the tools needed to build applications that can access and analyze gold prices efficiently.
API Description
The Metals-API is a powerful tool that offers a wide range of functionalities for accessing metals data. It provides real-time exchange rates, historical data, and various endpoints that cater to different needs. This API is designed to empower developers to create next-generation applications that can leverage real-time metals data for trading, analysis, and investment purposes.
For more detailed information about the API's capabilities, you can visit the Metals-API Documentation. This resource provides comprehensive guidance on how to implement the API effectively.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability for developers:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need the most current prices to make informed decisions.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past prices, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time Bid and Ask prices, providing insight into market liquidity and helping traders determine optimal entry and exit points.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert amounts from one metal to another or to/from USD. This is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is beneficial for analyzing price movements over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, allowing traders to understand market volatility.
- Carat Endpoint: This endpoint provides information about gold rates by carat, which is essential for jewelers and consumers looking to purchase gold jewelry.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is useful for those tracking industrial metals.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring you have the latest information.
- Gold Price India Endpoint: Specifically designed to retrieve the latest gold price in India, this endpoint is essential for local traders.
- News Endpoint: Stay updated with the latest news articles related to various metals, helping traders stay informed about market trends.
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
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1744941864,
"base": "USD",
"date": "2025-04-18",
"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 a successful query, providing the latest rates for various metals, including gold (XAU).
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1744855464,
"base": "USD",
"date": "2025-04-17",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates, allowing traders to analyze past performance and trends.
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-04-11",
"end_date": "2025-04-18",
"base": "USD",
"rates": {
"2025-04-11": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-13": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-18": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of rates, which is essential for analyzing trends over time.
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": 1744941864,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of USD to gold, providing the equivalent amount in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-11",
"end_date": "2025-04-18",
"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 vital 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": 1744941864,
"base": "USD",
"date": "2025-04-18",
"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 price movements for a specific day, which is crucial for traders conducting technical analysis.
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1744941864,
"base": "USD",
"date": "2025-04-18",
"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 optimal prices.
Conclusion
In conclusion, the Metals-API is an invaluable resource for developers looking to access real-time and historical data on precious metals, including gold. With its extensive range of endpoints and features, the API empowers users to create innovative applications that can analyze market trends, perform conversions, and track fluctuations effectively. By leveraging the capabilities of the Metals-API, traders can make informed decisions and stay ahead in the competitive world of precious metals trading.
For more information, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and usage.