Download Nepalese Rupee (NPR) Historical Prices using this API
Download Nepalese Rupee (NPR) Historical Prices using this API
The Nepalese Rupee (NPR) is a vital currency in South Asia, particularly for trade and commerce in Nepal. With the rise of digital transformation in financial markets, accessing historical prices of NPR has become increasingly important for developers and businesses alike. By leveraging the Metals-API, developers can easily download historical prices of NPR and integrate this data into their applications. This blog post will explore the capabilities of the Metals-API, focusing on its innovative features, endpoints, and how it can empower developers to create next-generation applications.
About Nepalese Rupee (NPR)
The Nepalese Rupee is not just a currency; it represents the economic landscape of Nepal. As the country embraces technological innovation, the integration of smart technology in financial markets is transforming how data is accessed and utilized. The Metals-API provides a robust platform for developers to access real-time and historical data, enabling them to gain insights through data analytics. This API is a game-changer, allowing for the exploration of future trends and possibilities in currency exchange and metal markets.
API Description
The Metals-API is designed to provide developers with real-time metals data and currency conversion capabilities. It empowers users to build applications that require accurate and timely information about metal prices and currency exchange rates. The API is built on a foundation of technological advancement, ensuring that users can access the latest data with ease. With a focus on innovation, the Metals-API allows developers to create applications that can analyze trends, forecast prices, and provide insights into market behaviors.
For more detailed information, developers can refer to the Metals-API Documentation, which outlines the various endpoints and their functionalities. Additionally, the Symbols List provides a comprehensive overview of all supported symbols, making it easier for developers to understand the data they can access.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to retrieve data in a flexible manner. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is crucial for applications that require up-to-the-minute data for trading or analysis.
- Historical Rates Endpoint: Historical rates for most currencies are available dating back to 2019. Developers can query the Metals-API for historical rates by appending a specific date in the format YYYY-MM-DD. This is particularly useful for analyzing trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time Bid and Ask prices, providing insights into market conditions and helping traders make informed decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This is essential for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, facilitating in-depth analysis of price movements over time.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This endpoint retrieves information about gold rates by carat, which is particularly useful for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Developers can query the API to get the lowest and highest price for a specific date, allowing for comprehensive market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for traders looking to analyze market trends.
- Historical LME Endpoint: Historical rates for LME symbols are accessible dating back to 2008, providing a long-term view of market trends.
- API Key: Each user is assigned a unique API key, which is passed into the API base URL's access_key parameter for authentication.
- API Response: Exchange rates delivered by the Metals-API are relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API comes with 14 endpoints, each providing different functionalities to cater to diverse user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, making it easy for developers to find the symbols they need.
API Endpoint Examples and Responses
Understanding the API responses is crucial for developers looking to integrate the Metals-API into their applications. 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": 1782692222,
"base": "USD",
"date": "2026-06-29",
"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": 1782605822,
"base": "USD",
"date": "2026-06-28",
"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-06-22",
"end_date": "2026-06-29",
"base": "USD",
"rates": {
"2026-06-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-29": {
"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": 1782692222,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-22",
"end_date": "2026-06-29",
"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": 1782692222,
"base": "USD",
"date": "2026-06-29",
"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": 1782692222,
"base": "USD",
"date": "2026-06-29",
"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 provides a comprehensive solution for developers looking to access historical prices of the Nepalese Rupee (NPR) and other metals. With its innovative endpoints and real-time data capabilities, this API empowers users to build applications that can analyze market trends, forecast prices, and provide valuable insights. By utilizing the Metals-API Documentation, developers can easily navigate the various features and integrate them into their projects. The ability to access historical data, real-time rates, and detailed fluctuations makes the Metals-API an essential tool for anyone involved in the financial markets.
As the financial landscape continues to evolve, embracing technological advancements and data analytics will be crucial for success. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to thrive in a competitive environment. For more information on supported symbols, visit the Metals-API Supported Symbols page, and explore the possibilities that await in the world of metals and currency exchange.