Retrieve Nepalese Rupee (NPR) Historical Prices using this API
In today's rapidly evolving financial landscape, the ability to access and analyze historical currency data is crucial for developers and businesses alike. One such currency, the Nepalese Rupee (NPR), has seen significant fluctuations influenced by various economic factors. To effectively retrieve historical prices of the Nepalese Rupee, developers can leverage the capabilities of the Metals-API. This API not only provides real-time data but also allows users to access historical rates, making it an invaluable tool for financial analysis and decision-making.
Metals-API Information
About Nepalese Rupee (NPR)
The Nepalese Rupee (NPR) is the official currency of Nepal, a country known for its rich cultural heritage and stunning landscapes. As Nepal continues to embrace digital transformation, the integration of technology in financial markets has become increasingly important. The Metals-API plays a pivotal role in this transformation by providing developers with the tools needed to access real-time and historical data on various currencies, including NPR.
Technological innovation in the financial sector has led to the emergence of data analytics and insights that empower businesses to make informed decisions. With the Metals-API, developers can harness smart technology integration to build applications that analyze historical price trends, assess market fluctuations, and predict future movements. This capability is essential for businesses looking to navigate the complexities of the global market.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical metals data. It offers a range of endpoints that cater to various needs, from retrieving the latest exchange rates to accessing detailed historical data. This API is particularly beneficial for developers looking to create next-generation applications that require accurate and timely financial data.
One of the standout features of the Metals-API is its ability to deliver data in a structured JSON format, making it easy for developers to integrate into their applications. The API supports a wide array of currencies and metals, allowing users to query data based on their specific requirements. For more detailed information, developers can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that provide different functionalities, each designed to meet specific user needs. 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 essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical data for NPR, enabling them to analyze trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time Bid and Ask prices for various metals. Depending on the subscription plan, developers can access this data to enhance their trading applications.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another. This feature is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: This endpoint enables users to query the API for daily historical rates between two dates of their choice. This is particularly beneficial for analyzing trends over specific periods.
- Fluctuation Endpoint: Developers can track how currencies fluctuate on a day-to-day basis using this endpoint. It provides insights into market volatility, which is crucial for making informed trading decisions.
- Carat Endpoint: This endpoint allows users to retrieve information about Gold rates by Carat. It is particularly useful for jewelers and businesses involved in the gold market.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specific date, providing valuable insights into market performance.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to retrieve open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate and authorize access.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers 14 different endpoints, each providing unique functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing users to stay updated on the latest symbols supported by the API.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them 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 Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for developers. 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": 1771114695,
"base": "USD",
"date": "2026-02-15",
"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": 1771028295,
"base": "USD",
"date": "2026-02-14",
"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-02-08",
"end_date": "2026-02-15",
"base": "USD",
"rates": {
"2026-02-08": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-10": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-15": {
"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": 1771114695,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-08",
"end_date": "2026-02-15",
"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": 1771114695,
"base": "USD",
"date": "2026-02-15",
"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": 1771114695,
"base": "USD",
"date": "2026-02-15",
"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 currencies. With its wide range of endpoints, including the latest rates, historical rates, and fluctuation tracking, the API empowers developers to create innovative applications that leverage real-time and historical financial data. By utilizing the Metals-API Documentation, developers can explore the full potential of this API and integrate it into their projects seamlessly.
As the financial landscape continues to evolve, staying informed about market trends and fluctuations is essential. The Metals-API not only facilitates access to vital data but also enhances the ability to analyze and interpret this information effectively. For those interested in exploring the full range of supported symbols, the Metals-API Supported Symbols page provides a comprehensive overview.
By embracing the capabilities of the Metals-API, developers can position themselves at the forefront of financial technology, paving the way for innovative solutions that meet the demands of an ever-changing market.