Get ProShares Ultra Gold (UGL) Historical Prices for Your Application using this API
Get ProShares Ultra Gold (UGL) Historical Prices for Your Application using this API
In the ever-evolving landscape of financial technology, the demand for accurate and real-time data has never been more critical, especially in the realm of precious metals. For developers looking to integrate historical prices of ProShares Ultra Gold (UGL) into their applications, the Metals-API offers a robust solution. This API provides comprehensive access to gold prices and other metal data, empowering developers to create innovative applications that leverage real-time and historical market insights.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of financial markets, serving as a safe haven during economic uncertainty. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights. By integrating technology into trading practices, developers can innovate price discovery methods and offer digital asset solutions that enhance user experience and decision-making.
The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to access real-time and historical gold prices. This API not only facilitates the retrieval of current market data but also allows for in-depth analysis of historical trends, enabling applications that can predict future movements based on past performance.
API Description
The Metals-API is designed to empower developers with real-time metals data, enabling the creation of next-generation applications. With its innovative capabilities, the API allows users to access a wide range of functionalities, including the retrieval of historical prices for UGL and other metals. The API's architecture is built to support high-frequency trading and analytical applications, making it an essential tool for developers in the financial sector.
For more detailed information on how to utilize the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on all available endpoints and their functionalities.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to access the data 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 the subscription plan. Developers can access the latest rates every 60 minutes, every 10 minutes, or even more frequently, depending on their needs.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date in the format YYYY-MM-DD. This feature is particularly useful for applications that require historical price analysis of UGL.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, allowing developers to implement features that require current market spreads.
- Convert Endpoint: This endpoint allows for the conversion of any amount from one metal to another or to/from USD, facilitating seamless transactions within applications.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, enabling developers to analyze trends over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for applications dealing with jewelry or precious metal trading.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, which can be critical for trading strategies.
- Open/High/Low/Close (OHLC) Price Endpoint: Access OHLC data for a specific time period, allowing for detailed market analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for applications focused on industrial metals.
- API Key: Each developer is provided with a unique API key that must be included in requests to authenticate and authorize access.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency across all data retrieved.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities tailored to developers' needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring developers have the most current information.
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
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1782260482,
"base": "USD",
"date": "2026-06-24",
"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": 1782174082,
"base": "USD",
"date": "2026-06-23",
"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-06-17",
"end_date": "2026-06-24",
"base": "USD",
"rates": {
"2026-06-17": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-19": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-24": {
"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": 1782260482,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-17",
"end_date": "2026-06-24",
"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": 1782260482,
"base": "USD",
"date": "2026-06-24",
"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": 1782260482,
"base": "USD",
"date": "2026-06-24",
"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
Integrating historical prices for ProShares Ultra Gold (UGL) into your applications has never been easier, thanks to the capabilities offered by the Metals-API. With its extensive range of endpoints, developers can access real-time data, historical trends, and detailed market insights that are essential for building robust financial applications. By leveraging the API's features, such as the Latest Rates, Historical Rates, and Time-Series endpoints, developers can create applications that not only meet user needs but also provide a competitive edge in the market.
For those looking to dive deeper into the world of precious metals and enhance their applications with real-time data, the Metals-API Documentation is an invaluable resource. It offers detailed guidance on how to effectively utilize the API, ensuring that developers can maximize its potential. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available symbols, making it easy to find the data you need.
In conclusion, the Metals-API is a powerful tool for developers seeking to integrate precious metals data into their applications. By understanding its features and capabilities, you can create innovative solutions that leverage the transformative potential of real-time metals data.