Introduction
In the ever-evolving landscape of global finance, understanding interest rates is crucial for developers, economists, and financial analysts alike. Interest rates not only influence borrowing costs but also reflect the economic health of a country. This blog post aims to provide a comprehensive comparison of the Tokyo Overnight Average Rate (TONAR) against various global benchmark rates. By leveraging the Interest Rates API, we will explore how to access and analyze interest rate data, including central bank rates, interbank rates, and historical trends.
Understanding TONAR
TONAR, or the Tokyo Overnight Average Rate, is a key interbank rate in Japan that reflects the average rate at which banks lend to one another overnight. It serves as a benchmark for various financial products and is crucial for understanding the monetary policy stance of the Bank of Japan (BoJ). By comparing TONAR with other global rates, developers can gain insights into market dynamics, carry trades, and economic outlooks.
Accessing Interest Rate Data
The Interest Rates API provides a robust set of endpoints to access interest rate data programmatically. Below, we will explore the key endpoints that can be utilized to fetch current rates, historical data, and perform comparisons.
1. Fetching Available Symbols
To begin, developers can retrieve a list of available rate symbols using the following endpoint:
GET /api/v1/symbols
This endpoint allows you to filter symbols by category, such as central bank or interbank rates. Here’s how to use it:
curl "https://interestratesapi.com/api/v1/symbols?category=interbank&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"count": 3,
"symbols": [
{
"symbol": "TONAR",
"name": "Tokyo Overnight Average Rate",
"category": "interbank",
"country_code": "JP",
"currency_code": "JPY",
"frequency": "daily",
"description": "The average rate at which banks lend to each other overnight in Japan."
}
]
}
2. Fetching Latest Rates
To get the latest values for TONAR and other benchmark rates, you can use the following endpoint:
GET /api/v1/latest
Here’s an example of how to fetch the latest rates for TONAR alongside several major central bank rates:
curl "https://interestratesapi.com/api/v1/latest?symbols=TONAR,FED_FUNDS,ECB_MRO,BOE_BANK_RATE,SNB_POLICY_RATE&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"date": "2026-07-19",
"base": "MIXED",
"rates": {
"TONAR": 5.33,
"FED_FUNDS": 4.75,
"ECB_MRO": 4.50,
"BOE_BANK_RATE": 4.25,
"SNB_POLICY_RATE": 1.50
},
"dates": {
"TONAR": "2026-07-19",
"FED_FUNDS": "2026-07-19",
"ECB_MRO": "2026-07-19",
"BOE_BANK_RATE": "2026-07-19",
"SNB_POLICY_RATE": "2026-07-19"
},
"currencies": {
"TONAR": "JPY",
"FED_FUNDS": "USD",
"ECB_MRO": "EUR",
"BOE_BANK_RATE": "GBP",
"SNB_POLICY_RATE": "CHF"
}
}
3. Historical Rate Data
To analyze trends over time, the historical endpoint allows you to fetch rates for specific dates:
GET /api/v1/historical
For example, to get the rate for TONAR on June 15, 2025:
curl "https://interestratesapi.com/api/v1/historical?date=2025-06-15&symbols=TONAR&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"date": "2025-06-15",
"base": "JPY",
"rates": {
"TONAR": 5.33
},
"currencies": {
"TONAR": "JPY"
}
}
4. Time Series Data
To visualize the trajectory of TONAR over a specified period, the time series endpoint can be utilized:
GET /api/v1/timeseries
For instance, to get the rates from July 19, 2025, to July 19, 2026:
curl "https://interestratesapi.com/api/v1/timeseries?start=2025-07-19&end=2026-07-19&symbols=TONAR&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"base": "JPY",
"start_date": "2025-07-19",
"end_date": "2026-07-19",
"rates": {
"TONAR": {
"2025-07-19": 5.33,
"2025-07-20": 5.35,
"2025-07-21": 5.30
}
},
"frequencies": {
"TONAR": "daily"
},
"currencies": {
"TONAR": "JPY"
}
}
5. Rate Fluctuation Analysis
Understanding how rates fluctuate over time can provide insights into market behavior. The fluctuation endpoint allows you to analyze changes over a specified period:
GET /api/v1/fluctuation
For example, to analyze the fluctuation of TONAR from July 19, 2025, to July 19, 2026:
curl "https://interestratesapi.com/api/v1/fluctuation?start=2025-07-19&end=2026-07-19&symbols=TONAR&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"rates": {
"TONAR": {
"start_date": "2025-07-19",
"end_date": "2026-07-19",
"start_value": 5.50,
"end_value": 5.33,
"change": -0.17,
"change_pct": -3.09,
"high": 5.50,
"low": 5.25
}
}
}
6. OHLC Data for Technical Analysis
For those interested in technical analysis, the OHLC (Open, High, Low, Close) endpoint provides candlestick data:
GET /api/v1/ohlc
To retrieve monthly OHLC data for TONAR:
curl "https://interestratesapi.com/api/v1/ohlc?symbols=TONAR&period=monthly&start=2025-07-19&end=2026-07-19&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"period": "monthly",
"start_date": "2025-07-19",
"end_date": "2026-07-19",
"rates": {
"TONAR": [
{
"period": "2025-07",
"open": 5.50,
"high": 5.55,
"low": 5.30,
"close": 5.33,
"data_points": 30
}
]
}
}
7. Loan Cost Comparison
To compare the cost of loans between different rates, the conversion endpoint can be used:
GET /api/v1/convert
For example, to compare the total interest cost of a loan at TONAR versus the ECB MRO rate:
curl "https://interestratesapi.com/api/v1/convert?from=TONAR&to=ECB_MRO&amount=100000&term_months=12&api_key=YOUR_KEY"
Example JSON response:
{
"success": true,
"amount": 100000,
"term_months": 12,
"from": {
"symbol": "TONAR",
"rate": 5.33,
"date": "2026-07-19",
"total_interest": 5330.00,
"total_payment": 105330.00
},
"to": {
"symbol": "ECB_MRO",
"rate": 4.50,
"date": "2026-07-19",
"total_interest": 4500.00,
"total_payment": 104500.00
},
"difference": {
"rate_spread": 0.83,
"interest_saved": 830.00
}
}
Analyzing the Spread Between TONAR and Other Rates
The spread between TONAR and other benchmark rates can provide valuable insights into market sentiment and economic conditions. A wider spread may indicate a divergence in monetary policy or economic outlook between Japan and other regions. For instance, if TONAR is significantly higher than the ECB MRO rate, it may suggest that the Bank of Japan is pursuing a more aggressive monetary policy compared to the European Central Bank.
Understanding these dynamics is crucial for developers building fintech applications that rely on accurate interest rate data for pricing, risk assessment, and investment strategies.
Conclusion
In conclusion, the Interest Rates API offers a powerful suite of tools for accessing and analyzing interest rate data. By leveraging endpoints such as /latest, /historical, and /convert, developers can gain insights into the dynamics of TONAR and its relationship with other global rates. This knowledge is essential for making informed financial decisions and developing robust fintech applications.
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 data analysis capabilities.




