Obtain Goldman Sachs Physical Gold ETF (AAAU) prices through this API
Introduction
The Goldman Sachs Physical Gold ETF (AAAU) has emerged as a significant player in the investment landscape, particularly for those looking to gain exposure to gold without the complexities of physical ownership. As the demand for gold continues to rise, understanding how to obtain accurate pricing and market data for AAAU is crucial for investors and developers alike. One of the most effective ways to access this information is through the Metals-API, a powerful tool that provides real-time and historical data on precious metals, including gold.
Metals-API Information
About Gold (XAU)
Gold has long been regarded as a safe haven asset, particularly during times of economic uncertainty. The digital transformation in precious metals trading has opened new avenues for investors, allowing for enhanced data analytics and market insights. With the integration of technology in trading, investors can now leverage innovative solutions for price discovery and digital asset management.
The Metals-API serves as a bridge between traditional gold trading and modern technological advancements. By providing real-time data, it empowers developers to build next-generation applications that can analyze market trends, optimize trading strategies, and enhance decision-making processes.
API Description
The Metals-API is designed to deliver comprehensive and accurate metals data, enabling developers to create applications that can respond to the dynamic nature of the metals market. With capabilities that include real-time pricing, historical data access, and conversion features, the API is a transformative tool for anyone involved in precious metals trading.
For detailed information on how to utilize the API, developers can refer to the Metals-API Documentation, which outlines the various endpoints and their functionalities.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to different needs within the metals trading ecosystem. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even more frequently.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date to your query. This feature is invaluable for analyzing past market trends and making informed investment decisions.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, allowing traders to gauge market sentiment and make timely trading decisions.
- Convert Endpoint: This endpoint enables conversion between different metals and currencies, facilitating seamless transactions and portfolio management.
- Time-Series Endpoint: Query daily historical rates between two dates of your choice, providing insights into price movements over time.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis, helping traders to identify patterns and make predictions.
- Carat Endpoint: Retrieve gold rates by carat, which is essential for jewelers and those dealing in fine gold.
- Lowest/Highest Price Endpoint: Query the API to find the lowest and highest prices for a given date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for specific time periods, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is essential for accessing the API and must be included in your requests.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to fulfill specific data needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, allowing for real-time trading strategies.
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 integration. Below are examples of various endpoints and their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1787702986,
"base": "USD",
"date": "2026-08-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"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1787616586,
"base": "USD",
"date": "2026-08-25",
"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-08-19",
"end_date": "2026-08-26",
"base": "USD",
"rates": {
"2026-08-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-26": {
"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": 1787702986,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-19",
"end_date": "2026-08-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"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1787702986,
"base": "USD",
"date": "2026-08-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"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1787702986,
"base": "USD",
"date": "2026-08-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"
}
Conclusion
The Goldman Sachs Physical Gold ETF (AAAU) represents a modern approach to investing in gold, and the Metals-API provides the necessary tools to access vital market data. By leveraging the API's extensive features, developers can create applications that enhance trading strategies, optimize investment decisions, and provide real-time insights into the precious metals market.
For more information on how to integrate these features into your applications, explore the Metals-API Documentation and familiarize yourself with the Metals-API Supported Symbols. The potential for innovation in the precious metals market is vast, and with the right tools, you can be at the forefront of this transformation.