Query Faridabad Gold 18k (FARI-18k) Historical Prices using this API
Query Faridabad Gold 18k (FARI-18k) Historical Prices using this API
In the world of precious metals trading, having access to accurate and timely data is crucial for making informed decisions. For developers and traders interested in querying historical prices for Gold, specifically the 18k variant represented by the symbol FARI-18k, the Metals-API provides an innovative solution. This API not only offers real-time data but also allows users to delve into historical price trends, enabling a comprehensive analysis of market movements.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, especially during times of economic uncertainty. Its value is influenced by various factors, including market demand, geopolitical events, and currency fluctuations. The digital transformation in the precious metals market has revolutionized how traders access and analyze this data. With the integration of advanced data analytics and technology, traders can now gain insights that were previously difficult to obtain.
The rise of digital asset solutions has further enhanced the trading landscape, allowing for more efficient price discovery and transaction processes. As a developer, leveraging the capabilities of the Metals-API can empower you to build applications that provide real-time insights and historical data analysis, ultimately leading to better trading strategies.
API Description
The Metals-API is designed to provide developers with a robust framework for accessing metals price data. With its user-friendly interface and comprehensive documentation, the API allows for seamless integration into various applications, whether for personal use or commercial purposes. The API’s capabilities include real-time price updates, historical data retrieval, and advanced analytics features, making it a powerful tool for any developer in the financial sector.
One of the standout features of the Metals-API is its ability to deliver real-time data updates. Depending on your subscription plan, the API can provide exchange rate data updated 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.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, including Gold (XAU). Users can access the latest rates and make informed trading decisions based on current market conditions.
- Historical Rates Endpoint: For those interested in analyzing past performance, this endpoint allows users to query historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve historical price data for Gold and other metals.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for metals, providing insight into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion feature that allows users to convert amounts between different metals or to/from USD, facilitating easier transactions and comparisons.
- 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 over time, providing valuable insights into market volatility and price trends.
- Carat Endpoint: This unique feature allows users to retrieve Gold rates based on carat values, 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 Gold over a specified period, aiding in market analysis and decision-making.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed price data, including opening, high, low, and closing prices for a specific time period, which is essential for technical analysis.
- Historical LME Endpoint: For those interested in LME symbols, this endpoint provides historical rates dating back to 2008, allowing for comprehensive market analysis.
- API Key: Access to the Metals-API requires an API key, which is passed into the API base URL's access_key parameter for authentication.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each offering unique functionalities to cater to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, allowing users to stay informed about the latest offerings.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them updated on market trends and developments.
API Endpoint Examples and Responses
To illustrate the functionality of the Metals-API, here are some examples of API responses for different endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1763690521,
"base": "USD",
"date": "2025-11-21",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1763604121,
"base": "USD",
"date": "2025-11-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-11-14",
"end_date": "2025-11-21",
"base": "USD",
"rates": {
"2025-11-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-11-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-11-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1763690521,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-11-14",
"end_date": "2025-11-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"
}
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1763690521,
"base": "USD",
"date": "2025-11-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"
}
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1763690521,
"base": "USD",
"date": "2025-11-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"
}
Conclusion
In conclusion, the Metals-API offers a comprehensive suite of tools for developers looking to access and analyze historical prices for Gold and other precious metals. By utilizing the various endpoints, such as the Latest Rates, Historical Rates, and Time-Series endpoints, developers can create powerful applications that provide valuable insights into market trends and price movements.
As the market for precious metals continues to evolve, the integration of technology and data analytics will play a crucial role in shaping trading strategies. By leveraging the capabilities of the Metals-API, developers can stay ahead of the curve and build applications that meet the demands of modern traders.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals. With the right tools and data at your fingertips, you can unlock the full potential of precious metals trading.