Retrieve daily Osmium (OSMIUM) prices using this API

Retrieve Daily Osmium (OSMIUM) Prices Using This API
Metals-API. This blog post delves into the intricacies of Osmium, its markets, and how the Metals-API empowers developers to harness real-time data for innovative applications.
Metals-API Information
About Osmium (OSMIUM)
API Description
Metals-API is a powerful tool that provides developers with access to real-time and historical data for various metals, including Osmium. This API is designed to facilitate the development of next-generation applications that require accurate and timely metal pricing information. With its robust capabilities, the Metals-API empowers developers to create applications that can analyze market trends, track price fluctuations, and convert currencies seamlessly.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated at intervals depending on your subscription plan. Developers can easily access the latest prices for Osmium and other metals, ensuring they have the most current information at their fingertips.
- Historical Rates Endpoint: For those interested in analyzing trends over time, the historical rates endpoint allows users to access data dating back to 2019. By appending a specific date to the API call, developers can retrieve historical prices for Osmium, enabling them to conduct in-depth market analysis.
- Bid And Ask Endpoint: This feature provides real-time bid and ask prices for metals, allowing developers to implement trading functionalities within their applications. Understanding the bid-ask spread is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for applications that require multi-currency support, enabling seamless transactions across different metal types.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two specified dates. This functionality is essential for creating visualizations and reports that track price movements over time.
- Fluctuation Endpoint: This endpoint provides insights into how metal prices fluctuate on a day-to-day basis. By tracking these fluctuations, developers can build applications that alert users to significant price changes, enhancing their trading strategies.
- Carat Endpoint: For applications focused on gold, the carat endpoint allows users to retrieve gold rates by carat, making it easier to cater to jewelry markets and other specific industries.
- Lowest/Highest Price Endpoint: This feature enables users to query the API for the lowest and highest prices of metals over a specified period, providing valuable insights into market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can access open, high, low, and close prices for a specific time period, which is critical for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends in metal pricing.
- API Key: Each user is assigned a unique API key that must be included in API requests, ensuring secure access to the data.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format, making it easy for developers to parse and utilize.
- Available Endpoints: The Metals-API provides a comprehensive list of endpoints, each designed to fulfill different functionalities, ensuring that developers have the tools they need to build robust applications.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available metal symbols, allowing developers to stay informed about the latest additions to the API.
- Gold Price India Endpoint: For those interested in the Indian market, this dedicated endpoint retrieves the latest gold prices in India, catering to regional trading needs.
- News Endpoint: The Metals-API also includes a news endpoint that allows users to retrieve the latest articles related to various metals, keeping developers and traders informed about market developments.
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate specific metal data into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1754733626,
"base": "USD",
"date": "2025-08-09",
"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
{
"success": true,
"timestamp": 1754647226,
"base": "USD",
"date": "2025-08-08",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-02",
"end_date": "2025-08-09",
"base": "USD",
"rates": {
"2025-08-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-09": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754733626,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-02",
"end_date": "2025-08-09",
"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
{
"success": true,
"timestamp": 1754733626,
"base": "USD",
"date": "2025-08-09",
"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
{
"success": true,
"timestamp": 1754733626,
"base": "USD",
"date": "2025-08-09",
"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
Metals-API Documentation and explore the extensive capabilities of this powerful API.