Access Coimbatore Gold 18k (COIM-18k) Exchange Rates API Documentation in JSON Format
Access Coimbatore Gold 18k (COIM-18k) Exchange Rates API Documentation in JSON Format
In the world of precious metals trading, having access to real-time exchange rates is crucial for developers and businesses alike. The Metals-API provides a powerful solution for retrieving exchange rates for various metals, including Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD). This blog post will delve into how to effectively retrieve exchange rates in JSON format using the Metals-API, with a focus on the Gold 18k (COIM-18k) symbol. We will explore the API's capabilities, provide sample API responses, and offer integration tips for developers looking to harness the power of real-time metals data.
About Gold (XAU)
Gold has long been a symbol of wealth and a critical asset in the financial markets. As digital transformation reshapes the landscape of precious metals trading, the need for accurate and timely data has never been more pressing. The Metals-API offers developers the tools to integrate real-time gold pricing into their applications, enabling innovative solutions for price discovery and market analysis.
With the rise of data analytics and market insights, businesses can leverage the Metals-API to gain a competitive edge. By integrating advanced technology into trading platforms, developers can create applications that not only provide real-time pricing but also analyze trends and fluctuations in the gold market. This innovation in price discovery allows traders to make informed decisions based on up-to-the-minute data.
API Description
The Metals-API is designed to empower developers with real-time access to metals pricing data. This API supports a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data. The transformative potential of this API lies in its ability to provide developers with the necessary tools to build next-generation applications that can adapt to the fast-paced world of precious metals trading.
For more detailed information, you can refer to the Metals-API Documentation, which outlines all available features and endpoints.
Key Features and Endpoints
The Metals-API offers a comprehensive suite of endpoints that serve various functionalities. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently depending on your subscription plan. This is essential for applications that require the most current pricing information.
- Historical Rates Endpoint: Access historical exchange rates dating back to 2019. By appending a specific date to your query, you can retrieve past rates, which is invaluable for trend analysis and market research.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices for metals, providing insight into market liquidity and pricing dynamics.
- Convert Endpoint: Easily convert amounts between different metals or to/from USD. This endpoint is particularly useful for applications that require currency conversion capabilities.
- Time-Series Endpoint: Query daily historical rates between two chosen dates, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve gold rates by carat, which is essential for jewelers and businesses dealing in gold jewelry.
- Lowest/Highest Price Endpoint: Get the lowest and highest prices for a specified date, which can aid in identifying market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: Access 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, providing a broader context for market analysis.
- API Key: Your unique API key is required for authentication and must be included in the API base URL's access_key parameter.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: With 14 different endpoints, the Metals-API covers a wide range of functionalities to meet diverse developer needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring you have the most up-to-date information on supported symbols.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you 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
To illustrate the capabilities of the Metals-API, here are some examples of API responses for various endpoints:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1767157688,
"base": "USD",
"date": "2025-12-31",
"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": 1767071288,
"base": "USD",
"date": "2025-12-30",
"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-24",
"end_date": "2025-12-31",
"base": "USD",
"rates": {
"2025-12-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-12-31": {
"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": 1767157688,
"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-24",
"end_date": "2025-12-31",
"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": 1767157688,
"base": "USD",
"date": "2025-12-31",
"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": 1767157688,
"base": "USD",
"date": "2025-12-31",
"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 is a powerful tool for developers looking to integrate real-time exchange rates for precious metals into their applications. With a wide range of endpoints, including the latest rates, historical data, and conversion capabilities, this API provides the necessary resources to build innovative solutions in the financial sector. By leveraging the capabilities of the Metals-API, developers can create applications that not only provide accurate pricing but also offer insights into market trends and fluctuations.
For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page to find the symbols you need. The Metals-API Website is your gateway to accessing real-time metals data and transforming your trading applications.