Retrieve Turkish Lira (TRY) exchange rates with this API
Retrieve Turkish Lira (TRY) Exchange Rates with Metals-API
The Turkish Lira (TRY) is a vital currency in the global market, and understanding its exchange rates is crucial for businesses, investors, and developers alike. With the rise of digital transformation in financial markets, accessing real-time data has become essential. The Metals-API provides a robust solution for retrieving exchange rates, including the Turkish Lira, through its innovative API. This blog post will explore the capabilities of the Metals-API, focusing on its features, endpoints, and how developers can leverage this technology to build next-generation applications.
About Tellurium (TE)
Tellurium, a metalloid with unique properties, has gained attention in various industries, particularly in the realm of digital transformation. As markets evolve, technological innovation and advancement play a pivotal role in shaping how metals are traded and valued. The integration of smart technology and data analytics has revolutionized the way stakeholders interact with metal markets. With the rise of data-driven insights, businesses can now make informed decisions based on real-time data.
In this context, the Metals-API stands out as a transformative tool that empowers developers to access comprehensive data about metals, including exchange rates for currencies like the Turkish Lira. By utilizing this API, developers can create applications that provide valuable insights into market trends, enabling users to make data-driven decisions.
API Description
The Metals-API is a powerful tool designed to provide real-time metals data, including exchange rates for various currencies. This API enables developers to build applications that can track market fluctuations, analyze historical data, and convert currencies seamlessly. With its focus on innovation and technological advancement, the Metals-API is at the forefront of the digital transformation in the metals market.
For more information, you can visit the Metals-API Website or check the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to access real-time and historical data. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes or more frequently depending on your subscription plan. It allows users to retrieve the latest rates for the Turkish Lira against various metals.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for analyzing trends over time.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another, including conversions involving the Turkish Lira.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two dates of their choice, facilitating in-depth analysis of market trends.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which is essential for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specific date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for metals, essential for traders and analysts.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities to cater to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, including the Turkish Lira, allowing users to stay informed about market options.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users updated on market developments.
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 how to interact with the Metals-API is crucial for developers. Below are examples of various endpoints and their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1778026566,
"base": "USD",
"date": "2026-05-06",
"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": 1777940166,
"base": "USD",
"date": "2026-05-05",
"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-29",
"end_date": "2026-05-06",
"base": "USD",
"rates": {
"2026-04-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-06": {
"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": 1778026566,
"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-29",
"end_date": "2026-05-06",
"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": 1778026566,
"base": "USD",
"date": "2026-05-06",
"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": 1778026566,
"base": "USD",
"date": "2026-05-06",
"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
In conclusion, the Metals-API is an invaluable resource for developers seeking to access real-time and historical exchange rates, including the Turkish Lira. With its comprehensive range of endpoints, the API empowers users to build applications that can analyze market trends, convert currencies, and track fluctuations effectively. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that enhance decision-making processes in the financial sector.
For further exploration of the API's features and to get started with your integration, visit the Metals-API Documentation and check out the Metals-API Supported Symbols page for a complete list of available currencies. The future of metal trading is here, and with the Metals-API, you can be at the forefront of this digital transformation.