Get real-time Surat Gold 22k (SURA-22k) prices using this API

Get Real-Time Surat Gold 22k (SURA-22k) Prices Using This API
In the ever-evolving world of precious metals trading, having access to real-time data is crucial for making informed decisions. The Metals-API offers a powerful solution for developers looking to integrate real-time prices of metals, including Surat Gold 22k (SURA-22k), into their applications. This blog post will delve into the capabilities of the Metals-API, explore the significance of gold in the digital age, and provide a comprehensive overview of its features and endpoints.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a symbol of wealth and stability. In recent years, the digital transformation of precious metals has opened new avenues for trading and investment. With the rise of data analytics and market insights, traders can now leverage technology to gain a competitive edge. The integration of innovative technologies in trading platforms has revolutionized price discovery, allowing for more accurate and timely information.
As the demand for digital asset solutions grows, the importance of real-time data cannot be overstated. The Metals-API provides developers with the tools they need to build next-generation applications that can respond to market changes instantly. By utilizing this API, developers can access a wealth of information about gold prices, historical trends, and market fluctuations, empowering them to make data-driven decisions.
API Description
The Metals-API Website serves as a gateway to a comprehensive suite of features designed for developers. This API allows users to access real-time and historical data for various metals, including gold, silver, platinum, and palladium. With its robust capabilities, the Metals-API is a transformative tool for anyone involved in the precious metals market.
One of the standout features of the Metals-API is its ability to provide real-time exchange rates. Depending on your subscription plan, the API can return the latest rates updated every 60 minutes, every 10 minutes, or even more frequently. This flexibility ensures that developers can tailor their applications to meet the specific needs of their users.
For those interested in historical data, the Metals-API offers access to rates dating back to 2019. This feature is invaluable for conducting market analysis and understanding long-term trends. By appending a date to the API request, developers can easily retrieve historical rates for any metal.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to provide specific functionalities that cater to the needs of developers:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for all available metals. For example, a request to this endpoint might yield the current price of gold (XAU) as well as other metals like silver (XAG) and platinum (XPT).
- Historical Rates Endpoint: Developers can access historical rates for any date since 2019. This is particularly useful for analyzing past market performance and making predictions based on historical trends.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one metal to another or to/from USD. This is essential for traders who operate in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, making it easier to analyze trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This unique feature allows users to retrieve information about gold rates by carat, which is particularly useful for jewelers and consumers interested in specific gold qualities.
- Lowest/Highest Price Endpoint: Developers can query the API to get the lowest and highest prices for a specified date, 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, essential for traders looking to analyze price movements.
- 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, which must be included in requests to authenticate access to the API.
- 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 offering unique functionalities to cater to diverse user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users 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
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1761105642,
"base": "USD",
"date": "2025-10-22",
"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": 1761019242,
"base": "USD",
"date": "2025-10-21",
"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": "2025-10-15",
"end_date": "2025-10-22",
"base": "USD",
"rates": {
"2025-10-15": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-17": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-22": {
"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": 1761105642,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-15",
"end_date": "2025-10-22",
"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": 1761105642,
"base": "USD",
"date": "2025-10-22",
"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": 1761105642,
"base": "USD",
"date": "2025-10-22",
"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 Metals-API is an invaluable resource for developers looking to integrate real-time and historical data on precious metals, including Surat Gold 22k (SURA-22k). With its extensive range of features and endpoints, this API empowers users to create applications that can respond to market changes with precision and speed. By leveraging the capabilities of the Metals-API, developers can enhance their trading platforms, provide insightful market analysis, and ultimately drive better investment decisions.
For more information on how to get started with the Metals-API, check out the Metals-API Documentation. Explore the full range of supported symbols on the Metals-API Supported Symbols page, and begin your journey into the world of real-time metals data today!