Get Raipur Gold 22k (RAIP-22k) Monthly Historical Prices using this API

Get Raipur Gold 22k (RAIP-22k) Monthly Historical Prices using this API
In today's digital age, the demand for real-time data and analytics in the precious metals market has surged. This is particularly true for gold, often referred to by its symbol XAU. If you're looking to obtain historical prices for Raipur Gold 22k (RAIP-22k), the Metals-API is an invaluable resource. This API provides developers with the tools necessary to access comprehensive data on gold prices, enabling them to build innovative applications that leverage market insights and analytics.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and currency fluctuations. The digital transformation in the precious metals market has revolutionized how investors and traders access and analyze gold prices. With the integration of data analytics and advanced technology, market participants can now gain deeper insights into price movements and trends.
One of the most significant advancements in this space is the use of APIs to access real-time and historical data. The Metals-API allows developers to tap into a wealth of information about gold and other precious metals, facilitating better decision-making and trading strategies. By utilizing this API, developers can create applications that provide users with up-to-date market data, historical trends, and predictive analytics.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical prices of various metals, including gold (XAU). This API is built with innovation and technological advancement in mind, enabling users to harness the transformative potential of real-time metals data. With its user-friendly interface and comprehensive documentation, the Metals-API empowers developers to build next-generation applications that can analyze market trends and provide actionable insights.
For more information on how to get started, check out the Metals-API Documentation. This resource provides detailed instructions on how to implement the API and utilize its various features effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the precious metals market. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data for gold and other metals, updated every 60 minutes or more frequently. This feature is crucial for traders who need to make quick decisions based on the latest market conditions.
- Historical Rates Endpoint: Access historical rates for gold dating back to 2019. By appending a specific date to your query, you can retrieve past prices, allowing for in-depth analysis of price trends over time.
- Bid And Ask Endpoint: This feature enables you to retrieve real-time bid and ask prices for gold and other metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing you to convert amounts between different metals or from/to USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is ideal for analyzing trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how gold prices fluctuate on a day-to-day basis. This feature helps traders understand volatility and make informed decisions.
- Carat Endpoint: Get information about gold rates by carat. This is essential for jewelers and consumers interested in specific gold purities.
- Lowest/Highest Price Endpoint: Query the API to find the lowest and highest prices for gold over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for gold, which are critical for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for those interested in broader market trends.
- API Key: Your unique API key is essential for accessing the Metals-API. It must be included in your requests to authenticate your access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- 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: Retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for local traders.
- News Endpoint: Stay informed with the latest news articles related to various metals, helping you keep track of market developments.
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 responses is crucial for effective implementation. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1752044419,
"base": "USD",
"date": "2025-07-09",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
This response indicates the latest exchange rates for gold (XAU) and other metals, providing essential data for traders.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1751958019,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates for a specific date, allowing for trend analysis.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-02",
"end_date": "2025-07-09",
"base": "USD",
"rates": {
"2025-07-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-09": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides daily rates for a specified time period, which is useful for analyzing trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1752044419,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example demonstrates how to convert a specific amount from USD to gold (XAU), providing essential information for traders operating in multiple currencies.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-02",
"end_date": "2025-07-09",
"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 gold prices fluctuate over a specified period, helping traders understand market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1752044419,
"base": "USD",
"date": "2025-07-09",
"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 technical analysis, allowing traders to assess market conditions effectively.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1752044419,
"base": "USD",
"date": "2025-07-09",
"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 gold, which are essential for understanding market liquidity and pricing dynamics.
Conclusion
The Metals-API is an essential tool for developers looking to access real-time and historical data on gold and other precious metals. By leveraging its various endpoints, developers can create applications that provide valuable insights into market trends, price fluctuations, and trading opportunities. The API's comprehensive documentation and user-friendly interface make it easy to implement and integrate into existing systems.
For those interested in exploring the full capabilities of the Metals-API, I encourage you to visit the Metals-API Website for more information. Whether you're a trader, developer, or analyst, this API offers the tools necessary to stay ahead in the dynamic world of precious metals.