Fetch Mangalore Gold 22k (MANG-22k) prices using this API for developers

Introduction
In the world of precious metals trading, real-time data is crucial for making informed decisions. Developers looking to integrate gold pricing into their applications can leverage the Metals-API to fetch Mangalore Gold 22k (MANG-22k) prices seamlessly. This blog post will delve into the capabilities of the Metals-API, focusing on how it empowers developers to access and utilize gold pricing data effectively.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of financial markets and a safe haven for investors. With the digital transformation sweeping across various sectors, the precious metals market is no exception. The integration of data analytics and technology into trading practices has revolutionized how traders and investors approach gold.
Through innovative price discovery methods and digital asset solutions, the landscape of gold trading is evolving. Developers can harness the power of real-time metals data to create applications that provide market insights, track price fluctuations, and facilitate trading strategies. The Metals-API stands at the forefront of this transformation, offering a robust platform for accessing gold prices and other metal data.
API Description
The Metals-API is a powerful tool designed for developers seeking to build next-generation applications that require real-time metals data. With its comprehensive features, the API allows users to access a wide range of functionalities, including the latest rates, historical data, and conversion capabilities. The API's design emphasizes innovation and technological advancement, making it an essential resource for anyone involved in the precious metals market.
For detailed information on how to get started, developers can refer to the Metals-API Documentation, which provides extensive guidance on utilizing the API's features effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the precious metals trading ecosystem. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for various metals, including gold. Depending on the subscription plan, this endpoint can return updates every 60 minutes or even more frequently. This feature is essential for developers who need to display current market prices in their applications.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
For developers interested in analyzing trends over time, the Historical Rates Endpoint allows access to historical exchange rates dating back to 2019. By appending a specific date to the API request, users can retrieve past rates, enabling them to conduct thorough market analyses.
{
"success": true,
"timestamp": 1758351641,
"base": "USD",
"date": "2025-09-20",
"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 provides real-time bid and ask prices for metals. This information is crucial for traders looking to make informed decisions based on current market conditions. The bid price represents the maximum price that a buyer is willing to pay, while the ask price is the minimum price a seller is willing to accept.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"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 metal to another or to/from USD. This feature is particularly useful for applications that require currency conversion for pricing or trading purposes.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1758438041,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint enables developers to query the API for daily historical rates between two specified dates. This functionality is essential for analyzing price movements and trends over time, allowing for more informed trading decisions.
{
"success": true,
"timeseries": true,
"start_date": "2025-09-14",
"end_date": "2025-09-21",
"base": "USD",
"rates": {
"2025-09-14": {
"XAU": 0.000485
},
"2025-09-21": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how metal prices fluctuate on a day-to-day basis. By tracking rate changes between two dates, developers can gain valuable insights into market volatility and trends.
{
"success": true,
"fluctuation": true,
"start_date": "2025-09-14",
"end_date": "2025-09-21",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Carat Endpoint
The Carat Endpoint allows users to retrieve information about gold rates by carat. This feature is particularly useful for jewelers and consumers looking to understand the value of gold based on its purity.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"rates": {
"22k": 0.000482
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
The Lowest/Highest Price Endpoint enables users to query the API for the lowest and highest prices of metals over a specified period. This information is vital for traders looking to identify price trends and make strategic decisions.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides detailed price data, including open, high, low, and close prices for a specific time period. This data is essential for technical analysis and helps traders understand market behavior.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"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 looking to analyze long-term trends in metal prices.
{
"success": true,
"timestamp": 1758438041,
"base": "USD",
"date": "2025-09-21",
"rates": {
"XAU": 0.000482
},
"unit": "per troy ounce"
}
API Key and Response
To access the Metals-API, developers must use an API key, which is passed into the API base URL's access_key parameter. This key ensures secure access to the API's functionalities. The API responses are delivered in JSON format, with exchange rates typically relative to USD.
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
The Metals-API is an invaluable resource for developers looking to integrate real-time gold pricing and other precious metals data into their applications. With its extensive range of endpoints, including the Latest Rates, Historical Rates, and Conversion capabilities, developers can create powerful tools that enhance trading strategies and market analysis.
By leveraging the capabilities of the Metals-API, developers can stay ahead in the rapidly evolving landscape of precious metals trading. For more information on how to utilize the API effectively, be sure to check out the Metals-API Documentation and explore the various features available to enhance your applications.