Get comprehensive VanEck Merk Gold Trust (OUNZ) Historical Prices using this API
Get Comprehensive VanEck Merk Gold Trust (OUNZ) Historical Prices Using This API
The VanEck Merk Gold Trust (OUNZ) is an innovative investment vehicle that allows investors to gain exposure to gold while also providing the flexibility of converting their holdings into physical gold. For developers and financial analysts looking to access historical prices of OUNZ, the Metals-API offers a robust solution. This API provides real-time and historical data on precious metals, including gold, making it an invaluable tool for anyone interested in the dynamics of the gold market.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, especially during times of economic uncertainty. With the rise of digital transformation in the precious metals market, data analytics and market insights have become crucial for investors. The integration of technology in trading has revolutionized how traders and investors interact with gold and other metals. The Metals-API empowers developers to build next-generation applications that leverage real-time metals data, enhancing innovation in price discovery and providing digital asset solutions.
API Description
The Metals-API is designed to provide comprehensive access to metals prices and currency conversion data. It enables developers to create applications that can track and analyze market trends, making it easier to make informed investment decisions. The API supports a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back to 2019. This flexibility allows for a wide range of applications, from simple price tracking to complex financial analysis.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability for developers:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This is essential for traders who need to stay updated on market movements.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, users can retrieve historical price data for OUNZ and other metals.
- Bid and Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices, which are crucial for executing trades at optimal prices.
- Convert Endpoint: This endpoint enables users to convert any amount from one currency to another, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice, allowing for detailed market analysis over time.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, helping investors understand market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and those in the luxury goods market.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest price for a specified date range, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is beneficial for those tracking industrial metals.
- API Key: The API Key is a unique identifier that must be included in the API request to authenticate and authorize access.
- API Response: The exchange rates delivered by the Metals-API are relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API provides 14 different endpoints, each offering unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest data.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, which is crucial for day traders.
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. 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": 1785715908,
"base": "USD",
"date": "2026-08-03",
"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": 1785629508,
"base": "USD",
"date": "2026-08-02",
"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-07-27",
"end_date": "2026-08-03",
"base": "USD",
"rates": {
"2026-07-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-03": {
"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": 1785715908,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-27",
"end_date": "2026-08-03",
"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": 1785715908,
"base": "USD",
"date": "2026-08-03",
"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": 1785715908,
"base": "USD",
"date": "2026-08-03",
"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, the Metals-API provides a comprehensive and powerful solution for accessing historical prices of the VanEck Merk Gold Trust (OUNZ) and other precious metals. With its wide range of endpoints, developers can easily integrate real-time and historical data into their applications, enabling informed decision-making and strategic trading. The API's capabilities, including the latest rates, historical data, and conversion features, make it an essential tool for anyone involved in the precious metals market.
For more information on how to utilize the API effectively, refer to the Metals-API Documentation. Additionally, explore the Metals-API Supported Symbols page to familiarize yourself with the available metal symbols. By leveraging the power of the Metals-API, you can stay ahead in the dynamic world of precious metals trading.