Get real-time Ukrainian Hryvnia (UAH) prices using this API
Get Real-Time Ukrainian Hryvnia (UAH) Prices Using This API
In today's fast-paced financial landscape, having access to real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful solution for obtaining real-time prices of various metals, including the Ukrainian Hryvnia (UAH). This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, endpoints, and how it can empower developers to create next-generation applications.
About Nickel (NI)
Nickel, represented by the symbol NI, is a vital metal in various industries, particularly in the production of stainless steel and batteries. As the world moves towards digital transformation, the metal markets are also evolving. The integration of technological innovations and advancements in data analytics is reshaping how we interact with metal prices. The Metals-API stands at the forefront of this transformation, providing developers with the tools to harness real-time data effectively.
With the rise of smart technology integration, the demand for accurate and timely data has never been higher. The Metals-API not only offers real-time pricing but also provides insights into market trends and fluctuations. This capability allows developers to build applications that can predict future price movements, analyze historical data, and make informed decisions based on comprehensive analytics.
API Description
The Metals-API is a robust JSON API designed to deliver real-time metal prices and currency conversion data. It empowers developers to create applications that require up-to-date information on various metals, including Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD). The API's capabilities extend beyond mere price retrieval; it offers a suite of endpoints that facilitate advanced data analysis and integration into existing systems.
One of the standout features of the Metals-API is its ability to provide real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers can access the most current information, enabling them to build applications that respond dynamically to market changes.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to cater to different needs. Here are some of the key features:
- 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 the subscription plan. This ensures that users have access to the most current market prices.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can retrieve past pricing data, which is essential 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 any amount from one metal to another or to/from USD, making it easier to handle transactions across different currencies.
- 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, which is crucial for understanding market volatility.
- Carat Endpoint: Users can retrieve information about Gold rates by Carat, which is particularly useful for jewelers and traders dealing in precious metals.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can obtain the open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a wealth of data for analysis.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each serving a unique purpose, allowing for extensive data retrieval capabilities.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring that developers are aware of the symbols they can work with.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about 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": 1774397603,
"base": "USD",
"date": "2026-03-25",
"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": 1774311203,
"base": "USD",
"date": "2026-03-24",
"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-18",
"end_date": "2026-03-25",
"base": "USD",
"rates": {
"2026-03-18": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-20": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-25": {
"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": 1774397603,
"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-18",
"end_date": "2026-03-25",
"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": 1774397603,
"base": "USD",
"date": "2026-03-25",
"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": 1774397603,
"base": "USD",
"date": "2026-03-25",
"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
The Metals-API is an invaluable resource for developers looking to integrate real-time metal pricing and currency conversion into their applications. With its extensive range of endpoints, including the Latest Rates, Historical Rates, and Bid/Ask features, developers can create sophisticated applications that respond to market changes in real-time. The API's capabilities extend beyond simple data retrieval; it offers insights into market trends, fluctuations, and historical data, enabling developers to build applications that are not only functional but also insightful.
For those interested in exploring the full potential of the Metals-API, the Metals-API Documentation provides comprehensive guidance on how to implement these features effectively. Additionally, the Metals-API Supported Symbols page offers a complete list of available metal symbols, ensuring that developers have all the information they need to get started.
In a world where data is king, the Metals-API stands out as a powerful tool for developers aiming to leverage real-time data for innovative applications. Whether you're building a financial analysis tool, a trading platform, or a market research application, the Metals-API provides the data and insights necessary to succeed in the competitive landscape of metal markets.