Get real-time Salem Gold 18k (SALE-18k) prices using this API
Get Real-Time Salem Gold 18k (SALE-18k) Prices Using This API
In today's fast-paced financial landscape, the ability to access real-time data is crucial for traders, investors, and developers alike. The Metals-API provides a powerful solution for obtaining real-time prices of precious metals, including Gold (XAU). This blog post delves into the intricacies of the Metals-API, exploring its capabilities, features, and how it can transform the way you interact with gold markets.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and economic uncertainty. In recent years, the digital transformation in precious metals has opened new avenues for trading and investment. With the integration of data analytics and technology, market insights have become more accessible, allowing traders to make informed decisions based on real-time data.
The innovation in price discovery mechanisms has also been significant. Traditional methods of determining gold prices are being supplemented by digital asset solutions that leverage advanced algorithms and real-time data feeds. This shift not only enhances transparency but also empowers developers to create next-generation applications that can analyze and predict market trends.
API Description
The Metals-API is designed to provide developers with a comprehensive suite of tools for accessing real-time and historical data on precious metals. This API enables users to build applications that can track prices, analyze trends, and convert currencies with ease. By harnessing the power of real-time metals data, developers can create innovative solutions that cater to the needs of traders and investors.
For more detailed information, you can refer to the Metals-API Documentation, which outlines the various features and endpoints available for use.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing users to access the latest rates, historical data, and more. Hereβs a closer look at some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring you have the most current information at your fingertips.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API call, you can retrieve past exchange rates, which is invaluable for trend analysis and market research.
- Bid and Ask Endpoint: This feature allows you 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 feature that enables users to convert amounts from one currency to another, facilitating seamless transactions across different markets.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two selected dates, making it easier to analyze price movements over time.
- Fluctuation Endpoint: With this feature, you can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This endpoint provides information about gold rates by carat, allowing users to understand the value of gold in different purities.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, which is useful for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides comprehensive price data, including open, high, low, and close prices for a specific date, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for in-depth market analysis.
- API Key: Each user is assigned a unique API key that must be included in API requests to authenticate and authorize access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API features 14 endpoints, each designed to provide specific functionalities, ensuring comprehensive coverage of user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, providing insights into short-term price movements.
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": 1787962301,
"base": "USD",
"date": "2026-08-29",
"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": 1787875901,
"base": "USD",
"date": "2026-08-28",
"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": "2026-08-22",
"end_date": "2026-08-29",
"base": "USD",
"rates": {
"2026-08-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-29": {
"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": 1787962301,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-22",
"end_date": "2026-08-29",
"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": 1787962301,
"base": "USD",
"date": "2026-08-29",
"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": 1787962301,
"base": "USD",
"date": "2026-08-29",
"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 a robust tool that empowers developers to access real-time and historical data on precious metals, including Gold (XAU). By leveraging its various endpoints, users can gain insights into market trends, perform currency conversions, and track price fluctuations with ease. The API's capabilities not only enhance trading strategies but also facilitate the development of innovative applications that cater to the evolving needs of the financial market.
For those looking to dive deeper into the world of precious metals trading, the Metals-API Documentation provides comprehensive guidance on how to effectively utilize the API. Additionally, the Metals-API Supported Symbols page offers a complete list of available symbols, ensuring you have all the information needed to make informed decisions.
As the digital landscape continues to evolve, embracing tools like the Metals-API will be essential for anyone looking to stay ahead in the precious metals market. Whether you're a developer building the next big trading application or an investor seeking real-time insights, the Metals-API is your gateway to the future of gold trading.