Get Special Drawing Rights (XDR) prices with detailed API calls
Get Special Drawing Rights (XDR) Prices with Detailed API Calls
The world of finance is rapidly evolving, and with it, the need for accurate and real-time data has never been more critical. Special Drawing Rights (XDR) are an international reserve asset created by the International Monetary Fund (IMF) to supplement its member countries' official reserves. To effectively track and analyze XDR prices, developers can leverage the powerful capabilities of the Metals-API. This API provides comprehensive access to real-time and historical metals data, enabling developers to build innovative applications that can transform the way we interact with financial data.
Metals-API Information
The Metals-API is designed to provide developers with the tools they need to access and utilize real-time metals data efficiently. With its robust architecture, the API supports various endpoints that cater to different data needs, from the latest exchange rates to historical trends. This API empowers developers to create applications that can analyze market fluctuations, track price changes, and provide insights into the metals market.
About Albanian Lek (ALL)
The Albanian Lek (ALL) is the official currency of Albania, and its value can be influenced by various factors, including economic conditions, market demand, and geopolitical events. As the metals market undergoes digital transformation, the integration of smart technologies and data analytics becomes essential. The Metals-API allows developers to harness these advancements to gain insights into the Albanian Lek's performance against various metals, including gold, silver, and platinum.
By utilizing the Metals-API, developers can explore future trends and possibilities in the metals market. The API's capabilities enable them to analyze historical data, track real-time fluctuations, and make informed decisions based on comprehensive analytics. This integration of technology into the financial sector not only enhances transparency but also fosters innovation in how we approach currency valuation and trading.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical metals data through a simple and intuitive interface. With a focus on innovation and technological advancement, the API allows for seamless integration into applications, enabling developers to build next-generation solutions that can transform the way users interact with metals data.
For detailed information on how to utilize the API, developers can refer to the Metals-API Documentation. This resource provides comprehensive guidance on the various endpoints available, including their functionalities, parameters, and response structures.
Key Features and Endpoints
The Metals-API offers a wide range of endpoints, each designed to provide specific functionalities that cater to different data needs. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates endpoint is crucial for developers who need real-time exchange rate data. Depending on the subscription plan, this endpoint can return updated rates every 60 minutes, every 10 minutes, or even more frequently. This feature is particularly useful for applications that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1788221440,
"base": "USD",
"date": "2026-09-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
Accessing historical rates is essential for analyzing trends over time. The Historical Rates endpoint allows developers to query data dating back to 2019 by appending a specific date in the format YYYY-MM-DD. This feature is invaluable for applications that require historical analysis and forecasting.
{
"success": true,
"timestamp": 1788135040,
"base": "USD",
"date": "2026-08-31",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask endpoint provides real-time bid and ask prices for various metals. This feature is particularly useful for traders who need to make quick decisions based on current market conditions. Depending on the subscription plan, developers can access this powerful feature to enhance their trading applications.
{
"success": true,
"timestamp": 1788221440,
"base": "USD",
"date": "2026-09-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"
}
Convert Endpoint
The Convert endpoint allows developers to convert any amount from one currency to another. This feature is particularly useful for applications that require currency conversion capabilities, enabling users to easily switch between different metals and currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1788221440,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series endpoint allows developers to query daily historical rates between two dates of their choice. This feature is essential for applications that require detailed trend analysis and forecasting based on historical data.
{
"success": true,
"timeseries": true,
"start_date": "2026-08-25",
"end_date": "2026-09-01",
"base": "USD",
"rates": {
"2026-08-25": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-27": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-09-01": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is particularly useful for applications that need to track volatility and market changes over time.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-25",
"end_date": "2026-09-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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price endpoint allows developers to query the open, high, low, and close prices for a specific time period. This feature is essential for applications that require detailed market analysis and trading strategies.
{
"success": true,
"timestamp": 1788221440,
"base": "USD",
"date": "2026-09-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"
}
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 powerful suite of tools for developers looking to access real-time and historical metals data, including Special Drawing Rights (XDR) prices. With its extensive range of endpoints, developers can create applications that provide valuable insights into market trends, price fluctuations, and historical analysis. By leveraging the capabilities of the Metals-API, developers can build innovative solutions that enhance the way users interact with financial data.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation for detailed guidance on implementation and usage. The integration of this API into financial applications not only streamlines data access but also fosters a deeper understanding of market dynamics.