Get Salem Gold 22k (SALE-22k) Historical Prices from a Reliable API

Get Salem Gold 22k (SALE-22k) Historical Prices from a Reliable API
In the world of precious metals, gold stands out not only for its intrinsic value but also for its role as a financial asset. The ability to track historical prices of gold, particularly the Salem Gold 22k (SALE-22k), is crucial for investors, traders, and analysts alike. With the advent of digital transformation in the precious metals market, accessing reliable data has become easier than ever. One of the most effective ways to obtain historical prices is through the Metals-API, which provides a comprehensive suite of tools for developers and financial analysts to access real-time and historical data on various metals, including gold.
Metals-API Information
The Metals-API is a powerful tool that allows users to access a wide range of data related to precious metals. It offers various endpoints that cater to different needs, from retrieving the latest rates to accessing historical data. This API is designed with innovation and technological advancement in mind, empowering developers to build next-generation applications that can leverage real-time metals data. With its robust architecture, the Metals-API enables seamless integration into existing systems, providing users with the insights they need to make informed decisions.
About Gold (XAU)
Gold, represented by the symbol XAU, is one of the most sought-after precious metals in the world. Its value is influenced by various factors, including market demand, geopolitical stability, and economic indicators. The digital transformation in the precious metals market has led to the integration of advanced data analytics and market insights, allowing traders to make more informed decisions. The Metals-API plays a pivotal role in this transformation by providing real-time data that can be used for price discovery and trading strategies.
With the rise of digital asset solutions, the importance of accurate and timely data cannot be overstated. The Metals-API offers a range of features that facilitate this, including the ability to track fluctuations in gold prices, analyze historical trends, and convert between different currencies. This level of detail is essential for developers looking to create applications that require precise data for trading, investment analysis, or market research.
API Description
The Metals-API is designed to provide developers with a comprehensive set of tools for accessing metals data. Its capabilities include:
- Real-time Data Access: The API provides real-time exchange rate data, updated at intervals depending on the subscription plan.
- Historical Data: Users can access historical rates dating back to 2019, allowing for in-depth analysis of price trends over time.
- Bid and Ask Prices: The API offers real-time bid and ask prices, which are crucial for traders looking to execute orders at optimal prices.
- Currency Conversion: The conversion endpoint allows users to convert amounts between different metals and currencies seamlessly.
- Time-Series Data: Users can query daily historical rates between two dates, providing insights into price movements over specific periods.
- Fluctuation Tracking: The fluctuation endpoint enables users to track how prices change over time, offering valuable insights into market volatility.
- Carat Information: The API provides information about gold rates by carat, which is essential for jewelers and consumers alike.
- OHLC Data: Users can access open, high, low, and close prices for specific time periods, which are vital for technical analysis.
- News Updates: The API also offers news articles related to various metals, keeping users informed about market developments.
For more detailed information on the API's capabilities, you can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API provides a variety of endpoints that cater to different data needs. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint allows users to retrieve real-time exchange rates for all available metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes, every 10 minutes, or even more frequently. For example, a typical response might look like this:
{
"success": true,
"timestamp": 1749848415,
"base": "USD",
"date": "2025-06-13",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
The Historical Rates Endpoint provides access to historical exchange rates for any date since 1999. This is particularly useful for analysts looking to study price trends over time. A sample response might look like this:
{
"success": true,
"timestamp": 1749762015,
"base": "USD",
"date": "2025-06-12",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This is particularly useful for identifying trends and patterns in price movements. A typical response might look like this:
{
"success": true,
"timeseries": true,
"start_date": "2025-06-06",
"end_date": "2025-06-13",
"base": "USD",
"rates": {
"2025-06-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-13": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This is particularly useful for traders and investors who need to quickly assess the value of their holdings. A sample response might look like this:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1749848415,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
The Fluctuation Endpoint allows users to track rate fluctuations between two dates. This is essential for understanding market volatility and making informed trading decisions. A typical response might look like this:
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-06",
"end_date": "2025-06-13",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides open, high, low, and close prices for a specific time period, which is crucial for technical analysis. A sample response might look like this:
{
"success": true,
"timestamp": 1749848415,
"base": "USD",
"date": "2025-06-13",
"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
The Bid/Ask Endpoint provides current bid and ask prices for metals, which are essential for traders looking to execute orders at the best possible prices. A typical response might look like this:
{
"success": true,
"timestamp": 1749848415,
"base": "USD",
"date": "2025-06-13",
"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"
}
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 invaluable for developers looking to integrate metals data into their applications.
Conclusion
In conclusion, the Metals-API offers a robust and versatile solution for accessing historical prices of gold and other precious metals. With its wide range of endpoints, developers can easily retrieve real-time and historical data, track fluctuations, and perform conversions. The API's capabilities empower users to make informed decisions based on accurate and timely information. Whether you are a trader, analyst, or developer, the Metals-API provides the tools you need to navigate the complex world of precious metals. For more information, visit the Metals-API Website and explore the extensive documentation available to help you get started.