BKBM 3-Month Loan Cost Comparison: Calculate Your Interest Savings
In the world of finance, understanding interest rates is crucial for making informed decisions regarding loans and investments. For developers building fintech applications, economists, and quantitative analysts, having access to accurate and timely interest rate data is essential. This blog post will explore how to leverage the Interest Rates API to compare loan costs using the New Zealand Bank Bill Market Rate for 3 months (BKBM_3M) against other benchmark rates. We will focus on the /convert endpoint, which allows users to calculate total interest costs and savings when comparing different loan rates.
Understanding the Importance of Interest Rate Comparisons
When businesses or individuals consider taking out a loan, they often compare various interest rates to determine the most cost-effective option. The BKBM_3M rate serves as a benchmark for short-term lending in New Zealand, and comparing it against other rates, such as the European Central Bank's Main Refinancing Operations rate (ECB_MRO) or the US Federal Funds rate (FED_FUNDS), can provide valuable insights into potential savings.
Without access to reliable interest rate data, developers face challenges in creating accurate financial applications. The Interest Rates API provides a solution by offering real-time and historical data on various interest rates, enabling developers to build robust applications that can perform these comparisons seamlessly.
Using the /convert Endpoint for Loan Cost Comparison
The /convert endpoint of the Interest Rates API is designed to compare the total interest cost of a loan at the latest rates of two different symbols. This feature is particularly useful for businesses looking to evaluate their financing options. The endpoint requires the following parameters:
- from: The symbol of the interest rate to compare from (e.g., BKBM_3M).
- to: The symbol of the interest rate to compare to (e.g., ECB_MRO).
- amount: The loan amount (numeric, >= 0).
- term_months: The loan term in months (default is 12).
Here’s an example of how to use the /convert endpoint to compare BKBM_3M with ECB_MRO:
curl "https://interestratesapi.com/api/v1/convert?from=BKBM_3M&to=ECB_MRO&amount=100000&term_months=12&api_key=YOUR_KEY"
The response from this API call will provide detailed information about the total interest costs and payments for both rates:
{
"success": true,
"amount": 100000,
"term_months": 12,
"from": {
"symbol": "BKBM_3M",
"rate": 5.33,
"date": "2026-07-18",
"total_interest": 5330.00,
"total_payment": 105330.00
},
"to": {
"symbol": "ECB_MRO",
"rate": 4.50,
"date": "2026-07-18",
"total_interest": 4500.00,
"total_payment": 104500.00
},
"difference": {
"rate_spread": 0.83,
"interest_saved": 830.00
}
}
Breaking Down the Response Fields
The response from the /convert endpoint includes several key fields:
- success: Indicates whether the API call was successful.
- amount: The principal loan amount.
- term_months: The duration of the loan in months.
- from: An object containing details about the first interest rate (BKBM_3M), including:
- symbol: The identifier for the interest rate.
- rate: The current interest rate.
- date: The date of the rate.
- total_interest: The total interest paid over the loan term.
- total_payment: The total amount paid back including principal and interest.
- to: Similar to the "from" object, but for the second interest rate (e.g., ECB_MRO).
- difference: An object showing the difference between the two rates, including:
- rate_spread: The difference in rates.
- interest_saved: The amount saved by choosing the lower rate.
Comparing Multiple Rates
To further illustrate the capabilities of the /convert endpoint, let’s compare BKBM_3M against the Bank of England's Bank Rate (BOE_BANK_RATE) and the US Federal Funds rate (FED_FUNDS). Here are the cURL commands for these comparisons:
curl "https://interestratesapi.com/api/v1/convert?from=BKBM_3M&to=BOE_BANK_RATE&amount=100000&term_months=12&api_key=YOUR_KEY"
curl "https://interestratesapi.com/api/v1/convert?from=BKBM_3M&to=FED_FUNDS&amount=100000&term_months=12&api_key=YOUR_KEY"
Each of these calls will return a similar structure to the previous example, allowing users to easily compare the total interest costs and savings across different loan options.
Implementing a Reusable Calculator Function
To streamline the process of comparing loan costs, developers can create a reusable function in Python and JavaScript that wraps the /convert endpoint. Below are examples of how to implement this functionality:
Python Implementation
import requests
def compare_loan_costs(from_symbol, to_symbol, amount, term_months, api_key):
response = requests.get(
'https://interestratesapi.com/api/v1/convert',
params=dict(from=from_symbol, to=to_symbol, amount=amount, term_months=term_months, api_key=api_key)
)
return response.json()
# Example usage
result = compare_loan_costs('BKBM_3M', 'ECB_MRO', 100000, 12, 'YOUR_KEY')
print(result)
JavaScript Implementation
async function compareLoanCosts(fromSymbol, toSymbol, amount, termMonths, apiKey) {
const response = await fetch(
`https://interestratesapi.com/api/v1/convert?from=${fromSymbol}&to=${toSymbol}&amount=${amount}&term_months=${termMonths}&api_key=${apiKey}`
);
const data = await response.json();
return data;
}
// Example usage
compareLoanCosts('BKBM_3M', 'ECB_MRO', 100000, 12, 'YOUR_KEY').then(console.log);
Real-World Use Cases
The ability to compare loan costs using the Interest Rates API can be applied in various scenarios:
- Mortgage Comparison Tools: Fintech applications can utilize the API to help users compare mortgage rates from different lenders, ensuring they choose the most cost-effective option.
- Interbank Lending Cost Analysis: Financial institutions can analyze interbank lending rates to optimize their borrowing strategies and manage liquidity more effectively.
- Fintech Lending Apps: Developers can integrate the API into lending platforms to provide users with real-time comparisons of loan options, enhancing user experience and decision-making.
Conclusion
In conclusion, the Interest Rates API provides a powerful tool for developers and financial analysts to compare loan costs effectively. By leveraging the /convert endpoint, users can gain insights into potential savings when comparing different interest rates, such as BKBM_3M against ECB_MRO, BOE_BANK_RATE, and FED_FUNDS. This capability not only enhances financial decision-making but also empowers developers to create robust fintech applications that meet the needs of their users.
For more information and to explore the features of the Interest Rates API, visit Explore Interest Rates API features and Get started with Interest Rates API.




