Access DB Gold Double Short ETN (DZZ) Historical Prices easily with this API

Access DB Gold Double Short ETN (DZZ) Historical Prices Easily with this API
The Access DB Gold Double Short ETN (DZZ) is a financial instrument that allows investors to gain exposure to the price movements of gold in a leveraged manner. For developers and financial analysts looking to track the historical prices of DZZ or related gold metrics, the Metals-API provides a powerful solution. This API offers real-time and historical data on precious metals, including gold, silver, platinum, and palladium, making it an essential tool for anyone involved in trading or analyzing these commodities.
Metals-API Information
The Metals-API is a comprehensive platform that provides developers with access to real-time and historical data on various metals. This API is designed to facilitate the integration of metals pricing data into applications, enabling users to build innovative solutions that leverage market insights and analytics. With a focus on technological advancement, the Metals-API empowers developers to create next-generation applications that can analyze trends, perform conversions, and track fluctuations in metal prices.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of the financial markets. As a precious metal, it is not only a store of value but also a critical component in various industries, including jewelry and electronics. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights. With the integration of technology in trading, investors can now access real-time data, allowing for more informed decision-making.
One of the most significant innovations in the gold market is the advent of digital asset solutions. These solutions enable investors to trade gold in a more efficient and transparent manner. The Metals-API plays a vital role in this transformation by providing developers with the tools necessary to access and analyze gold prices, thereby enhancing the price discovery process.
API Description
The Metals-API is designed to provide developers with easy access to a wealth of information regarding metal prices. Its capabilities include real-time updates, historical data retrieval, and various endpoints that cater to different needs. By utilizing this API, developers can create applications that not only track current prices but also analyze historical trends, making it an invaluable resource for financial analysts and traders alike.
For more information on how to get started, visit the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability and functionality:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes, every 10 minutes, or even more frequently.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices for analysis.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insight into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert amounts from one metal to another or to/from USD, facilitating seamless transactions.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, making it easier to analyze trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve gold rates by carat, which is particularly useful for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides comprehensive price data, including open, high, low, and close prices for a given date.
- Historical LME Endpoint: This endpoint gives access to historical rates for LME symbols dating back to 2008, useful for those tracking industrial metals.
- API Key: Each user is assigned a unique API key, which is required to access the API's features securely.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API provides a variety of endpoints, each designed for specific functionalities, ensuring comprehensive coverage of 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.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India using this dedicated endpoint, catering to regional market needs.
- News Endpoint: This feature allows users to access the latest news articles related to various metals, keeping them informed about market trends.
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
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1748880020,
"base": "USD",
"date": "2025-06-02",
"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": 1748793620,
"base": "USD",
"date": "2025-06-01",
"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": "2025-05-26",
"end_date": "2025-06-02",
"base": "USD",
"rates": {
"2025-05-26": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-28": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-02": {
"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": 1748880020,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-26",
"end_date": "2025-06-02",
"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": 1748880020,
"base": "USD",
"date": "2025-06-02",
"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": 1748880020,
"base": "USD",
"date": "2025-06-02",
"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 and analysts looking to access historical prices and real-time data for precious metals, including gold. With its extensive range of features and endpoints, the API enables users to build sophisticated applications that can analyze market trends, perform conversions, and track fluctuations in metal prices. By leveraging the power of the Metals-API, developers can create innovative solutions that enhance trading strategies and provide deeper insights into the precious metals market.
For more information on how to utilize the Metals-API effectively, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and best practices.