Fetch Ludhiana Gold 22k (LUDH-22k) Historical Prices through this API

Fetch Ludhiana Gold 22k (LUDH-22k) Historical Prices through this API
About Gold (XAU)
API Description
Metals-API Website for more information and access to the API documentation. The Metals-API Documentation provides detailed guidance on how to implement the API effectively.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Users can access the latest rates for Gold, Silver, and other metals, ensuring they have the most current information at their fingertips.
- Historical Rates Endpoint: Users can query historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices for Ludhiana Gold 22k, enabling them to analyze trends and make informed decisions.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insight into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert amounts between different metals or to/from USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: This endpoint enables users to query daily historical rates between two specified dates, making it easier to analyze price movements over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve Gold rates by carat, which is essential for those dealing in jewelry and precious metal trading.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, helping them identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, offering a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for users interested in long-term trends.
- API Key: Each user is provided with a unique API key, which must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers a comprehensive list of endpoints, each serving a unique function to cater to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, allowing users to stay informed about the assets they can access.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for local traders.
- News Endpoint: Stay updated with the latest news articles related to various metals, helping users to keep abreast of market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1746504098,
"base": "USD",
"date": "2025-05-06",
"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": 1746417698,
"base": "USD",
"date": "2025-05-05",
"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-04-29",
"end_date": "2025-05-06",
"base": "USD",
"rates": {
"2025-04-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-06": {
"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": 1746504098,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-29",
"end_date": "2025-05-06",
"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": 1746504098,
"base": "USD",
"date": "2025-05-06",
"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": 1746504098,
"base": "USD",
"date": "2025-05-06",
"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 and explore the comprehensive list of supported symbols at the Metals-API Supported Symbols page. Embrace the future of precious metals trading with the innovative capabilities of the Metals-API.