Find Nepalese Rupee (NPR) prices with this API
Introduction
The Nepalese Rupee (NPR) is the official currency of Nepal, a country known for its rich cultural heritage and stunning landscapes. Understanding the dynamics of NPR prices is crucial for businesses, travelers, and investors alike. With the advent of technology, accessing real-time data on currency exchange rates has become easier than ever. One such innovative solution is the Metals-API, which provides comprehensive data on metals and currency exchange rates, including the Nepalese Rupee. This blog post will delve into the features of the Metals-API, its capabilities, and how it can empower developers to create next-generation applications that leverage real-time metals data.
Metals-API Information
About Neodymium (ND)
Neodymium is a rare earth metal that plays a significant role in various technological advancements. As industries undergo digital transformation, the demand for neodymium is increasing, particularly in the manufacturing of high-strength magnets used in electric vehicles and renewable energy technologies. The integration of smart technologies and data analytics in the metal markets is transforming how businesses operate, providing insights that were previously unattainable. The Metals-API is at the forefront of this transformation, offering developers the tools they need to harness the power of real-time data.
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. This API enables users to access a wide range of functionalities, including the ability to retrieve the latest rates, historical data, and perform currency conversions. By leveraging the capabilities of the Metals-API, developers can build applications that provide users with up-to-date information, enhancing decision-making processes in financial markets.
For more 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 are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals and currencies. Depending on your subscription plan, the API updates this data every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for businesses that need to stay updated on market fluctuations.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past exchange rates, which is invaluable for trend analysis and market research.
- Bid and Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals. Understanding the bid-ask spread is crucial for traders and investors as it indicates market liquidity.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for travelers and businesses operating in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates. It is beneficial for analyzing trends over time and making informed investment decisions.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping businesses manage risks effectively.
- Carat Endpoint: This feature provides information about gold rates by carat. It is particularly useful for jewelers and gold traders who need precise pricing information.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides the open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This feature is crucial for businesses involved in trading metals on the London Metal Exchange.
- API Key: Each user is assigned a unique API key, which must be included in the API requests to authenticate access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The API offers a total of 14 endpoints, each designed for specific functionalities, allowing users to tailor their data requests to their needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Intraday Endpoint: Users can query intraday exchange rate data for a single symbol, which is essential for high-frequency trading strategies.
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
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1788826189,
"base": "USD",
"date": "2026-09-08",
"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": 1788739789,
"base": "USD",
"date": "2026-09-07",
"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-09-01",
"end_date": "2026-09-08",
"base": "USD",
"rates": {
"2026-09-01": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-09-03": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-09-08": {
"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": 1788826189,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-09-01",
"end_date": "2026-09-08",
"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": 1788826189,
"base": "USD",
"date": "2026-09-08",
"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": 1788826189,
"base": "USD",
"date": "2026-09-08",
"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 a transformative tool that empowers developers to access real-time and historical data on metals and currency exchange rates, including the Nepalese Rupee. By leveraging its various endpoints, developers can create applications that provide valuable insights into market trends, enabling businesses and individuals to make informed decisions. Whether you are looking to track the latest rates, analyze historical data, or perform currency conversions, the Metals-API offers a comprehensive solution tailored to meet your needs. For more information, explore the Metals-API Documentation and discover how you can integrate this powerful API into your applications.