Get Accurate ProShares Ultra Gold (UGL) Prices in Multiple Currencies for Your Financial Applications with this API
Get Accurate ProShares Ultra Gold (UGL) Prices in Multiple Currencies for Your Financial Applications with this API
In today's fast-paced financial landscape, having access to accurate and real-time data is crucial for developers and businesses alike. The Metals-API offers a powerful solution for obtaining precise prices of precious metals, including ProShares Ultra Gold (UGL), in various currencies. This API not only provides the latest rates but also historical data, bid and ask prices, and much more, making it an essential tool for financial applications.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of the financial markets. As a precious metal, it serves as a hedge against inflation and currency fluctuations, making it a popular choice for investors. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights. By leveraging technology, traders can integrate real-time data into their applications, enhancing their decision-making processes.
With the rise of digital asset solutions, the demand for accurate gold pricing has surged. The Metals-API empowers developers to innovate in price discovery, offering a comprehensive suite of features that facilitate seamless integration into financial applications. By utilizing this API, businesses can harness the power of data analytics to gain insights into market trends and make informed trading decisions.
API Description
The Metals-API is designed to provide developers with the tools they need to build next-generation financial applications. With its robust capabilities, the API delivers real-time metals data, enabling users to access accurate pricing information for various metals, including gold, silver, platinum, and palladium. The API's innovative features allow for seamless integration into existing systems, enhancing the overall user experience.
For detailed information on how to implement the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on utilizing the API's features effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to cater to specific needs in the financial sector. 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 your subscription plan. This feature is essential for applications that require up-to-the-minute pricing information.
- 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 invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals. This information is crucial for traders looking to make informed decisions based on market conditions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This feature is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice. This endpoint is ideal for analyzing price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, allowing users to track market volatility and make strategic decisions.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and businesses dealing in precious metals.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of metals over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, which is crucial for traders analyzing market trends.
- Historical LME Endpoint: Users can access historical rates for LME symbols dating back to 2008, providing a wealth of data for analysis.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate access.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 endpoints, each offering different functionalities to cater to diverse user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies, ensuring users have access to the latest information.
- 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.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective implementation. Below are examples of responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1774484780,
"base": "USD",
"date": "2026-03-26",
"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 a successful request, providing the latest exchange rates for various metals relative to USD. The "rates" object contains the current price of each metal, which can be utilized in trading applications.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1774398380,
"base": "USD",
"date": "2026-03-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to retrieve historical rates for a specific date. The "rates" object provides the prices for each metal, allowing for analysis of past market conditions.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-03-19",
"end_date": "2026-03-26",
"base": "USD",
"rates": {
"2026-03-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-26": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response illustrates how to obtain exchange rates for a specific time period. The "rates" object contains daily prices, which can be used for trend analysis and forecasting.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1774484780,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example demonstrates the conversion of an amount from USD to gold (XAU). The "result" field indicates the equivalent amount in troy ounces, providing a straightforward way to handle currency conversions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-19",
"end_date": "2026-03-26",
"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 provides insights into how prices fluctuate over a specified period. The "change" and "change_pct" fields are particularly useful for traders looking to understand market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1774484780,
"base": "USD",
"date": "2026-03-26",
"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 a comprehensive view of the market's performance over a specific period, allowing traders to analyze price movements effectively.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1774484780,
"base": "USD",
"date": "2026-03-26",
"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"
}
The bid/ask prices are essential for traders to understand the market's current conditions. The "spread" indicates the difference between the buying and selling prices, which is crucial for executing trades.
Conclusion
The Metals-API is a transformative tool for developers looking to integrate accurate and real-time precious metals pricing into their financial applications. With features such as the latest rates, historical data, bid and ask prices, and currency conversion, this API provides a comprehensive solution for businesses in the financial sector. By leveraging the power of data analytics and technology integration, developers can create innovative applications that enhance trading strategies and market insights.
For more information on how to implement the Metals-API in your applications, visit the Metals-API Documentation. To explore the full range of supported symbols, check out the Metals-API Supported Symbols page. Start harnessing the power of real-time metals data today with the Metals-API Website.