LIBOR API
The LIBOR API provides current and 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.
Rates are updated daily during London business days.
Available endpoints:
- /v1/libor - Get current LIBOR rates for all tenors
- /v1/liborhistorical - Get historical LIBOR rates for a specified tenor
Looking for current and historical EURIBOR data? Use the EURIBOR API.
Need other interest rates? Use the Interest Rate API.
Checking API status...
/v1/libor GET premium only
https://api.api-ninjas.com/v1/libor
Get current LIBOR rates for all tenors.
Note: LIBOR rates have stopped being published as of September 30, 2024. You can still call the /v1/liborhistorical endpoint to retrieve historical data.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Sample Request Live Demo!
https://api.api-ninjas.com/v1/liborHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[
{
"name": "LIBOR - Overnight",
"rate_pct": 5.342,
"last_updated": "02-28-2025"
},
{
"name": "LIBOR - 1 week",
"rate_pct": 5.407,
"last_updated": "02-28-2025"
},
{
"name": "LIBOR - 1 month",
"rate_pct": 5.463,
"last_updated": "02-28-2025"
},
{
"name": "LIBOR - 3 months",
"rate_pct": 5.564,
"last_updated": "02-28-2025"
},
{
"name": "LIBOR - 6 months",
"rate_pct": 5.655,
"last_updated": "02-28-2025"
},
{
"name": "LIBOR - 12 months",
"rate_pct": 5.794,
"last_updated": "02-28-2025"
}
]Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/libor?date=2024-01-15" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/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_week1_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.
Sample Request
https://api.api-ninjas.com/v1/liborhistoricalSample Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "LIBOR - 3 months",
"data": [
{
"timestamp": 915148800,
"rate_pct": 6.245
},
{
"timestamp": 915408000,
"rate_pct": 6.234
},
{
"timestamp": 915494400,
"rate_pct": 6.222
},
...
]
}