Explore Noida Gold 22k (NOID-22k) Historical Prices through this API

Explore Noida Gold 22k (NOID-22k) Historical Prices through this API
Metals-API, which provides developers with the tools necessary to retrieve and analyze gold prices, including historical data that dates back to 2019. This blog post delves into the capabilities of the Metals-API, focusing on how to effectively utilize it to explore the historical prices of gold.
About Gold (XAU)
API Description
Metals-API is designed to deliver real-time and historical data for various metals, including gold. It offers a robust set of features that allow developers to access exchange rates, historical prices, and market insights with ease. The API's capabilities are built on a foundation of innovation and technological advancement, enabling users to harness the transformative potential of real-time metals data.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, the API updates this information every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to stay informed about current market conditions.
- Historical Rates Endpoint: Access historical rates for gold dating back to 2019. By appending a specific date to the API request, users can retrieve historical price data, allowing for in-depth analysis of price trends over time.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for gold. Understanding the bid-ask spread is crucial for traders looking to optimize their entry and exit points in the market.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for investors looking to diversify their portfolios across different metals.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice. This endpoint is invaluable for conducting trend analysis and understanding price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how gold prices fluctuate on a day-to-day basis. By tracking fluctuations, traders can identify patterns and make informed decisions based on historical volatility.
- Carat Endpoint: For those interested in gold purity, the carat endpoint allows users to retrieve information about gold rates by carat. This feature is essential for jewelers and consumers looking to understand the value of gold jewelry.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for gold over a specified period. This information is crucial for identifying market extremes and making strategic trading decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for gold over a specified date range. Analyzing OHLC data is a common practice among traders to assess market trends.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for those interested in understanding the broader market dynamics affecting gold prices.
- API Key: To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. This key ensures secure access to the API's features.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default. All data is returned in a structured JSON format, making it easy for developers to parse and utilize the information.
- Available Endpoints: The Metals-API offers a comprehensive list of endpoints, each providing different functionalities. Developers can explore these endpoints to find the features that best suit their needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metal symbols supported by the API. For a complete list of symbols, refer to the Metals-API Supported Symbols page.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint. This feature is particularly useful for investors in the Indian market.
- News Endpoint: The Metals-API also provides access to the latest news articles related to various metals, keeping users informed about market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753290017,
"base": "USD",
"date": "2025-07-23",
"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": 1753203617,
"base": "USD",
"date": "2025-07-22",
"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-07-16",
"end_date": "2025-07-23",
"base": "USD",
"rates": {
"2025-07-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-23": {
"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": 1753290017,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-16",
"end_date": "2025-07-23",
"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": 1753290017,
"base": "USD",
"date": "2025-07-23",
"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": 1753290017,
"base": "USD",
"date": "2025-07-23",
"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 for detailed guidance on implementing the API in your applications. Additionally, explore the Metals-API Supported Symbols page to familiarize yourself with the various metal symbols available. With the right tools and insights, you can navigate the complexities of gold trading with confidence.