Get Faridabad Gold 22k (FARI-22k) Historical Prices from Different Sources using this API
Introduction
Gold (XAU) has long been a symbol of wealth and stability in the financial markets. As a precious metal, it plays a crucial role in investment portfolios, jewelry, and various industries. With the rise of digital transformation in precious metals trading, accessing historical prices for gold has become essential for developers and traders alike. The Metals-API provides a powerful solution for retrieving historical gold prices and other metal data through its comprehensive API.
About Gold (XAU)
Gold is not just a commodity; it is a financial asset that has maintained its value over centuries. The digital transformation in precious metals has enabled traders to leverage data analytics and market insights to make informed decisions. The integration of technology in trading has revolutionized how investors access and analyze gold prices. With the Metals-API, developers can harness the power of real-time metals data to build innovative applications that enhance price discovery and offer digital asset solutions.
Digital Transformation in Precious Metals
The landscape of precious metals trading is evolving rapidly. Digital platforms are now at the forefront, allowing for seamless transactions and real-time data access. The Metals-API stands out as a key player in this transformation, offering developers the tools needed to create next-generation applications that can respond to market changes instantaneously.
Data Analytics and Market Insights
Data analytics plays a pivotal role in understanding market trends and making strategic investment decisions. The Metals-API provides historical data that can be analyzed to identify patterns, forecast future prices, and assess market volatility. By utilizing the API's capabilities, developers can create dashboards and analytical tools that empower users with actionable insights.
Technology Integration in Trading
Integrating technology into trading processes enhances efficiency and accuracy. The Metals-API allows developers to access various endpoints that provide real-time and historical data for gold and other metals. This integration facilitates automated trading strategies, risk management, and portfolio optimization.
Innovation in Price Discovery
Price discovery is a critical aspect of trading, and the Metals-API offers innovative solutions to enhance this process. By providing access to real-time rates, historical data, and fluctuation information, developers can build applications that help traders make informed decisions based on the most accurate and up-to-date information available.
Digital Asset Solutions
The rise of digital assets has opened new avenues for investment in precious metals. The Metals-API supports developers in creating solutions that bridge the gap between traditional assets and digital currencies. By leveraging the API's capabilities, developers can create platforms that allow users to trade gold as a digital asset, providing a modern approach to investing in this timeless commodity.
API Description
The Metals-API is a robust tool designed for developers seeking to access real-time and historical data on precious metals. With its user-friendly interface and comprehensive documentation, the API empowers developers to build applications that can retrieve and analyze metal prices efficiently. The API supports various endpoints, each offering unique functionalities that cater to different use cases.
For detailed information on how to use the API, refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API provides a wide range of features that cater to various needs in the precious metals market. Here are some of the key endpoints and their functionalities:
Latest Rates Endpoint
The Latest Rates Endpoint allows users to retrieve real-time exchange rate data for metals. Depending on the subscription plan, this endpoint updates every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to stay informed about the latest market prices.
{
"success": true,
"timestamp": 1788912907,
"base": "USD",
"date": "2026-09-09",
"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"
}
Historical Rates Endpoint
Accessing historical rates is crucial for analyzing trends and making informed decisions. The Historical Rates Endpoint allows users to query historical rates for most currencies dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can retrieve past prices for analysis.
{
"success": true,
"timestamp": 1788826507,
"base": "USD",
"date": "2026-09-08",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"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 orders at the best possible prices.
{
"success": true,
"timestamp": 1788912907,
"base": "USD",
"date": "2026-09-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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1788912907,
"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 dates of their choice. This feature is beneficial for analyzing trends over specific periods and understanding market movements.
{
"success": true,
"timeseries": true,
"start_date": "2026-09-02",
"end_date": "2026-09-09",
"base": "USD",
"rates": {
"2026-09-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-09-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-09-09": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how currencies fluctuate on a day-to-day basis. This endpoint is useful for traders looking to understand market volatility and make informed decisions based on price changes.
{
"success": true,
"fluctuation": true,
"start_date": "2026-09-02",
"end_date": "2026-09-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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to query the API to get the open, high, low, and close prices for a specific time period. This data is essential for traders who rely on candlestick charts for technical analysis.
{
"success": true,
"timestamp": 1788912907,
"base": "USD",
"date": "2026-09-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"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for developers working with industrial metals and seeking historical data for analysis.
API Key and Authentication
To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. This key is essential for authentication and ensures that only authorized users can access the data.
API Response
The exchange rates delivered by the Metals-API are by default relative to USD. All data is returned in a structured JSON format, making it easy for developers to parse and utilize the information in their applications.
Performance Considerations
When working with the Metals-API, developers should consider rate limiting and quota management to ensure optimal performance. Understanding the API's limits and structuring requests efficiently can help avoid throttling and ensure smooth operation.
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.
Conclusion
In conclusion, the Metals-API offers a powerful solution for developers looking to access historical prices and real-time data for gold and other precious metals. By leveraging the API's extensive features, developers can create innovative applications that enhance trading strategies and provide valuable insights into market trends. With the ability to retrieve historical rates, bid and ask prices, and fluctuation data, the Metals-API empowers users to make informed decisions in the dynamic world of precious metals trading.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the comprehensive Metals-API Documentation for detailed guidance on implementation and usage.