Get Accurate Surat Gold 22k (SURA-22k) Prices in AUD and CAD with this API
Get Accurate Surat Gold 22k (SURA-22k) Prices in AUD and CAD with this API
In today's fast-paced financial landscape, obtaining accurate and real-time data on precious metals, particularly Gold (XAU), is crucial for traders, investors, and developers alike. The Metals-API provides a robust solution for accessing Gold prices in various currencies, including Australian Dollars (AUD) and Canadian Dollars (CAD). This blog post will delve into the capabilities of the Metals-API, exploring its innovative features, potential applications, and how it empowers developers to create next-generation 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 precious metals trading has led to the integration of advanced data analytics and market insights, enabling traders to make informed decisions based on real-time data. The Metals-API stands at the forefront of this transformation, offering developers the tools necessary to harness the power of technology in trading and price discovery.
With the rise of digital asset solutions, the demand for accurate Gold pricing has surged. The Metals-API provides a comprehensive suite of features that allow users to access the latest Gold prices, historical data, and even perform currency conversions, all in a seamless manner. By integrating this API into their applications, developers can enhance user experiences and provide valuable insights into the Gold market.
API Description
The Metals-API is a powerful JSON API that delivers real-time and historical data on precious metals, including Gold, Silver, Platinum, and Palladium. It is designed to empower developers to build applications that require accurate metals pricing and conversion capabilities. The API's innovative architecture allows for rapid data retrieval, ensuring that users have access to the most up-to-date information available.
For detailed technical specifications and implementation guidance, developers can refer to the Metals-API Documentation. This resource provides comprehensive information on how to effectively utilize the API's features and endpoints.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, each with its unique capabilities:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for Gold and other metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on the subscription plan. For example, a request to this endpoint might return the current price of Gold in various currencies, allowing traders to make timely decisions.
- Historical Rates Endpoint: Users can access historical rates for Gold dating back to 2019. By appending a specific date to the request, developers can retrieve past pricing data, which is invaluable for trend analysis and market research.
- Bid And Ask Endpoint: This feature enables users to obtain real-time bid and ask prices for Gold, providing insights into the current market conditions and helping traders to strategize their buying and selling activities.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another. For instance, a developer could implement a feature that converts the price of Gold from USD to AUD or CAD, enhancing the usability of their application.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two dates of their choice. This is particularly useful for analyzing price movements over specific periods.
- Fluctuation Endpoint: Users can track how Gold prices fluctuate on a day-to-day basis, providing insights into market volatility and helping traders make informed decisions.
- Carat Endpoint: This feature allows users to retrieve Gold rates by carat, which is essential for jewelers and those involved in the jewelry market.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of Gold within a specified timeframe, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for Gold, providing a comprehensive view of market performance.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, which is beneficial for users interested in long-term market trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, allowing developers to stay informed about the API's offerings.
- Intraday Endpoint: Users can query intraday exchange rate data for a single symbol, which is crucial for high-frequency trading applications.
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 essential for developers looking to implement specific metal pricing in their applications.
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": 1785629684,
"base": "USD",
"date": "2026-08-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"
}
This response indicates the current exchange rates for various metals, including Gold (XAU), which is priced at 0.000482 per troy ounce.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1785543284,
"base": "USD",
"date": "2026-08-01",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for Gold and other metals, allowing users to analyze past market performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-07-26",
"end_date": "2026-08-02",
"base": "USD",
"rates": {
"2026-07-26": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-28": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-02": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of Gold prices, enabling users to visualize trends over a specified period.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1785629684,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example illustrates how to convert an amount from USD to Gold (XAU), providing the user with the equivalent value in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-26",
"end_date": "2026-08-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"
}
This response provides insights into how Gold prices have fluctuated over a specified period, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1785629684,
"base": "USD",
"date": "2026-08-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"
}
This endpoint provides a comprehensive view of the market performance for Gold, including the opening, highest, lowest, and closing prices, which are critical for traders analyzing market trends.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1785629684,
"base": "USD",
"date": "2026-08-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"
}
This response provides the current bid and ask prices for Gold, which are essential for traders looking to execute orders at favorable prices.
Conclusion
The Metals-API is a powerful tool for developers seeking to integrate accurate Gold pricing into their applications. With its extensive range of endpoints, real-time data capabilities, and comprehensive documentation, the API empowers users to make informed trading decisions and enhance their applications' functionality. By leveraging the Metals-API, developers can tap into the transformative potential of real-time metals data, ultimately driving innovation in the precious metals market.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the Metals-API Documentation for detailed implementation guidance. Don't forget to check the Metals-API Supported Symbols page to familiarize yourself with the available metal symbols and their specifications.