Access Salem Gold 22k (SALE-22k) Historical Prices through this API

Access Salem Gold 22k (SALE-22k) Historical Prices through this API
In the ever-evolving landscape of precious metals trading, having access to accurate and timely data is paramount. The Salem Gold 22k (SALE-22k) symbol represents a significant asset in the gold market, and understanding its historical prices can provide invaluable insights for traders and investors alike. With the Metals-API, developers can seamlessly access historical price data and leverage it for various applications, from market analysis to trading strategies.
Metals-API Information
The Metals-API is a powerful tool designed to provide real-time and historical data on precious metals, including gold, silver, platinum, and palladium. This API empowers developers to build next-generation applications that can analyze market trends, perform data analytics, and integrate advanced trading technologies. The API's capabilities extend beyond mere data retrieval; it offers a transformative potential for developers looking to innovate in the field of precious metals.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been regarded as a safe haven asset and a hedge against inflation. The digital transformation in the precious metals market has opened new avenues for data analytics and market insights. With the integration of technology in trading, investors can now access real-time data, enabling them to make informed decisions based on the latest market trends.
Moreover, the innovation in price discovery mechanisms has led to the development of digital asset solutions that cater to the needs of modern investors. The Metals-API Documentation provides comprehensive guidance on how to utilize these features effectively, allowing developers to harness the full potential of gold price data.
API Description
The Metals-API is designed with innovation and technological advancement in mind. It offers a wide range of endpoints that allow developers to access real-time and historical data on precious metals. The API's capabilities include retrieving the latest rates, historical prices, bid and ask prices, and much more. By leveraging this API, developers can create applications that provide users with valuable insights into the precious metals market.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability and functionality:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes or even every 10 minutes. This feature is crucial for traders who need to stay informed about the latest market movements.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical price data for analysis and reporting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a separate currency conversion endpoint, enabling users to convert any amount from one currency to another, facilitating seamless transactions.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice, making it easier to analyze trends over time.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, which is essential for understanding market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, allowing for precise valuation of gold assets.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, which can be useful for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for a specific date, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is beneficial for those tracking industrial metals.
- API Key: Each user is assigned a unique API key that 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 a constantly updated list of all available currencies and their specifications.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, catering to regional market needs.
- News Endpoint: Stay updated with the latest news articles related to various metals, which can influence market sentiment.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective implementation. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1749535221,
"base": "USD",
"date": "2025-06-10",
"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"
}
The response indicates a successful request, providing the latest exchange rates for various metals, including gold (XAU).
Historical Rates Endpoint
{
"success": true,
"timestamp": 1749448821,
"base": "USD",
"date": "2025-06-09",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates for a specific date, allowing developers to analyze past market performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-06-03",
"end_date": "2025-06-10",
"base": "USD",
"rates": {
"2025-06-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint provides a time series of exchange rates, enabling developers to visualize trends over a specified period.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1749535221,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint allows users to convert amounts between different metals and currencies, facilitating easy transactions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-03",
"end_date": "2025-06-10",
"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 rates fluctuate over time, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1749535221,
"base": "USD",
"date": "2025-06-10",
"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 market performance for a specific date, including the opening, highest, lowest, and closing prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1749535221,
"base": "USD",
"date": "2025-06-10",
"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 current bid and ask prices for metals, which are critical for traders looking to execute orders effectively.
Conclusion
Accessing historical prices for Salem Gold 22k (SALE-22k) through the Metals-API opens up a world of possibilities for developers and traders alike. With its comprehensive suite of features, including real-time data, historical rates, and advanced analytics, the API empowers users to make informed decisions in the precious metals market.
By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance trading strategies, provide market insights, and facilitate seamless transactions. Whether you are looking to analyze historical trends or track real-time fluctuations, the Metals-API is an essential tool for anyone involved in the precious metals market.
For more information on how to get started, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metal symbols. Embrace the future of precious metals trading with the power of real-time data at your fingertips.