The Easiest Way to Get Manganese (MN) Historical Rates Using API Access

The Easiest Way to Get Manganese (MN) Historical Rates Using API Access
In today's fast-paced digital landscape, accessing real-time data is crucial for developers and businesses alike. One of the most valuable resources for those in the metals market is the Metals-API, which provides comprehensive access to historical and current rates for various metals, including Manganese (MN). This blog post will guide you through the process of retrieving historical prices for Manganese using the Metals-API, detailing the necessary endpoints, parameters, and data formats.
About Manganese (MN)
Manganese is a critical metal used in various industrial applications, from steel production to battery manufacturing. As industries evolve, the demand for accurate and timely data on Manganese prices becomes increasingly important. The digital transformation in metal markets has led to technological innovations that allow for real-time data analytics and insights. By leveraging smart technology integration, businesses can make informed decisions based on the latest market trends.
The Metals-API stands at the forefront of this transformation, providing developers with the tools needed to build next-generation applications that can access and analyze metal prices, including Manganese. With the ability to retrieve historical rates dating back to 2019, the API empowers users to track price fluctuations, analyze trends, and make data-driven decisions.
API Description
The Metals-API is a powerful JSON API that offers a wide range of functionalities for accessing metal prices and currency conversion. It provides developers with the ability to integrate real-time and historical data into their applications seamlessly. The API is designed with innovation in mind, allowing for the development of applications that can adapt to the ever-changing landscape of the metals market.
For more detailed information, you can refer to the Metals-API Documentation, which outlines the various endpoints and their capabilities. Additionally, the Symbols List provides a comprehensive overview of all supported metal symbols, including Manganese.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features that you can leverage:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes or even more frequently. This is essential for developers who need the most current pricing information.
- Historical Rates Endpoint: Access historical rates for Manganese and other metals dating back to 2019. By appending a specific date to the endpoint, you can retrieve the price for that day.
- Bid and Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices, which are crucial for traders looking to make informed decisions based on market conditions.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD, making it easier to work with different currencies and metals.
- Time-Series Endpoint: This endpoint enables you to query the API for daily historical rates between two dates of your choice, providing a comprehensive view of price trends over time.
- Fluctuation Endpoint: Track how prices fluctuate on a day-to-day basis, which is vital for understanding market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for a specific time period, allowing for in-depth analysis of price movements.
- Lowest/Highest Price Endpoint: Retrieve the lowest and highest prices for a specified date, which can help in identifying market extremes.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is beneficial for those focusing on London Metal Exchange data.
- API Key: Your unique API key is essential for accessing the API and must be included in your requests.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in your data analysis.
API Endpoint Examples and Responses
To illustrate how to use the Metals-API effectively, let's explore some example endpoints and their corresponding JSON responses.
Latest Rates Endpoint
To get real-time exchange rates for all available metals, you can use the following endpoint:
GET https://metals-api.com/api/latest?access_key=YOUR_API_KEY
Example response:
{
"success": true,
"timestamp": 1760468450,
"base": "USD",
"date": "2025-10-14",
"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
To access historical exchange rates for any date since 1999, use the following endpoint:
GET https://metals-api.com/api/historical?access_key=YOUR_API_KEY&date=YYYY-MM-DD
Example response:
{
"success": true,
"timestamp": 1760382050,
"base": "USD",
"date": "2025-10-13",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
To get exchange rates for a specific time period, you can use:
GET https://metals-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
Example response:
{
"success": true,
"timeseries": true,
"start_date": "2025-10-07",
"end_date": "2025-10-14",
"base": "USD",
"rates": {
"2025-10-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-14": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
To convert any amount from one metal to another or to/from USD, use:
GET https://metals-api.com/api/convert?access_key=YOUR_API_KEY&from=USD&to=XAU&amount=1000
Example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1760468450,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
To track rate fluctuations between two dates, use:
GET https://metals-api.com/api/fluctuation?access_key=YOUR_API_KEY&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
Example response:
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-07",
"end_date": "2025-10-14",
"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
To get OHLC data for a specific time period, use:
GET https://metals-api.com/api/open-high-low-close?access_key=YOUR_API_KEY&date=YYYY-MM-DD
Example response:
{
"success": true,
"timestamp": 1760468450,
"base": "USD",
"date": "2025-10-14",
"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
To get current bid and ask prices for metals, use:
GET https://metals-api.com/api/bid-ask?access_key=YOUR_API_KEY
Example response:
{
"success": true,
"timestamp": 1760468450,
"base": "USD",
"date": "2025-10-14",
"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
Accessing historical rates for Manganese (MN) using the Metals-API is a straightforward process that can significantly enhance your data analytics capabilities. By utilizing the various endpoints provided by the API, developers can retrieve real-time and historical data, track fluctuations, and perform conversions with ease. The integration of such powerful tools into your applications not only streamlines operations but also empowers businesses to make informed decisions based on accurate market data.
For more information on how to get started, visit the Metals-API Documentation and explore the Symbols List for a complete overview of available metals. The future of metal market analytics is here, and with the right tools, you can stay ahead of the curve.