Access Faridabad Gold 18k (FARI-18k) Exchange Rates API Documentation in JSON Format
Access Faridabad Gold 18k (FARI-18k) Exchange Rates API Documentation in JSON Format
In the rapidly evolving world of finance, the ability to access real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful solution for retrieving exchange rates for precious metals, including Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD). This blog post will delve into how to retrieve {Symbol} exchange rates in JSON format, showcasing sample API responses and offering integration tips to help developers harness the full potential of this innovative API.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, and its value is influenced by various factors, including market demand, geopolitical events, and economic indicators. In recent years, the digital transformation in precious metals trading has opened new avenues for data analytics and market insights. The integration of technology in trading has revolutionized how investors access and interpret market data, leading to innovative price discovery methods and digital asset solutions.
The Metals-API empowers developers to build next-generation applications by providing real-time access to gold exchange rates and other precious metals data. This API not only facilitates seamless integration into various applications but also enhances the decision-making process for traders and investors.
API Description
The Metals-API is designed to deliver accurate and timely exchange rate data for precious metals. With a focus on innovation and technological advancement, this API allows developers to create applications that can analyze market trends, track price fluctuations, and convert currencies with ease. The API supports a wide range of functionalities, making it a versatile tool for financial applications.
For more information, visit the Metals-API Documentation which provides comprehensive details on how to utilize the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. It allows developers to access the most current market rates for precious metals.
- Historical Rates Endpoint: Access historical exchange rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past rates for analysis and reporting.
- Bid and Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one metal to another or to/from USD, facilitating seamless transactions and calculations.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two chosen dates, enabling trend analysis and forecasting.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for those involved in industrial metals trading.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate access.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default, ensuring consistency in data interpretation.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing developers to stay updated on the latest symbols.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
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.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Below are examples of various API endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1767683278,
"base": "USD",
"date": "2026-01-06",
"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
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1767596878,
"base": "USD",
"date": "2026-01-05",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-12-30",
"end_date": "2026-01-06",
"base": "USD",
"rates": {
"2025-12-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-06": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1767683278,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-30",
"end_date": "2026-01-06",
"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
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1767683278,
"base": "USD",
"date": "2026-01-06",
"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
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1767683278,
"base": "USD",
"date": "2026-01-06",
"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
The Metals-API offers a comprehensive and innovative solution for accessing real-time exchange rates for precious metals. By leveraging its various endpoints, developers can create powerful applications that provide valuable insights into market trends and price fluctuations. Whether you are interested in the latest rates, historical data, or bid/ask prices, the Metals-API has you covered.
For further exploration of the API's capabilities, refer to the Metals-API Documentation and stay updated with the latest symbols on the Metals-API Supported Symbols page. Embrace the power of real-time data and transform your trading strategies with the Metals-API.