Get Nagpur Gold 22k (NAGP-22k) prices for trading using this API

Introduction
Nagpur Gold 22k (NAGP-22k), leveraging the Metals-API can provide invaluable insights and data for making informed trading decisions. This blog post will delve into the capabilities of the Metals-API, focusing on how it can be utilized to track gold prices and other precious metals effectively.
Metals-API Information
About Gold (XAU)
XAU, is one of the most sought-after precious metals in the trading market. Its value is influenced by various factors, including economic stability, inflation rates, and geopolitical events. With the digital transformation in precious metals trading, the integration of technology and data analytics has revolutionized how traders access and interpret market insights.
API Description
Metals-API is a powerful tool designed to deliver real-time metals data, enabling developers to create applications that can track and analyze precious metals prices efficiently. The API's capabilities extend beyond just providing current rates; it offers a comprehensive suite of features that empower users to build sophisticated trading platforms.
Metals-API Documentation.
Key Features and Endpoints
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This allows traders to stay informed about the latest market movements.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past data to analyze trends and make informed predictions.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD. This is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and traders dealing in different purities.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified period, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data 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 long-term view of market trends.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: All exchange rates are delivered relative to USD, with comprehensive data returned in a structured format.
- Available Endpoints: The API offers a variety of endpoints, each designed for specific functionalities, ensuring that developers have the tools they need.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring you have the latest information at your fingertips.
- Gold Price India Endpoint: Retrieve the latest gold price in India, which is particularly useful for traders in the Indian market.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
List of Symbols
Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1750205178,
"base": "USD",
"date": "2025-06-18",
"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": 1750118778,
"base": "USD",
"date": "2025-06-17",
"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-06-11",
"end_date": "2025-06-18",
"base": "USD",
"rates": {
"2025-06-11": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-13": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-18": {
"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": 1750205178,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-11",
"end_date": "2025-06-18",
"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
{
"success": true,
"timestamp": 1750205178,
"base": "USD",
"date": "2025-06-18",
"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": 1750205178,
"base": "USD",
"date": "2025-06-18",
"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 is an invaluable resource for traders interested in precious metals, particularly Nagpur Gold 22k (NAGP-22k). By providing real-time data, historical insights, and a wide range of endpoints, the API empowers developers to create sophisticated trading applications that can adapt to market changes swiftly.
Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available options. The Metals-API Website is also a great resource for staying updated on the latest developments in metals trading.