Access Pakistani Rupee (PKR) prices using this API
Access Pakistani Rupee (PKR) Prices Using Metals-API
The global financial landscape is constantly evolving, and with it, the need for real-time data on currency and metal prices has never been more critical. For developers and businesses looking to access Pakistani Rupee (PKR) prices, the Metals-API offers a robust solution. This API provides comprehensive access to real-time and historical data for various metals and currencies, enabling developers to build innovative applications that can transform how we interact with financial markets.
About Nickel (NI)
Nickel is a key player in the metals market, widely used in the production of stainless steel and other alloys. As industries undergo digital transformation, the integration of smart technologies and data analytics into metal markets is becoming increasingly important. The Metals-API empowers developers to harness the power of real-time data, enabling them to gain insights into market trends and make informed decisions.
Technological innovation is at the forefront of this transformation. With the Metals-API, developers can access a wealth of information about nickel prices and other metals, allowing them to create applications that provide users with up-to-date market insights. This API not only facilitates the retrieval of current prices but also historical data, enabling users to analyze trends over time.
As we look to the future, the possibilities for integrating smart technology into metal markets are vast. The Metals-API stands as a beacon of innovation, offering developers the tools they need to build next-generation applications that can adapt to the ever-changing landscape of financial data.
API Description
The Metals-API is designed to provide developers with seamless access to real-time metals data, including exchange rates for various currencies and metals. This API is particularly valuable for those looking to integrate financial data into their applications, offering a range of endpoints that cater to different needs. The API's capabilities include:
- Real-time exchange rate data
- Historical rates dating back to 2019
- Bid and ask prices for metals
- Currency conversion features
- Time-series data for trend analysis
- Fluctuation tracking for market insights
- Detailed information on gold rates by carat
- Access to the lowest and highest prices over specified periods
- Open, high, low, and close (OHLC) price data
- Support for a wide range of metal symbols
For more detailed information, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1787271042,
"base": "USD",
"date": "2026-08-21",
"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 crucial for trend analysis and market research. The Historical Rates Endpoint allows users to query rates dating back to 2019 by appending a specific date to the request. This feature is invaluable for developers looking to analyze past market behavior.
{
"success": true,
"timestamp": 1787184642,
"base": "USD",
"date": "2026-08-20",
"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 metals, allowing developers to retrieve current market prices and spreads. This feature is particularly useful for trading applications where understanding market depth is essential.
{
"success": true,
"timestamp": 1787271042,
"base": "USD",
"date": "2026-08-21",
"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 users to convert any amount from one currency to another, making it easy to handle transactions across different currencies. This feature is essential for applications that require currency conversion capabilities.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1787271042,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query daily historical rates between two specified dates. This feature is particularly useful for analyzing trends over time and understanding market fluctuations.
{
"success": true,
"timeseries": true,
"start_date": "2026-08-14",
"end_date": "2026-08-21",
"base": "USD",
"rates": {
"2026-08-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how currencies fluctuate on a day-to-day basis. This feature is essential for understanding market volatility and making informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-14",
"end_date": "2026-08-21",
"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 provides open, high, low, and close prices for a specific time period. This data is crucial for traders looking to analyze price movements and make strategic decisions.
{
"success": true,
"timestamp": 1787271042,
"base": "USD",
"date": "2026-08-21",
"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"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This feature is essential for those interested in long-term market analysis and trends.
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 metal data into their applications.
Conclusion
In conclusion, the Metals-API is a powerful tool for developers seeking to access real-time and historical data on metals and currencies, including the Pakistani Rupee (PKR). With its extensive range of endpoints and features, this API enables the creation of innovative applications that can transform how we interact with financial markets. By leveraging the capabilities of the Metals-API, developers can gain valuable insights into market trends, optimize trading strategies, and enhance user experiences.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation for detailed guidance, and to check the Metals-API Website for updates and additional resources.