Access abrdn Physical Gold Shares ETF (SGOL) market data through this API
Access abrdn Physical Gold Shares ETF (SGOL) Market Data Through This API
The abrdn Physical Gold Shares ETF (SGOL) is a unique investment vehicle that allows investors to gain exposure to the price of gold without the complexities of physical ownership. With the rise of digital transformation in the precious metals market, accessing real-time data about SGOL and its underlying asset, gold (XAU), has never been more critical. This blog post will explore how the Metals-API can be utilized to access market data for SGOL, providing developers with the tools to create innovative applications that leverage real-time metals data.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, especially during times of economic uncertainty. The digital transformation in the precious metals market has enabled investors to access gold in new and innovative ways. The integration of data analytics and technology in trading has revolutionized how market insights are derived, allowing for more informed decision-making. The Metals-API plays a pivotal role in this transformation by providing developers with the ability to access real-time gold prices and other relevant market data.
One of the most significant advancements in the gold market is the innovation in price discovery. With the Metals-API, developers can access up-to-date information on gold prices, allowing for more accurate pricing models and investment strategies. Additionally, the API offers digital asset solutions that facilitate the seamless integration of gold trading into various platforms, enhancing the overall trading experience.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data for various metals, including gold (XAU). This API empowers developers to build next-generation applications that can analyze market trends, track price fluctuations, and convert currencies with ease. The transformative potential of real-time metals data cannot be overstated, as it allows for the creation of applications that can respond to market changes instantaneously.
For comprehensive details on how to utilize the API, developers can refer to the Metals-API Documentation, which outlines the capabilities and functionalities of the API in detail. Additionally, the Metals-API Supported Symbols page provides a complete list of available metal symbols, including gold, silver, platinum, and palladium.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, every 10 minutes, or even more frequently, depending on your subscription plan. This feature is crucial for developers looking to integrate live pricing into their applications.
- Historical Rates Endpoint: Developers can access historical rates dating back to 2019 by appending a specific date to the API call. This feature is beneficial for analyzing trends and making informed investment decisions based on past performance.
- Bid and Ask Endpoint: This powerful feature allows developers to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion feature that allows users to convert amounts between different metals or to/from USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two specified dates, enabling them to analyze price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, allowing traders to understand volatility and make strategic decisions.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: This feature allows developers to query the API for the lowest and highest prices of metals over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for metals, which are critical for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key that must be included in API requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API provides 14 different endpoints, each designed to fulfill specific data requirements.
- News Endpoint: This feature allows users to retrieve the latest news articles related to various metals, keeping traders informed about market developments.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, here are some example responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1762131640,
"base": "USD",
"date": "2025-11-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
{
"success": true,
"timestamp": 1762045240,
"base": "USD",
"date": "2025-11-02",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-10-27",
"end_date": "2025-11-03",
"base": "USD",
"rates": {
"2025-10-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-11-03": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1762131640,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-27",
"end_date": "2025-11-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) Price Endpoint
{
"success": true,
"timestamp": 1762131640,
"base": "USD",
"date": "2025-11-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
{
"success": true,
"timestamp": 1762131640,
"base": "USD",
"date": "2025-11-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 suite of tools for developers looking to access real-time and historical data for precious metals, including gold (XAU). By leveraging the various endpoints offered by the API, developers can create innovative applications that enhance trading strategies, improve market analysis, and facilitate seamless currency conversions. The ability to access up-to-date market data is essential for making informed investment decisions, particularly in a volatile market environment.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation and familiarize themselves with the available endpoints and their functionalities. Additionally, the Metals-API Supported Symbols page provides valuable insights into the various metals available for tracking and analysis.
As the digital landscape continues to evolve, the integration of advanced technologies and data analytics in the precious metals market will undoubtedly shape the future of trading and investment. The Metals-API stands at the forefront of this transformation, empowering developers to harness the power of real-time data to drive innovation and success in their applications.