Get Accurate Patna Gold 24k (PATN-24k) Prices in Multiple Currencies with this API

Get Accurate Patna Gold 24k (PATN-24k) Prices in Multiple Currencies with this API
Metals-API provides a powerful solution for obtaining precise gold prices, including Patna Gold 24k (PATN-24k), in multiple currencies. This blog post will delve into how Metals-API empowers developers to integrate real-time metals data into their applications, explore the innovative features of the API, and discuss potential business applications.
About Gold (XAU)
API Description
Latest Rates Endpoint provides real-time exchange rate data for gold and other metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on the subscription plan. This feature is essential for businesses that need to monitor price changes closely and react swiftly to market fluctuations.
Historical Rates Endpoint allows users to access historical gold prices dating back to 2019. This data can be invaluable for businesses looking to analyze trends over time and make predictions based on past performance. By appending a specific date to the API request, users can retrieve historical rates and gain insights into market behavior.
Bid and Ask Endpoint, which provides real-time bid and ask prices for gold. This information is crucial for traders who need to understand the current market sentiment and make informed decisions about buying or selling gold.
Convert Endpoint enables users to convert any amount from one currency to another, making it easier for businesses to operate in a global market. This feature is particularly useful for companies that deal with international clients or suppliers, as it simplifies the process of pricing and transactions.
Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This functionality is essential for businesses that require detailed analysis over specific time frames, enabling them to identify patterns and make strategic decisions.
Fluctuation Endpoint provides insights into how gold prices fluctuate on a day-to-day basis. By tracking these fluctuations, businesses can better understand market volatility and adjust their strategies accordingly.
Carat Endpoint allows users to retrieve information about gold prices based on carat weight. This feature is particularly relevant for jewelers and retailers who need precise pricing for their products.
Lowest/Highest Price Endpoint enables users to query the API for the lowest and highest prices of gold within a specified date range. This information can help businesses identify optimal buying or selling points.
Open/High/Low/Close (OHLC) Price Endpoint provides comprehensive data about the open, high, low, and close prices for gold over a specified period. This data is crucial for traders who rely on technical analysis to inform their trading strategies.
Historical LME Endpoint offers access to historical rates dating back to 2008, providing a wealth of data for analysis and decision-making.
API Key, which is passed into the API base URL's access_key parameter. This key ensures secure access to the API's features and data.
Metals-API Supported Symbols page.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755216136,
"base": "USD",
"date": "2025-08-15",
"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
{
"success": true,
"timestamp": 1755129736,
"base": "USD",
"date": "2025-08-14",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-08",
"end_date": "2025-08-15",
"base": "USD",
"rates": {
"2025-08-08": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-10": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-15": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1755216136,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-08",
"end_date": "2025-08-15",
"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) Price Endpoint
{
"success": true,
"timestamp": 1755216136,
"base": "USD",
"date": "2025-08-15",
"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
{
"success": true,
"timestamp": 1755216136,
"base": "USD",
"date": "2025-08-15",
"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
Metals-API Documentation. Explore the full range of supported symbols on the Metals-API Supported Symbols page, and start building your next-generation applications today!