Explore Cobalt China Spot (LCO-CH) Historical Prices using this API
Introduction
In the ever-evolving landscape of metal markets, the demand for accurate and real-time data has never been more critical. Cobalt, represented by the symbol LCO, is one such metal that has gained significant attention due to its applications in technology and energy storage. This blog post will explore how to access historical prices for Cobalt China Spot (LCO-CH) using the Metals-API. We will delve into the API's capabilities, focusing on its innovative features, and how developers can leverage this data to build next-generation applications.
About Cobalt (LCO)
Cobalt is a critical component in the production of batteries, particularly for electric vehicles and renewable energy storage systems. As the world shifts towards sustainable energy solutions, the demand for Cobalt is expected to rise. This surge in demand is driving digital transformation in metal markets, where technological innovation and data analytics play pivotal roles. The integration of smart technology in tracking and analyzing metal prices is revolutionizing how industries operate.
With the Metals-API, developers can access real-time and historical data, enabling them to gain insights into market trends and make informed decisions. The API empowers users to harness data analytics, providing a competitive edge in the fast-paced metal market. As we explore the features of the Metals-API, we will highlight its transformative potential and how it can be utilized to track Cobalt prices effectively.
API Description
The Metals-API is a powerful tool that provides real-time and historical data for various metals, including Cobalt. It offers a range of endpoints that allow developers to access the latest rates, historical prices, and fluctuations in metal prices. The API is designed with innovation in mind, enabling users to build applications that can analyze market trends and provide valuable insights.
One of the key advantages of the Metals-API is its ability to deliver data in a structured format, making it easy for developers to integrate into their applications. The API supports various functionalities, including currency conversion, time-series data retrieval, and bid/ask price tracking. This flexibility allows developers to create customized solutions tailored to their specific needs.
Key Features and Endpoints
The Metals-API offers a comprehensive suite of features that cater to the diverse needs of developers. Below are some of the key endpoints and their functionalities:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, users can receive updates every 60 minutes or every 10 minutes. This endpoint is essential for applications that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1779322607,
"base": "USD",
"date": "2026-05-21",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XCU": 0.294118
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
Accessing historical rates is crucial for understanding market trends over time. The Historical Rates Endpoint allows users to query historical prices dating back to 2019 by appending a specific date in the format YYYY-MM-DD. This feature is particularly useful for conducting market analysis and forecasting future trends.
{
"success": true,
"timestamp": 1779236207,
"base": "USD",
"date": "2026-05-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XCU": 0.294
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is vital for traders looking to make informed decisions based on current market conditions.
{
"success": true,
"timestamp": 1779322607,
"base": "USD",
"date": "2026-05-21",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
}
},
"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 feature is particularly useful for applications that require currency conversion for pricing or trading purposes.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1779322607,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query daily historical rates between two dates of their choice. This feature is essential for analyzing price trends over specific periods, enabling developers to build applications that can visualize and interpret historical data effectively.
{
"success": true,
"timeseries": true,
"start_date": "2026-05-14",
"end_date": "2026-05-21",
"base": "USD",
"rates": {
"2026-05-14": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2026-05-21": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how metal prices fluctuate on a day-to-day basis. This feature is invaluable for traders and analysts who need to monitor price changes and volatility.
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-14",
"end_date": "2026-05-21",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to retrieve open, high, low, and close prices for a specific time period. This data is essential for technical analysis and helps traders understand market trends.
{
"success": true,
"timestamp": 1779322607,
"base": "USD",
"date": "2026-05-21",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for users interested in historical data for metals traded on the London Metal Exchange.
{
"success": true,
"timestamp": 1779236207,
"base": "USD",
"date": "2026-05-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825
},
"unit": "per troy ounce"
}
API Key and Response
To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. The API delivers exchange rates relative to USD by default, ensuring consistency in data representation.
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 specific metals into their applications.
Conclusion
In conclusion, the Metals-API offers a robust and innovative solution for accessing real-time and historical data for metals like Cobalt. By leveraging its various endpoints, developers can build applications that provide valuable insights into market trends and pricing fluctuations. The API's capabilities, combined with its user-friendly structure, make it an essential tool for anyone involved in the metal markets.
As the demand for metals continues to grow, the importance of accurate data and analytics will only increase. By utilizing the Metals-API, developers can stay ahead of the curve, ensuring they have the information they need to make informed decisions. For more information on how to get started, visit the Metals-API Documentation and explore the possibilities that await in the world of metal data.