Get Macedonian Denar (MKD) Historical Prices using this API
Get Macedonian Denar (MKD) Historical Prices using this API
The world of metals trading is rapidly evolving, driven by digital transformation and technological innovation. One of the key players in this space is the Metals-API, which provides developers with the tools to access real-time and historical prices for various metals, including the Macedonian Denar (MKD). In this blog post, we will explore how to retrieve historical prices using the Metals-API, focusing on the capabilities of this powerful tool and its relevance in today's data-driven market.
Metals-API Information
The Metals-API is a comprehensive solution for accessing metal prices and currency conversion data. It offers a wide range of endpoints that allow developers to integrate real-time and historical data into their applications. This API is particularly valuable for those in the finance and trading sectors, where accurate and timely data is crucial for making informed decisions.
About Nickel (NI)
Nickel, represented by the symbol NI, is a key metal in various industries, including electronics, automotive, and construction. The digital transformation in metal markets has led to significant advancements in how nickel and other metals are traded. With the integration of smart technology and data analytics, stakeholders can gain insights into market trends and make data-driven decisions.
Technological innovation has also paved the way for new trading platforms and applications that leverage real-time data. The Metals-API plays a vital role in this ecosystem by providing developers with the ability to access and analyze historical prices, enabling them to build next-generation applications that can respond to market fluctuations.
API Description
The Metals-API is designed to empower developers by providing access to a wealth of data related to metal prices. With its innovative approach, the API allows users to retrieve real-time exchange rates, historical prices, and various other data points that are essential for trading and analysis.
One of the standout features of the Metals-API is its ability to deliver data in a structured format, making it easy for developers to integrate into their applications. The API supports multiple endpoints, each tailored to specific needs, such as retrieving the latest rates, historical rates, and even bid and ask prices.
For more detailed information, you can refer to the Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even every 10 minutes, ensuring you have the most current information at your fingertips.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date to your query. This feature is invaluable for analyzing trends over time and making informed trading decisions.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices, giving you insights into market dynamics and helping you make strategic trading choices.
- Convert Endpoint: The conversion endpoint enables you to convert amounts between different currencies, facilitating seamless transactions across various markets.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how currencies fluctuate on a day-to-day basis, helping you understand market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and investors in the gold market.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to get the open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is essential for those trading in the London Metal Exchange.
- API Key: Your unique API key is essential for accessing the API, ensuring secure and authorized usage.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring you have access to the latest symbols and their specifications.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market developments.
For a complete list of all supported symbols, including those relevant to the Macedonian Denar (MKD), refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1771546527,
"base": "USD",
"date": "2026-02-20",
"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"
}
This response indicates that the API successfully retrieved the latest rates for various metals, with the base currency set to USD.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1771460127,
"base": "USD",
"date": "2026-02-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates for a specific date, providing insights into past market performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"base": "USD",
"rates": {
"2026-02-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response demonstrates how to retrieve exchange rates for a specific time period, allowing for trend analysis.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1771546527,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows you to convert amounts between different metals or currencies, facilitating transactions across various markets.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"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"
}
This endpoint provides valuable insights into how metal prices fluctuate over time, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1771546527,
"base": "USD",
"date": "2026-02-20",
"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"
}
This response provides the open, high, low, and close prices for a specific date, which is crucial for technical analysis and trading strategies.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1771546527,
"base": "USD",
"date": "2026-02-20",
"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"
}
This endpoint provides current bid and ask prices, which are essential for traders looking to execute orders at optimal prices.
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical prices for metals, including the Macedonian Denar (MKD). With its extensive range of endpoints, the API enables users to retrieve valuable data that can inform trading strategies and market analysis.
By leveraging the capabilities of the Metals-API, developers can build innovative applications that respond to market fluctuations, analyze historical trends, and provide insights into the dynamics of metal trading. Whether you are a seasoned trader or a developer looking to create the next big financial application, the Metals-API offers the tools you need to succeed.
For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metals and currencies.
Embrace the future of metal trading with the Metals-API and unlock the potential of real-time data in your applications.