Fetch Mumbai Silver (XAG-MUMB) Historical Pricing Information using this API

Introduction
XAG. This blog post will delve into how to fetch historical pricing information for Mumbai Silver (XAG-MUMB) using the Metals-API. We will explore the capabilities of this powerful API, its various endpoints, and how developers can leverage it to create innovative applications that utilize real-time metals data.
About Silver (XAG)
Metals-API Overview
Metals-API is a robust platform designed to provide developers with access to real-time and historical pricing data for various metals, including silver. This API empowers developers to build next-generation applications that can analyze market trends, perform currency conversions, and track fluctuations in metal prices. With its user-friendly interface and comprehensive documentation, the Metals-API is an essential tool for anyone involved in the metals trading industry.
Key Features of Metals-API
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753056123,
"base": "USD",
"date": "2025-07-21",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1752969723,
"base": "USD",
"date": "2025-07-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1753056123,
"base": "USD",
"date": "2025-07-21",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1753056123,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-14",
"end_date": "2025-07-21",
"base": "USD",
"rates": {
"2025-07-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-14",
"end_date": "2025-07-21",
"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
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1753056123,
"base": "USD",
"date": "2025-07-21",
"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
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
Authentication and API Key
Common Use Cases
- Building trading platforms that require real-time and historical pricing data.
- Creating analytical tools that help traders make informed decisions based on market trends.
- Integrating with existing financial applications to provide users with up-to-date metal prices.
Performance Optimization and Best Practices
Security Considerations
Conclusion
Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals. Start building your applications today with the Metals-API Website.