BOI Historical Data API: Timeseries, Charts & Downloads

BOI Historical Data API: Timeseries, Charts & Downloads

Introduction

In the fast-paced world of finance, access to accurate and timely interest rate data is crucial for developers, economists, and financial analysts. The Bank of Israel (BOI) Rate, a key indicator of monetary policy, plays a significant role in shaping economic decisions. The Interest Rates API provides a robust solution for retrieving historical data, time series analysis, and financial insights related to interest rates, including the BOI Rate. This blog post will explore the capabilities of the Interest Rates API, focusing on the BOI Rate and its various endpoints, which can be leveraged to build powerful fintech applications.

Understanding the BOI Rate

The BOI Rate is the interest rate set by the Bank of Israel, influencing the cost of borrowing and the overall economic environment in Israel. Developers and analysts often need to analyze this rate over time to understand trends, make predictions, and inform investment decisions. The Interest Rates API offers several endpoints that allow users to access the latest rates, historical data, and time series information, making it an essential tool for financial data engineers and quantitative analysts.

Key API Endpoints for BOI Rate Analysis

The Interest Rates API provides a variety of endpoints that cater to different data retrieval needs. Below, we will discuss the most relevant endpoints for working with the BOI Rate, including examples and practical use cases.

1. Latest Rate Endpoint

The /latest endpoint allows users to retrieve the most recent value for the BOI Rate. This is particularly useful for applications that require real-time data to inform financial decisions.

cURL Example:

curl "https://interestratesapi.com/api/v1/latest?symbols=BOI_RATE&api_key=YOUR_KEY"

JSON Response Example:


{
"success": true,
"date": "2026-07-23",
"base": "MIXED",
"rates": {
"BOI_RATE": 5.33
},
"dates": {
"BOI_RATE": "2026-07-23"
},
"currencies": {
"BOI_RATE": "ILS"
}
}

This response indicates that the latest BOI Rate is 5.33 ILS as of July 23, 2026. Developers can use this data to update dashboards or trigger alerts based on interest rate changes.

2. Historical Rate Endpoint

The /historical endpoint is essential for retrieving the BOI Rate on specific dates. This is particularly useful for point-in-time analysis, allowing users to examine how the rate has changed over time.

cURL Example:

curl "https://interestratesapi.com/api/v1/historical?date=2025-06-15&symbols=BOI_RATE&api_key=YOUR_KEY"

JSON Response Example:


{
"success": true,
"date": "2025-06-15",
"base": "ILS",
"rates": {
"BOI_RATE": 5.33
},
"currencies": {
"BOI_RATE": "ILS"
}
}

This response shows that on June 15, 2025, the BOI Rate was 5.33 ILS. This endpoint is particularly useful for economists conducting historical analyses or for applications that require historical data for reporting purposes.

3. Time Series Endpoint

The /timeseries endpoint allows users to fetch a series of BOI Rate values between two specified dates. This is invaluable for trend analysis and forecasting.

cURL Example:

curl "https://interestratesapi.com/api/v1/timeseries?start=2025-07-23&end=2026-07-23&symbols=BOI_RATE&api_key=YOUR_KEY"

JSON Response Example:


{
"success": true,
"base": "ILS",
"start_date": "2025-07-23",
"end_date": "2026-07-23",
"rates": {
"BOI_RATE": {
"2025-01-02": 5.33,
"2025-01-03": 5.33,
"2025-01-06": 5.33
}
},
"frequencies": {
"BOI_RATE": "daily"
},
"currencies": {
"BOI_RATE": "ILS"
}
}

This response provides daily rates for the BOI Rate between the specified dates. Developers can use this data to create visualizations, such as line charts, to illustrate trends over time.

4. Fluctuation Endpoint

The /fluctuation endpoint provides statistics on the changes in the BOI Rate over a specified date range. This is useful for understanding the volatility of the rate.

cURL Example:

curl "https://interestratesapi.com/api/v1/fluctuation?start=2025-07-23&end=2026-07-23&symbols=BOI_RATE&api_key=YOUR_KEY"

JSON Response Example:


{
"success": true,
"rates": {
"BOI_RATE": {
"start_date": "2025-07-23",
"end_date": "2026-07-23",
"start_value": 5.50,
"end_value": 5.33,
"change": -0.17,
"change_pct": -3.09,
"high": 5.50,
"low": 5.25
}
}
}

This response indicates that the BOI Rate decreased from 5.50 to 5.33 over the specified period, providing insights into the rate's performance and volatility.

5. OHLC Endpoint for Candlestick Charts

The /ohlc endpoint allows users to retrieve Open, High, Low, and Close (OHLC) data for the BOI Rate, which is essential for creating candlestick charts.

cURL Example:

curl "https://interestratesapi.com/api/v1/ohlc?symbols=BOI_RATE&period=monthly&start=2025-07-23&end=2026-07-23&api_key=YOUR_KEY"

JSON Response Example:


{
"success": true,
"period": "monthly",
"start_date": "2025-07-23",
"end_date": "2026-07-23",
"rates": {
"BOI_RATE": [
{
"period": "2025-01",
"open": 5.50,
"high": 5.50,
"low": 5.33,
"close": 5.33,
"data_points": 23
}
]
}
}

This response provides monthly OHLC data for the BOI Rate, which can be used to create candlestick charts using libraries like Chart.js or Plotly. Below is a simple example of how to integrate this data into a Chart.js chart:


const ctx = document.getElementById('myChart').getContext('2d');
const myChart = new Chart(ctx, {
type: 'candlestick',
data: {
datasets: [{
label: 'BOI Rate',
data: [
{ x: '2025-01', o: 5.50, h: 5.50, l: 5.33, c: 5.33 }
]
}]
},
options: {
scales: {
x: {
type: 'time'
}
}
}
});

Building a Data Pipeline with Python

For developers looking to build a data pipeline that fetches BOI Rate data, processes it, and exports it to a CSV or Parquet file, the following Python code demonstrates how to achieve this using the Interest Rates API.


import requests
import pandas as pd

# Fetching the timeseries data
response = requests.get(
'https://interestratesapi.com/api/v1/timeseries',
params=dict(start='2025-07-23', end='2026-07-23', symbols='BOI_RATE', api_key='YOUR_KEY')
)

data = response.json()

# Processing the data into a DataFrame
dates = data['rates']['BOI_RATE']
df = pd.DataFrame(list(dates.items()), columns=['Date', 'Rate'])
df['Date'] = pd.to_datetime(df['Date'])

# Exporting to CSV
df.to_csv('BOI_Rate_Data.csv', index=False)

# Exporting to Parquet
df.to_parquet('BOI_Rate_Data.parquet', index=False)

This code fetches the BOI Rate time series data, processes it into a Pandas DataFrame, and exports it to both CSV and Parquet formats for further analysis.

Common Pitfalls in Time Series Analysis

When working with time series data, developers should be aware of several common pitfalls:

  • Missing Dates: Ensure that your analysis accounts for weekends and holidays when the BOI Rate may not be available.
  • Frequency Considerations: Understand the difference between daily and monthly frequencies, as this can impact your analysis and visualizations.
  • Data Points Interpretation: Be cautious when interpreting the number of data points returned, especially for monthly symbols, as they may not represent a full month's data.

Conclusion

The Interest Rates API provides a comprehensive suite of endpoints for accessing and analyzing the BOI Rate. By leveraging these endpoints, developers can build powerful fintech applications that require accurate and timely interest rate data. Whether you are conducting historical analyses, creating visualizations, or building data pipelines, the Interest Rates API offers the tools necessary to succeed in the financial data landscape.

For more information on how to get started, visit Get started with Interest Rates API and explore the various features available to enhance your financial applications.

Ready to get started?

Get your API key and start validating bank data in minutes.

Get API Key

Related posts