Retrieve Indian Rupee (INR) exchange rates with this API
Retrieve Indian Rupee (INR) Exchange Rates with Metals-API
The Indian Rupee (INR) 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 INR, and empowers developers to create innovative applications that leverage this data.
About Neodymium (ND)
Neodymium is a rare earth metal that plays a significant role in various technological advancements. As industries evolve, the demand for neodymium has surged, particularly in the production of high-strength magnets used in electric vehicles, wind turbines, and consumer electronics. The integration of smart technology in metal markets is transforming how we analyze and utilize these resources. Data analytics and insights derived from real-time data can help stakeholders make informed decisions, optimize supply chains, and predict future trends.
API Description
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on metal prices and currency exchange rates. By leveraging this API, developers can build next-generation applications that require accurate and timely information. The API's capabilities include retrieving the latest rates, historical data, and even performing currency conversions. With its focus on innovation and technological advancement, the Metals-API is positioned to transform how businesses interact with metal markets.
For detailed information on how to utilize the API, refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Hereβs a breakdown of some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes or even every 10 minutes. This is crucial for applications that require up-to-the-minute accuracy.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to your query, you can retrieve past exchange rates, which is invaluable for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices, providing insights into market conditions and helping traders make informed decisions.
- Convert Endpoint: The conversion endpoint enables you to convert any amount from one currency to another, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, allowing for comprehensive analysis over time.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price of metals over a specified period, aiding in investment decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for metals, which are critical for traders analyzing market trends.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is essential for those involved in trading metals on the London Metal Exchange.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API includes 14 endpoints, each providing distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring you have the latest information at your fingertips. For a complete list of supported symbols, visit the Metals-API Supported Symbols page.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about 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 Symbols page.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoint responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1777508079,
"base": "USD",
"date": "2026-04-30",
"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": 1777421679,
"base": "USD",
"date": "2026-04-29",
"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-23",
"end_date": "2026-04-30",
"base": "USD",
"rates": {
"2026-04-23": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-25": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-30": {
"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": 1777508079,
"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-23",
"end_date": "2026-04-30",
"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": 1777508079,
"base": "USD",
"date": "2026-04-30",
"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": 1777508079,
"base": "USD",
"date": "2026-04-30",
"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 is an invaluable resource for developers looking to access real-time exchange rates and historical data for the Indian Rupee (INR) and other metals. By utilizing its various endpoints, developers can create applications that provide insights into market trends, facilitate currency conversions, and enhance trading strategies. With comprehensive documentation available at the Metals-API Documentation, integrating this API into your projects is straightforward and efficient. As the demand for accurate financial data continues to grow, leveraging the capabilities of the Metals-API will position developers at the forefront of innovation in the financial technology landscape.