Access Croatian Kuna (HRK) Historical Prices via this API
Access Croatian Kuna (HRK) Historical Prices via this API
The Croatian Kuna (HRK) is an essential currency for those involved in the financial markets, particularly in Europe. With the rise of digital transformation in metal markets, accessing historical prices for HRK has become increasingly important for developers and analysts alike. The Metals-API offers a robust solution for retrieving real-time and historical data on various currencies, including the Croatian Kuna. This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, technical specifications, and practical applications for developers looking to harness the power of real-time metals data.
About Croatian Kuna (HRK)
The Croatian Kuna has been the official currency of Croatia since 1994, replacing the Croatian dinar. As a member of the European Union, Croatia's currency plays a significant role in the region's economic landscape. The digital transformation in metal markets has led to a surge in demand for accurate and timely data on currency exchange rates, including HRK. Technological innovations and advancements in data analytics have empowered developers to create applications that provide insights into currency fluctuations, enabling better decision-making in trading and investment.
As we explore the capabilities of the Metals-API, we will uncover how this API can facilitate the integration of smart technology into financial applications, allowing developers to build next-generation tools that leverage real-time data for enhanced user experiences. The future trends in currency exchange and metal pricing are heavily influenced by the ability to access and analyze historical data, making the Metals-API an invaluable resource for developers.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical data on metal prices and currency exchange rates. With its user-friendly interface and comprehensive documentation, the Metals-API empowers developers to build applications that can analyze market trends, track price fluctuations, and convert currencies seamlessly. The API's capabilities extend beyond mere data retrieval; it offers a transformative potential for developers looking to innovate in the financial sector.
For more information on how to get started, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different needs, allowing developers to access the data they require efficiently. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. Developers can use this endpoint to get the latest rates for HRK against various metals.
- Historical Rates Endpoint: 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, enabling them to analyze trends over time.
- Bid And Ask Endpoint: This powerful feature allows developers to retrieve real-time bid and ask prices for metals, providing insights into market conditions and helping traders make informed decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, which can convert any amount from one currency to another. This is particularly useful for developers who need to integrate currency conversion features into their applications.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, offering insights into market volatility and trends.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specific date, which can be crucial for traders looking to optimize their buying and selling strategies.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, allowing for detailed market analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is invaluable for those tracking industrial metals.
- API Key: Each user receives 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: With 14 different API endpoints, developers have a wealth of functionality at their fingertips.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, including HRK, ensuring developers have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, providing context and insights into market movements.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1775520997,
"base": "USD",
"date": "2026-04-07",
"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": 1775434597,
"base": "USD",
"date": "2026-04-06",
"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-31",
"end_date": "2026-04-07",
"base": "USD",
"rates": {
"2026-03-31": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-02": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-07": {
"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": 1775520997,
"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-31",
"end_date": "2026-04-07",
"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": 1775520997,
"base": "USD",
"date": "2026-04-07",
"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": 1775520997,
"base": "USD",
"date": "2026-04-07",
"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 prices for the Croatian Kuna (HRK) through the Metals-API provides developers with a powerful tool to analyze market trends and make informed decisions. The API's extensive features, including real-time rates, historical data, and various endpoints for conversion and fluctuation tracking, empower developers to create innovative applications that leverage real-time data. By integrating the Metals-API into their projects, developers can enhance their applications with valuable insights into currency and metal pricing.
For further exploration of the API's capabilities, refer to the Metals-API Documentation and the Metals-API Supported Symbols page. The future of financial technology is bright, and with tools like the Metals-API, developers are well-equipped to navigate the evolving landscape of currency exchange and metal markets.