Obtain Croatian Kuna (HRK) Historical Prices through this API
Obtain Croatian Kuna (HRK) Historical Prices through this API
The Croatian Kuna (HRK) is the official currency of Croatia, a country known for its rich history and beautiful landscapes. As the world becomes increasingly digital, the need for accurate and real-time financial data has never been more critical. Developers looking to integrate currency data into their applications can leverage the Metals-API to obtain historical prices for the Croatian Kuna and other currencies. This blog post will explore how to effectively use the Metals-API to access historical prices, focusing on its innovative features, endpoints, and practical applications.
About Croatian Kuna (HRK)
The Croatian Kuna has been in use since 1994, replacing the Croatian dinar. As Croatia is a member of the European Union, the Kuna is often compared to the Euro (EUR) and other currencies in the region. Understanding the historical prices of the Kuna can provide valuable insights into economic trends, currency stability, and market behavior. The integration of digital transformation in metal markets, technological innovation, and data analytics has made it easier for developers to access and analyze this data.
With the rise of smart technology integration, the Metals-API offers a robust solution for developers looking to build applications that require real-time and historical currency data. By utilizing the API, developers can gain insights into market trends, analyze fluctuations, and make informed decisions based on accurate data.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical metals data, including currency exchange rates. This API is designed to empower developers to create next-generation applications that require accurate financial data. The API's capabilities include retrieving the latest rates, historical rates, and various other functionalities that can be leveraged for different use cases.
For detailed information on how to use the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on all available endpoints and their functionalities. Additionally, the Metals-API Supported Symbols page offers a complete list of all available currencies and metals that can be accessed through the API.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data that is updated every 60 minutes, every 10 minutes, or even more frequently, depending on your subscription plan. Developers can use this endpoint to get the most current rates for the Croatian Kuna against other currencies.
- Historical Rates Endpoint: Historical rates are available 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, allowing for in-depth analysis of currency trends over time.
- Bid And Ask Endpoint: This powerful feature enables developers to retrieve real-time bid and ask prices for various metals and currencies. This data is crucial for traders and financial analysts who need to make quick decisions based on market conditions.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one currency to another. This is particularly useful for applications that require currency conversion functionalities, such as e-commerce platforms or financial services.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice. This endpoint is beneficial for analyzing trends and fluctuations over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis. By tracking fluctuations, developers can gain insights into market volatility and make informed decisions.
- Carat Endpoint: For those interested in precious metals, the carat endpoint allows users to retrieve information about gold rates by carat. This is particularly useful for jewelers and investors in the gold market.
- Lowest/Highest Price Endpoint: This endpoint allows developers to query the API to get the lowest and highest prices for a specific date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is essential for technical analysis in trading.
- Historical LME Endpoint: This endpoint gives access to historical rates for LME symbols dating back to 2008, allowing for comprehensive analysis of metal prices.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate and authorize access.
- API Response: The API delivers exchange rates relative to USD by default, and all data is returned in a structured JSON format, making it easy to parse and integrate into applications.
- Available Endpoints: The Metals-API offers a total of 14 endpoints, each providing different functionalities to cater to various developer needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring developers have access to the latest symbols.
- Intraday Endpoint: This endpoint allows querying intraday exchange rate data for a single symbol, which is essential for high-frequency trading applications.
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, developers can refer to the Symbols page. This resource is invaluable for ensuring that developers are using the correct symbols in their API requests.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1787962553,
"base": "USD",
"date": "2026-08-29",
"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": 1787876153,
"base": "USD",
"date": "2026-08-28",
"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-08-22",
"end_date": "2026-08-29",
"base": "USD",
"rates": {
"2026-08-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-29": {
"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": 1787962553,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-22",
"end_date": "2026-08-29",
"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": 1787962553,
"base": "USD",
"date": "2026-08-29",
"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": 1787962553,
"base": "USD",
"date": "2026-08-29",
"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, obtaining historical prices for the Croatian Kuna (HRK) through the Metals-API is a straightforward process that can provide developers with valuable insights into currency trends and market behavior. By leveraging the various endpoints offered by the API, developers can access real-time data, historical rates, and other essential features that can enhance their applications.
The integration of advanced technologies and data analytics into financial markets has transformed the way developers access and utilize currency data. With the Metals-API, developers can build applications that not only provide accurate financial information but also empower users to make informed decisions based on real-time data.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation and explore the Symbols List for a comprehensive overview of available currencies. The Metals-API Website is also a valuable resource for developers looking to enhance their applications with real-time financial data.