Retrieve Monthly Faridabad Gold 18k (FARI-18k) Historical Prices with this API
Retrieve Monthly Faridabad Gold 18k (FARI-18k) Historical Prices with this API
In today's digital age, the demand for real-time data has transformed the way we interact with precious metals, particularly gold. For developers and analysts looking to retrieve historical prices of Faridabad Gold 18k (FARI-18k), the Metals-API offers a robust solution. This API not only provides access to historical gold prices but also integrates advanced technology to deliver real-time insights, making it an invaluable tool for anyone involved in trading or investment in precious metals.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a symbol of wealth and stability. Its value is influenced by various factors including market demand, geopolitical events, and economic indicators. As the world shifts towards digital transformation, the integration of data analytics and technology in trading has become essential. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to access and analyze gold prices effectively.
With the rise of digital asset solutions, the ability to track historical prices and market trends has never been more critical. The Metals-API empowers developers to build applications that can analyze price movements, forecast trends, and provide insights into market behavior. By leveraging real-time data, traders can make informed decisions, optimizing their strategies in a fast-paced environment.
API Description
The Metals-API is a powerful tool designed for developers who require access to real-time and historical data on precious metals. It provides a comprehensive suite of endpoints that allow users to retrieve various types of data, including the latest rates, historical prices, and market fluctuations. This API is particularly beneficial for those looking to integrate metals data into their applications, enabling them to create innovative solutions that enhance trading strategies.
For more detailed information, you can visit the Metals-API Documentation, which outlines the capabilities and functionalities of the API in depth.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Each endpoint is designed to provide specific functionalities that can be integrated into applications seamlessly. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for precious metals. Depending on your subscription plan, the API updates this data every 60 minutes or every 10 minutes, ensuring that you have the most current information at your fingertips.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve historical prices for analysis and reporting.
- Bid And Ask Endpoint: This feature allows users to obtain real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion feature, enabling users to convert amounts between different metals or to/from USD, facilitating easier financial calculations.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, making it easier to analyze trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility and price trends.
- Carat Endpoint: This feature allows users to retrieve gold rates by carat, which is particularly useful for jewelers and traders dealing in various gold purities.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed OHLC data for a specific time period, essential for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint allows access to historical rates for LME symbols dating back to 2008, providing a broader context for market analysis.
- API Key: Each user is assigned a unique API key that 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 interpretation.
- Available Endpoints: The Metals-API comprises 14 different endpoints, each designed to provide unique functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest symbols.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of how to use various endpoints, along with explanations of their responses.
Latest Rates Endpoint
This endpoint retrieves real-time exchange rates for all available metals. Here’s an example response:
{
"success": true,
"timestamp": 1773965830,
"base": "USD",
"date": "2026-03-20",
"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"
}
In this response, the "rates" object contains the current exchange rates for various metals, with XAU representing gold. The "unit" indicates that the rates are per troy ounce.
Historical Rates Endpoint
This endpoint allows users to access historical exchange rates for any date since 1999. Here’s an example response:
{
"success": true,
"timestamp": 1773879430,
"base": "USD",
"date": "2026-03-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical rates for the specified date, allowing users to analyze past market behavior.
Time-series Endpoint
To get exchange rates for a specific time period, the time-series endpoint can be utilized. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2026-03-13",
"end_date": "2026-03-20",
"base": "USD",
"rates": {
"2026-03-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides daily rates for the specified date range, allowing for trend analysis over time.
Convert Endpoint
The convert endpoint allows users to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1773965830,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold, providing both the conversion rate and the result in troy ounces.
Fluctuation Endpoint
The fluctuation endpoint tracks rate fluctuations between two dates. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-13",
"end_date": "2026-03-20",
"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 detailed information about how the rates have changed over the specified period, including both absolute and percentage changes.
OHLC (Open/High/Low/Close) Endpoint
This endpoint provides OHLC data for a specific time period. Here’s an example response:
{
"success": true,
"timestamp": 1773965830,
"base": "USD",
"date": "2026-03-20",
"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 the opening, highest, lowest, and closing prices for the specified date, which is essential for traders conducting technical analysis.
Bid/Ask Endpoint
The bid/ask endpoint provides current bid and ask prices for metals. Here’s an example response:
{
"success": true,
"timestamp": 1773965830,
"base": "USD",
"date": "2026-03-20",
"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, along with the spread, which is crucial for traders looking to execute orders efficiently.
Conclusion
The Metals-API is a transformative tool for developers and traders looking to access and analyze precious metals data. With its extensive range of endpoints, including the latest rates, historical data, and fluctuation tracking, it empowers users to make informed decisions based on real-time insights. By integrating this API into applications, developers can create innovative solutions that enhance trading strategies and market analysis.
For more information on how to utilize the Metals-API effectively, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and usage.
In a world where data drives decisions, the Metals-API stands out as a vital resource for anyone involved in the precious metals market. By leveraging its capabilities, developers can unlock new opportunities and insights, ensuring they stay ahead in a competitive landscape.