Access Tanzanian Shilling (TZS) Historical Prices through this API
Access Tanzanian Shilling (TZS) Historical Prices through this API
The Tanzanian Shilling (TZS) is a vital currency in East Africa, and accessing its historical prices is crucial for developers and analysts working in finance and economics. With the rise of digital transformation in the metal markets, the Metals-API provides a robust solution for retrieving real-time and historical data on various metals, including their exchange rates against the TZS. This blog post will delve into the capabilities of the Metals-API, focusing on how developers can leverage its features to access historical prices and enhance their applications.
Metals-API Information
About Nickel (NI)
Nickel is one of the essential metals in the global market, used extensively in various industries, including electronics, automotive, and construction. As the world moves towards digital transformation, the metal markets are also evolving. Technological innovations are reshaping how data is collected, analyzed, and utilized. The integration of smart technology and data analytics is enabling stakeholders to gain insights that were previously unattainable.
With the Metals-API, developers can access real-time data on nickel prices, historical trends, and fluctuations. This API empowers users to build next-generation applications that can analyze market trends, forecast prices, and make informed decisions based on comprehensive data analytics. The future of metal markets is bright, with possibilities for enhanced transparency, efficiency, and accessibility through innovative technologies.
API Description
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on metal prices and currency conversions. It offers a wide range of functionalities that can be integrated into various applications, enabling users to access critical financial data effortlessly. The API's capabilities include retrieving the latest rates, historical prices, bid and ask prices, and much more.
By utilizing the Metals-API, developers can create applications that not only display current metal prices but also analyze historical trends and fluctuations. This transformative potential allows businesses to make data-driven decisions, optimize their operations, and enhance their financial strategies. For more detailed information, you can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Each endpoint is designed to provide specific functionalities that can be utilized in various applications. Here are some of the key features:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for applications that require up-to-date pricing information.
- Historical Rates Endpoint: Developers can access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the API request, users can retrieve historical data for analysis and reporting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for various metals. This information is crucial for traders and analysts who need to understand market dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that enables users to convert any amount from one currency to another. This feature is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice. This endpoint is ideal for analyzing trends over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, allowing users to track market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest prices for a specified date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends in the metal markets.
- API Key: Each user is provided with a unique API key that must be included in the API requests to authenticate and authorize access.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default, ensuring consistency in data representation.
- Available Endpoints: The Metals-API comprises 14 endpoints, each offering distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding the API responses is crucial for developers to effectively utilize the Metals-API. 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": 1776644002,
"base": "USD",
"date": "2026-04-20",
"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": 1776557602,
"base": "USD",
"date": "2026-04-19",
"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-04-13",
"end_date": "2026-04-20",
"base": "USD",
"rates": {
"2026-04-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-20": {
"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": 1776644002,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-13",
"end_date": "2026-04-20",
"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": 1776644002,
"base": "USD",
"date": "2026-04-20",
"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": 1776644002,
"base": "USD",
"date": "2026-04-20",
"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
Accessing historical prices for the Tanzanian Shilling (TZS) and other metals has never been easier, thanks to the Metals-API. By leveraging its comprehensive features, developers can build applications that provide real-time data, analyze historical trends, and make informed decisions based on accurate financial data. The API's extensive documentation and support for various endpoints ensure that users can easily integrate these functionalities into their projects.
Whether you are a developer looking to enhance your financial applications or an analyst seeking to gain insights into market trends, the Metals-API offers the tools you need. For more information, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation.
In summary, the Metals-API not only provides access to historical prices but also empowers users to harness the power of data analytics and smart technology integration, paving the way for innovative applications in the financial sector.