Get Faridabad Gold 22k (FARI-22k) Historical Prices with currency conversion using this API
Introduction
In the ever-evolving landscape of financial markets, gold (XAU) remains a cornerstone asset for investors and traders alike. With the rise of digital transformation in precious metals trading, accessing historical prices and real-time data has become crucial for informed decision-making. The Metals-API offers a powerful solution for developers seeking to integrate comprehensive gold pricing data into their applications. This blog post will delve into the historical prices of Faridabad Gold 22k (FARI-22k) and explore how to leverage the Metals-API for currency conversion and price tracking.
About Gold (XAU)
Gold has long been regarded as a safe-haven asset, particularly during times of economic uncertainty. Its intrinsic value, coupled with its historical significance, makes it a popular choice for investors. The digital transformation in precious metals has introduced innovative technologies that enhance trading efficiency and price discovery. By utilizing data analytics and market insights, traders can make more informed decisions based on real-time data.
Moreover, the integration of technology in trading platforms has enabled the development of digital asset solutions that cater to the needs of modern investors. The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to create next-generation applications that harness the power of real-time metals data.
API Description
The Metals-API is a robust JSON API that provides access to real-time and historical prices for various metals, including gold (XAU). It empowers developers to build applications that require accurate and timely data, facilitating seamless currency conversion and price tracking. With a focus on innovation and technological advancement, the Metals-API enables users to access a wealth of information that can drive better trading decisions.
For detailed information on how to get started, refer to the Metals-API Documentation, which outlines the capabilities and features of the API.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Each endpoint is designed to provide specific functionalities that can be leveraged for various applications. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated at intervals depending on your subscription plan. This endpoint is essential for applications that require up-to-the-minute pricing information. For example, a trading platform can use this endpoint to display the current price of gold (XAU) in various currencies.
{
"success": true,
"timestamp": 1782432968,
"base": "USD",
"date": "2026-06-26",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
Accessing historical rates is crucial for analyzing market trends and making informed investment decisions. The Historical Rates Endpoint allows users to retrieve historical exchange rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can obtain historical pricing data for gold (XAU) and other metals.
{
"success": true,
"timestamp": 1782346568,
"base": "USD",
"date": "2026-06-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is vital for traders looking to execute buy or sell orders at optimal prices. By understanding the spread between the bid and ask prices, traders can make more strategic decisions.
{
"success": true,
"timestamp": 1782432968,
"base": "USD",
"date": "2026-06-26",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one currency to another, making it easy to calculate the equivalent value of gold (XAU) in different currencies. This feature is particularly useful for international traders who need to assess prices in their local currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1782432968,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two specified dates. This feature is invaluable for conducting trend analysis and understanding price movements over time. Developers can utilize this endpoint to create visualizations that depict gold price trends.
{
"success": true,
"timeseries": true,
"start_date": "2026-06-19",
"end_date": "2026-06-26",
"base": "USD",
"rates": {
"2026-06-19": {
"XAU": 0.000485
},
"2026-06-26": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how currencies fluctuate on a day-to-day basis. By tracking rate changes between two dates, developers can gain a better understanding of market volatility. This information can be used to inform trading strategies and risk management practices.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-19",
"end_date": "2026-06-26",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to retrieve the open, high, low, and close prices for a specific time period. This data is essential for traders who rely on candlestick charts and other technical analysis tools to make informed trading decisions.
{
"success": true,
"timestamp": 1782432968,
"base": "USD",
"date": "2026-06-26",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
The Lowest/Highest Price Endpoint allows users to query the API for the lowest and highest prices of gold (XAU) over a specified time frame. This feature is particularly useful for identifying price extremes and making strategic trading decisions based on historical performance.
{
"success": true,
"timestamp": 1782432968,
"base": "USD",
"date": "2026-06-26",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly valuable for developers working with industrial metals and seeking to analyze long-term trends in pricing.
{
"success": true,
"timestamp": 1782346568,
"base": "USD",
"date": "2026-06-25",
"rates": {
"XAU": 0.000485
},
"unit": "per troy ounce"
}
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including gold (XAU). For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate multiple metals into their applications.
Conclusion
In conclusion, the Metals-API offers a comprehensive suite of features that empower developers to access real-time and historical pricing data for gold (XAU) and other metals. By leveraging the various endpoints, developers can create applications that provide valuable insights into market trends, facilitate currency conversion, and enhance trading strategies. The ability to access historical prices, bid and ask data, and fluctuation information allows for a deeper understanding of the precious metals market.
As the financial landscape continues to evolve, integrating advanced technologies and data analytics into trading platforms will be essential for success. The Metals-API stands as a leading solution in this space, providing the necessary tools for developers to build innovative applications that meet the demands of modern investors. For more information on how to get started, visit the Metals-API Website and explore the extensive Metals-API Documentation.