Get Accurate Chinese Renminbi Yuan Offshore (CNH) Prices in Multiple Currencies Using JSON Format with this API
Get Accurate Chinese Renminbi Yuan Offshore (CNH) Prices in Multiple Currencies Using JSON Format with this API
In today's fast-paced financial landscape, having access to accurate and real-time currency exchange rates is crucial for businesses and developers alike. The Metals-API offers a robust solution for obtaining precise Chinese Renminbi Yuan Offshore (CNH) prices in various currencies, empowering developers to build innovative applications that leverage real-time metals data. This blog post will explore the capabilities of the Metals-API, focusing on its features, endpoints, and potential business applications.
About Tellurium (TE)
Tellurium, a metalloid with the symbol Te, is gaining attention in the context of digital transformation in metal markets. As industries increasingly rely on data analytics and smart technology integration, Tellurium's role in technological innovation is becoming more pronounced. The demand for Tellurium is expected to rise, driven by its applications in electronics, solar energy, and other advanced technologies. Understanding the market dynamics of Tellurium and its pricing can provide valuable insights for businesses looking to navigate the evolving landscape of metal markets.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time metals prices and currency conversion data in JSON format. This API is designed to facilitate the integration of accurate and timely data into applications, enabling businesses to make informed decisions based on the latest market trends. With a focus on innovation and technological advancement, the Metals-API empowers developers to build next-generation applications that can analyze and interpret metals data effectively.
For more information, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that provide different functionalities, allowing developers to tailor their applications to specific needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, every 10 minutes, or more frequently, depending on your subscription plan. Developers can use this endpoint to retrieve the latest CNH prices against various currencies.
- Historical Rates Endpoint: Access historical rates dating back to 2019 by appending a specific date (YYYY-MM-DD) to the endpoint. This feature is particularly useful for analyzing trends over time and making data-driven decisions.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, allowing businesses to understand market dynamics and make informed trading decisions.
- Convert Endpoint: This endpoint enables currency conversion, allowing users to convert any amount from one currency to another. For instance, converting CNH to USD or other currencies can be easily achieved.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing insights into price movements over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, which is essential for businesses engaged in trading or investment.
- Carat Endpoint: Retrieve information about gold rates by carat, which can be useful for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, helping businesses identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Get OHLC data for a specific time period, which is crucial for technical analysis in trading.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: Exchange rates are delivered relative to USD by default, with all data returned in structured JSON format.
- Available Endpoints: The Metals-API includes 14 endpoints, each offering distinct functionalities for developers.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, providing insights into short-term market 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
Understanding the API responses is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1785543442,
"base": "USD",
"date": "2026-08-01",
"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": 1785457042,
"base": "USD",
"date": "2026-07-31",
"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-07-25",
"end_date": "2026-08-01",
"base": "USD",
"rates": {
"2026-07-25": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-27": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-01": {
"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": 1785543442,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-25",
"end_date": "2026-08-01",
"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": 1785543442,
"base": "USD",
"date": "2026-08-01",
"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": 1785543442,
"base": "USD",
"date": "2026-08-01",
"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 provides a comprehensive solution for developers seeking accurate Chinese Renminbi Yuan Offshore (CNH) prices in multiple currencies. With its extensive range of endpoints, including real-time rates, historical data, and conversion capabilities, the API empowers businesses to make informed decisions based on the latest market trends. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance financial analysis and trading strategies.
For further exploration of the API's features, refer to the Metals-API Documentation and discover the full potential of this powerful tool. Additionally, the Metals-API Supported Symbols page offers a complete list of available symbols, ensuring you have all the information needed to integrate seamlessly.
In a world where data drives decisions, the Metals-API stands out as a transformative tool for accessing real-time metals data, enabling businesses to thrive in the competitive landscape of finance and trading.