Get Azerbaijani Manat (AZN) Historical Prices using this API
Get Azerbaijani Manat (AZN) Historical Prices using this API
In today's rapidly evolving financial landscape, the ability to access historical prices for currencies such as the Azerbaijani Manat (AZN) is crucial for developers and analysts alike. The Metals-API offers a powerful solution for retrieving historical exchange rates and other valuable data related to various metals and currencies. This blog post will delve into the capabilities of the Metals-API, focusing on how to obtain historical prices, particularly for the Azerbaijani Manat, while exploring the broader context of digital transformation in metal markets.
Metals-API Information
The Metals-API is a comprehensive JSON API that provides real-time and historical data on metal prices and currency conversions. It is designed for developers who require accurate and timely information to build next-generation applications. The API supports a wide range of endpoints that allow users to access the latest rates, historical data, and various analytical insights.
About Nickel (NI)
Nickel, represented by the symbol NI, is a vital metal in the modern economy, playing a significant role in various industries, including electronics, automotive, and construction. As we explore the digital transformation in metal markets, it is essential to recognize how technological innovations and advancements are reshaping the way we interact with metal data.
Data analytics and insights derived from real-time metal prices empower businesses to make informed decisions. The integration of smart technology into metal trading platforms enhances efficiency and transparency, allowing for better tracking of price fluctuations and market trends. As we look to the future, the possibilities for innovation in the metal markets are vast, with the potential for even more sophisticated data analysis and predictive modeling.
API Description
The Metals-API is not just a tool for retrieving data; it is a transformative platform that enables developers to harness the power of real-time metals data. With its robust set of features, the API allows users to build applications that can analyze market trends, track historical prices, and perform currency conversions seamlessly.
For developers looking to integrate the Metals-API into their applications, the Metals-API Documentation provides comprehensive guidance on how to utilize the various endpoints effectively. This documentation covers everything from authentication to detailed descriptions of each endpoint's functionality.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to serve specific needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals and currencies. Depending on your subscription plan, the API can return updates every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can query the Metals-API for historical rates, making it an invaluable resource for financial analysis and reporting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals. Depending on the subscription plan, this endpoint can provide insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that enables users to convert any amount from one currency to another. This feature is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice. This endpoint is ideal for analyzing trends over specific periods, providing valuable insights into market behavior.
- Fluctuation Endpoint: This endpoint allows users to track how currencies fluctuate on a day-to-day basis. By providing information about rate changes, it helps developers understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and gold traders. This feature allows for precise calculations based on the purity of gold.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of metals over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for a specific time period, which is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, making it a valuable resource for historical analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API includes 14 endpoints, each offering different functionalities to meet diverse user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, allowing users to stay informed about the latest additions.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them updated on market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1774225302,
"base": "USD",
"date": "2026-03-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
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1774138902,
"base": "USD",
"date": "2026-03-22",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2026-03-16",
"end_date": "2026-03-23",
"base": "USD",
"rates": {
"2026-03-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-23": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1774225302,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-16",
"end_date": "2026-03-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
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1774225302,
"base": "USD",
"date": "2026-03-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
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1774225302,
"base": "USD",
"date": "2026-03-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
In conclusion, the Metals-API offers a robust and versatile solution for developers seeking to access historical prices and real-time data for metals and currencies like the Azerbaijani Manat (AZN). By leveraging the various endpoints provided by the API, developers can create applications that not only track market trends but also provide valuable insights into price fluctuations and historical data analysis.
As the digital transformation of metal markets continues, the integration of advanced technologies and data analytics will play a crucial role in shaping the future of trading and investment. The Metals-API stands at the forefront of this transformation, empowering developers to build innovative applications that harness the power of real-time data.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a complete list of available symbols. Embrace the future of metal trading with the Metals-API and unlock the potential of historical price data today.