Access Bulgarian Lev (BGN) prices using this API
Access Bulgarian Lev (BGN) Prices Using This API
The Bulgarian Lev (BGN) is a currency that reflects the economic landscape of Bulgaria and its integration into the global market. As developers and businesses seek to leverage real-time data for financial applications, accessing accurate and timely exchange rates becomes crucial. The Metals-API offers a robust solution for obtaining Bulgarian Lev prices and other metal-related data, empowering developers to create innovative applications that can transform the way we interact with financial markets.
About Bulgarian Lev (BGN)
The Bulgarian Lev is not just a currency; it represents the country's economic stability and growth potential. With the rise of digital transformation in metal markets, the integration of technological innovations and advancements has become essential. The Metals-API provides developers with the tools to harness data analytics and insights, enabling them to build applications that can predict market trends and analyze fluctuations in currency values.
As the world moves towards smart technology integration, the Bulgarian Lev stands at the intersection of traditional finance and modern technology. The future trends indicate a growing reliance on real-time data, which can significantly impact investment decisions and market strategies. By utilizing the Metals-API, developers can access a wealth of information that can help them navigate these changes effectively.
API Description
The Metals-API is a powerful tool designed to provide real-time metals data, including exchange rates for various currencies, including the Bulgarian Lev. This API empowers developers to build next-generation applications that require accurate and timely financial data. With its innovative capabilities, the Metals-API allows users to access a wide range of functionalities, from retrieving the latest exchange rates to analyzing historical data trends.
For more information, you can visit the Metals-API Website or check the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to access real-time data, historical rates, and more. 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: Access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can query the Metals-API for past exchange rates, 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, this endpoint can provide critical insights into market conditions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, which can be used to convert any amount from one currency to another. This feature is particularly useful for applications that require real-time conversion rates.
- Time-Series Endpoint: This endpoint allows developers to query the API for daily historical rates between two dates of their choice. It is ideal for applications that need to analyze trends over specific periods.
- Fluctuation Endpoint: With this endpoint, users can retrieve information about how currencies fluctuate on a day-to-day basis. This feature is essential for understanding market volatility and making informed decisions.
- Carat Endpoint: This endpoint provides information about Gold rates by Carat. By appending a base to the request, developers can access specific data related to gold pricing.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest price for a given date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive analysis of metal prices over time.
- API Key: The API Key is a unique identifier that must be passed into the API base URL's access_key parameter to authenticate requests.
- API Response: Exchange rates delivered by the Metals-API are by default relative to USD, ensuring consistency across data retrieval.
- Available Endpoints: The Metals-API comes with 14 API endpoints, each providing different functionalities tailored to various needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing developers to stay updated on the latest symbols supported by the API.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1783123797,
"base": "USD",
"date": "2026-07-04",
"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": 1783037397,
"base": "USD",
"date": "2026-07-03",
"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-27",
"end_date": "2026-07-04",
"base": "USD",
"rates": {
"2026-06-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-07-04": {
"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": 1783123797,
"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-27",
"end_date": "2026-07-04",
"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": 1783123797,
"base": "USD",
"date": "2026-07-04",
"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": 1783123797,
"base": "USD",
"date": "2026-07-04",
"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
Accessing Bulgarian Lev prices through the Metals-API opens up a world of possibilities for developers looking to create innovative financial applications. With its comprehensive set of features, including real-time exchange rates, historical data, and advanced analytical tools, the Metals-API empowers users to make informed decisions based on accurate data. By leveraging this API, developers can build applications that not only meet the demands of today's market but also anticipate future trends.
For further exploration of the API's capabilities, refer to the Metals-API Documentation and stay updated with the latest supported symbols on the Metals-API Supported Symbols page. Embrace the future of financial technology by integrating the Metals-API into your applications and unlock the potential of real-time metals data.