Access Croatian Kuna (HRK) Exchange Rates with JSON API Documentation
Access Croatian Kuna (HRK) Exchange Rates with JSON API Documentation
In today's fast-paced financial landscape, having access to real-time exchange rates is crucial for businesses and developers alike. The Metals-API provides a robust solution for retrieving exchange rates, including the Croatian Kuna (HRK). This blog post will explore how to effectively utilize the Metals-API to access HRK exchange rates, along with detailed API documentation, sample responses, and integration tips.
Metals-API Information
About Tellurium (TE)
When discussing Tellurium and its role in the metal markets, it’s essential to consider the broader context of digital transformation. The integration of technological innovations and advancements in data analytics is reshaping how metals are traded and valued. With the rise of smart technology, developers can leverage real-time data to create applications that not only track prices but also analyze trends and predict future movements.
The Metals-API stands at the forefront of this transformation, empowering developers to build next-generation applications that can respond to market changes in real-time. By utilizing the API, developers can access a wealth of data that can drive insights and inform decision-making processes.
API Description
The Metals-API is a powerful JSON API that provides access to real-time metals prices and currency conversion. It enables developers to retrieve exchange rates for various metals, including the Croatian Kuna (HRK), and offers a range of endpoints that cater to different needs. The API is designed to be user-friendly, allowing for seamless integration into applications.
For more information, visit the Metals-API Documentation to explore the full capabilities of the API.
Key Features and Endpoints
The Metals-API offers several key features that enhance its functionality and usability. Here are some of the most notable endpoints:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This is particularly useful for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can retrieve past exchange rates, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The conversion endpoint enables users to convert amounts between different currencies, including metals and fiat currencies like HRK. This is essential for applications that require currency conversion functionalities.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is particularly useful for analyzing trends over time.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, allowing developers to track volatility and market changes.
- Carat Endpoint: This endpoint provides information about gold rates by carat, which is useful for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, helping users identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access detailed OHLC data for a specific time period, which is critical for traders analyzing price movements.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data representation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
List of Symbols
The 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. Here’s an example response:
{
"success": true,
"timestamp": 1782666449,
"base": "USD",
"date": "2026-06-28",
"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, with the base currency set to USD. The rates for various metals are provided, allowing developers to integrate this data into their applications seamlessly.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999. Here’s an example response:
{
"success": true,
"timestamp": 1782580049,
"base": "USD",
"date": "2026-06-27",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows the historical rates for specific metals on a given date, which can be used for analysis and reporting purposes.
Time-series Endpoint
Get exchange rates for a specific time period. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2026-06-21",
"end_date": "2026-06-28",
"base": "USD",
"rates": {
"2026-06-21": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-23": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-28": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of exchange rates, allowing developers to visualize trends over a specified period.
Convert Endpoint
Convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1782666449,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold (XAU), providing the rate and the result in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-21",
"end_date": "2026-06-28",
"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 response provides insights into how the rates have changed over the specified period, which is crucial for traders and analysts.
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period. Here’s an example response:
{
"success": true,
"timestamp": 1782666449,
"base": "USD",
"date": "2026-06-28",
"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 detailed OHLC data, which is essential for technical analysis and trading strategies.
Bid/Ask Endpoint
Get current bid and ask prices for metals. Here’s an example response:
{
"success": true,
"timestamp": 1782666449,
"base": "USD",
"date": "2026-06-28",
"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 response provides the bid and ask prices, which are critical for traders looking to execute orders at the best possible prices.
Conclusion
Accessing Croatian Kuna (HRK) exchange rates through the Metals-API is a straightforward process that can significantly enhance your financial applications. By leveraging the various endpoints offered by the API, developers can retrieve real-time data, historical rates, and perform conversions with ease. The comprehensive documentation available at the Metals-API Documentation ensures that developers have all the information needed to implement these features effectively.
As you explore the capabilities of the Metals-API, consider the potential applications of this data in your projects. Whether you are building a trading platform, a financial analysis tool, or a currency conversion application, the Metals-API provides the necessary resources to succeed. For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
In summary, the Metals-API is a powerful tool for developers looking to integrate real-time metals data into their applications. By understanding the various endpoints and their functionalities, you can create innovative solutions that meet the demands of today's financial markets.