LIBOR API
The LIBOR API provides historical LIBOR (London Interbank Offered Rate) data for all tenors from overnight to 12 months. LIBOR is a key benchmark interest rate at which major global banks lend to one another.
Available endpoints:
- /v1/liborhistorical - Get historical LIBOR rates for a specified tenor
Need Euribor, SONIA, TONAR, central bank rates, or other interest rates? Use the Interest Rate API.
From 7,825 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 219ms | 257ms | 276ms | 447ms | 1045ms |
Didn't find what you were looking for? Suggest an improvement
/v1/liborhistorical GET
Business and Professional tier only
https://api.api-ninjas.com/v1/liborhistorical
Returns historical LIBOR rates for a specified tenor. You can specify a time range to retrieve data from. The maximum number of data points returned per API call is 100.
Parameters
typerequiredTenor of the LIBOR rate. Must be one of:
overnight1_month3_months6_months12_monthsstart_timeoptionalStart time for the data range, specified as a UNIX timestamp in seconds.
end_timeoptionalEnd time for the data range, specified as a UNIX timestamp in seconds.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object containing:
nameThe name of the LIBOR rate (e.g., "USD LIBOR - 3 months").
dataArray of historical rate data objects, each containing:
timestampUNIX timestamp in seconds.
rate_pctInterest rate as a percentage.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/liborhistorical?type=3_monthsHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Frequently Asked Questions
Can I use the LIBOR API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the LIBOR 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 LIBOR 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 LIBOR 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 endpoint does the LIBOR API provide?
LIBOR stopped being published on September 30, 2024, so the API provides a single endpoint,/v1/liborhistorical, which returns the historical time series for a given tenor. The former current-rates endpoint has been retired; see the full API list for related rates.How do I retrieve the historical rates for a specific tenor?
Call/v1/liborhistoricalwith the requiredtypeparameter set to one ofovernight,1_month,3_months,6_months, or12_months, and optionally narrow the range with thestart_timeandend_timeUNIX timestamps (in seconds). A maximum of 100 data points is returned per call; access requires the Business or Professional tier, which you can review on the pricing page.What fields are included in the response?
The/v1/liborhistoricalendpoint returns anameplus adataarray of objects, each containing atimestampandrate_pct(the rate in percent). For other benchmarks see the Interest Rate API.What are some use cases for the LIBOR API?
It is useful for backtesting and analyzing loan, derivative, and bond pricing tied to LIBOR, building historical interest-rate charts, and reconciling legacy contracts that referenced the benchmark before it was discontinued. You can combine it with the Mortgage Rate API or Exchange Rate API for broader financial modeling.