Retrieve Paraguayan Guaran (PYG) Historical Prices with this API
Retrieve Paraguayan Guaran (PYG) Historical Prices with this API
The Paraguayan Guaran (PYG) is the official currency of Paraguay, a country known for its rich cultural heritage and diverse economy. As the world increasingly moves towards digital transformation, the financial markets, including those for metals, are experiencing significant technological advancements. One of the most innovative tools available for developers looking to access real-time and historical data on metals and currencies is the Metals-API. This API not only provides access to the latest exchange rates but also allows users to retrieve historical prices, making it an invaluable resource for those interested in the Paraguayan Guaran and its relationship with various metals.
About Paraguayan Guaran (PYG)
The Paraguayan Guaran has a unique position in the South American economy, and understanding its historical prices is crucial for various applications, including financial analysis, investment strategies, and market forecasting. The integration of smart technology and data analytics has revolutionized how traders and developers interact with financial data. By leveraging the capabilities of the Metals-API, developers can gain insights into the fluctuations of the PYG against metals like gold, silver, and copper, enabling them to make informed decisions.
As we explore the capabilities of the Metals-API, we will delve into how it empowers developers to build next-generation applications that can analyze trends, predict future movements, and integrate seamlessly with existing systems. The API's ability to provide real-time data and historical insights is a game-changer in the realm of financial technology.
API Description
The Metals-API is a powerful tool designed for developers who require accurate and timely data on metal prices and currency conversions. With its robust features, the API allows users to access a wide range of functionalities that cater to various needs. Whether you are looking to retrieve the latest rates, historical prices, or perform conversions, the Metals-API has you covered.
For more detailed information, you can refer to the Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively. Additionally, the Metals-API Supported Symbols page offers a complete list of all available currencies and metals, ensuring you have the necessary resources at your fingertips.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different functionalities, enabling developers to retrieve and manipulate data in a way that suits their specific needs. Here are some key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes or every 10 minutes. This feature is essential for developers who need up-to-the-minute information on the PYG against various metals.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This is particularly useful for analyzing trends over time and understanding how the PYG has fluctuated against metals.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for developers working on applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, which is crucial for understanding market volatility and making strategic decisions.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, catering to those interested in precious metals.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices within a specified date range, providing valuable insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access open, high, low, and close prices for a specific date, which is essential for technical analysis and trading strategies.
- 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 requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency and ease of use for developers.
- Available Endpoints: The Metals-API includes 14 different endpoints, each offering unique functionalities tailored to various user needs.
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. This resource is invaluable for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1780446174,
"base": "USD",
"date": "2026-06-03",
"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": 1780359774,
"base": "USD",
"date": "2026-06-02",
"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-05-27",
"end_date": "2026-06-03",
"base": "USD",
"rates": {
"2026-05-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-03": {
"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": 1780446174,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-27",
"end_date": "2026-06-03",
"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": 1780446174,
"base": "USD",
"date": "2026-06-03",
"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": 1780446174,
"base": "USD",
"date": "2026-06-03",
"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 suite of tools for developers looking to access real-time and historical data on the Paraguayan Guaran and its relationship with various metals. By leveraging the API's capabilities, developers can create applications that analyze trends, perform conversions, and track fluctuations, all while ensuring accuracy and reliability.
With features like the Latest Rates Endpoint, Historical Rates Endpoint, and the ability to convert currencies, the Metals-API stands out as a vital resource for anyone involved in financial technology. As the market continues to evolve, the integration of such APIs will play a crucial role in shaping the future of trading and investment strategies.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the extensive documentation available. By utilizing these tools, developers can unlock the potential of financial data and drive innovation in their applications.