€STR API
The euro short-term rate (€STR, also written ESTR or ESTER) reflects the cost of unsecured overnight borrowing in euros for banks in the euro area. It is the euro area's risk-free rate, used in euro swaps, derivatives and a growing share of loans and bonds.
With the Interest Rate API you can:
- Get the latest €STR value and the date it applies to
- Download daily €STR history since October 2019
- Use the same two endpoints for central bank rates and other benchmarks
From 3,856 users
Application used this API in the last 28 days.
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 328ms | 370ms | 381ms | 718ms | 999ms |
Didn't find what you were looking for? Suggest an improvement
€STR at a glance
| Full name | Euro Short-Term Rate |
|---|---|
| Currency | Euro (EUR) |
| Administrator | European Central Bank |
| Published | Each TARGET2 business day, for the previous business day |
| Daily history | Since October 2019 |
| Rate code | ester |
/v2/interestrate GET Premium only
https://api.api-ninjas.com/v2/interestrate
Returns the latest €STR value and the date it applies to.
Parameters
raterequiredUse
esterfor €STR. See the full list of supported rates.
Headers
X-Api-KeyAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
rate_nameThe name of the rate (e.g.
ESTER).rate_pctThe rate as a percentage.
last_updatedThe date the rate applies to.
Live Demo
Code Examples
curl -X GET "https://api.api-ninjas.com/v2/interestrate?rate=ester" \
-H "X-Api-Key: YOUR_API_KEY"/v2/interestratehistorical GET Premium only
https://api.api-ninjas.com/v2/interestratehistorical
Returns daily €STR values, oldest first, up to 100 per call. When there is more data in the range, the response includes a next cursor: pass it back as the page parameter to get the following page.
Parameters
raterequiredUse
esterfor €STR.start_dateoptionalStart date for the data range (inclusive) in
YYYY-MM-DDformat, e.g.2026-11-10. Dates are in UTC.end_dateoptionalEnd date for the data range (inclusive) in
YYYY-MM-DDformat. Dates are in UTC.start_timeoptionalStart of the data range as a UNIX timestamp in seconds. Alternative to
start_date; do not set both.end_timeoptionalEnd of the data range as a UNIX timestamp in seconds. Alternative to
end_date; do not set both.pageoptionalPagination cursor. Pass the
nextvalue from a previous response to get the following page.
Headers
X-Api-KeyAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
nameThe name of the rate (e.g.
ESTER).dataArray of daily data points, oldest first, each with
timestamp(UNIX timestamp in seconds),date(the date the rate applies to,YYYY-MM-DD) andrate_pct(the rate as a percentage).nextCursor for the next page of data points, or
nullwhen there are no more.
Live Demo
Code Examples
curl -X GET "https://api.api-ninjas.com/v2/interestratehistorical?rate=ester&start_date=2026-11-10" \
-H "X-Api-Key: YOUR_API_KEY"About €STR
The €STR is calculated by the European Central Bank from transaction data that large euro area banks report every day. It is published each TARGET2 business day for the previous business day.
The €STR was first published in October 2019, for trades on 1 October 2019, and it replaced EONIA, the older euro overnight index, which was discontinued in January 2022.
It is the standard rate for euro overnight index swaps and for interest on cash collateral, and it is the fallback rate written into many euro-denominated contracts.
Common uses
- Value euro overnight index swaps and other euro derivatives
- Calculate interest on euro cash collateral and margin
- Price euro loans and bonds that reference compounded €STR
- Track euro area funding costs in treasury and cash management tools
Related
- European Central Bank interest rate — the policy rate, current and historical
- SOFR API — Secured Overnight Financing Rate
- EFFR API — Effective Federal Funds Rate
- CORRA API — Canadian Overnight Repo Rate Average
- Interest Rate API — central bank and benchmark rates
- Treasury Yield API — the US Treasury yield curve
Frequently Asked Questions
Can I use the Interest Rate API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Interest Rate API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Interest Rate API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Interest Rate API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.What rates can I retrieve with the Interest Rate API?
The API covers current central bank policy rates for 22 countries plus major benchmark and prime rates, including SOFR, EURIBOR, ESTER, SONIA, SARON, TONAR, CORRA, EFFR, and Livret A, all queried via therateparameter on the/v2/interestrateendpoint. For LIBOR-specific tooling see the LIBOR API, and explore the full API catalog for related finance data.What does the /v2/interestrate response include?
A request to/v2/interestratereturns a JSON object withrate_name(the name of the rate),rate_pct(the rate value as a percentage), andlast_updated(the date the rate was last refreshed in MM-DD-YYYY format). See error codes for the response when a request is unsuccessful.How do I get historical interest rate data?
Use the/v2/interestratehistoricalendpoint with the samerateparameter plus an optional date range, eitherstart_dateandend_dateinYYYY-MM-DDformat orstart_timeandend_timeUNIX timestamps (in seconds); it returns up to 100 data points per call as adataarray of objects withtimestamp,date(YYYY-MM-DD) andrate_pct. Both endpoints are Premium only, so check our pricing page for access details.How fresh is the data and what can I build with it?
Rates are refreshed every 4 hours, making the API suitable for finance dashboards, mortgage and loan calculators, and macroeconomic monitoring tools. Pair it with the Mortgage Rate API, Inflation API, or Exchange Rate API for richer financial applications.
Explore API integration use cases for recommended APIs and workflow examples.