Retrieve VanEck Merk Gold Trust (OUNZ) Prices Across Global Markets Using this API
Retrieve VanEck Merk Gold Trust (OUNZ) Prices Across Global Markets Using this API
The VanEck Merk Gold Trust (OUNZ) is a unique investment vehicle that allows investors to gain exposure to gold while providing the flexibility of redeeming shares for physical gold. To effectively track and analyze the prices of OUNZ across various global markets, developers can leverage the powerful capabilities of the Metals-API. This API provides real-time and historical data on precious metals, including gold, enabling businesses and developers to create innovative applications that enhance trading strategies and market insights.
Metals-API Information
About Gold (XAU)
Gold has long been considered a safe haven asset and a hedge against inflation. In the context of digital transformation, the integration of technology in trading precious metals has revolutionized how investors access and interpret market data. The Metals-API empowers developers to harness data analytics and market insights, facilitating innovation in price discovery and trading strategies. By utilizing this API, developers can create applications that provide real-time updates on gold prices, analyze historical trends, and even convert between different currencies seamlessly.
API Description
The Metals-API is designed to provide accurate and timely information about precious metals, including gold, silver, platinum, and palladium. With its robust infrastructure, the API supports various endpoints that deliver real-time exchange rates, historical data, and conversion capabilities. This API is particularly beneficial for developers looking to build applications that require up-to-date information on metal prices, enabling them to create next-generation solutions that can adapt to market changes.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to different needs, ensuring that developers can access the information they require efficiently. 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. Developers can retrieve the latest prices for gold (XAU) and other metals, allowing for immediate market analysis.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a date to the API call. This feature is essential for analyzing trends and making informed investment decisions.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, which is crucial for traders looking to execute transactions at optimal prices.
- Convert Endpoint: This endpoint allows for the conversion of any amount from one currency to another, making it easy to assess the value of investments in different currencies.
- Time-Series Endpoint: Query daily historical rates between two dates, enabling developers to analyze price movements over specific periods.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and consumers interested in gold jewelry.
- Lowest/Highest Price Endpoint: Query the API to find the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access OHLC data for a specific time period, which is vital for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for industrial applications.
- API Key: Each user receives a unique API key that must be included in requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: With 14 different endpoints, developers have access to a comprehensive set of functionalities tailored to their needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users 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.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of various API endpoints and their responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1776781518,
"base": "USD",
"date": "2026-04-21",
"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 current price of gold (XAU) is 0.000482 per troy ounce, relative to USD.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1776695118,
"base": "USD",
"date": "2026-04-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Here, the historical price of gold on April 20, 2026, was 0.000485 per troy ounce.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-04-14",
"end_date": "2026-04-21",
"base": "USD",
"rates": {
"2026-04-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of gold prices from April 14 to April 21, 2026, allowing developers to analyze price trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1776781518,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example shows how to convert 1000 USD to gold (XAU), resulting in 0.482 troy ounces based on the current exchange rate.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-14",
"end_date": "2026-04-21",
"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 details the fluctuations in gold prices over a specified period, providing insights into market volatility.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1776781518,
"base": "USD",
"date": "2026-04-21",
"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 endpoint provides the open, high, low, and close prices for gold on a specific date, which is essential for traders performing technical analysis.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1776781518,
"base": "USD",
"date": "2026-04-21",
"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 current bid and ask prices for gold, which is crucial for traders looking to make informed buying and selling decisions.
Conclusion
The Metals-API is an invaluable tool for developers seeking to retrieve accurate VanEck Merk Gold Trust (OUNZ) prices across global markets. By utilizing its comprehensive range of endpoints, developers can create applications that provide real-time data, historical analysis, and conversion capabilities, all of which are essential for making informed investment decisions. The API's ability to deliver precise and timely information empowers businesses to innovate and adapt to the ever-changing landscape of precious metals trading.
For more information on how to implement these features and access the full capabilities of the Metals-API, visit the Metals-API Documentation. Additionally, explore the Metals-API Supported Symbols page for a complete list of available symbols. By integrating the Metals-API into your applications, you can stay ahead in the competitive world of precious metals trading.