NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server

LIBOR API

LIBOR rates have been discontinued. Publication stopped on September 30, 2024. Use the /v1/liborhistorical endpoint to retrieve historical data.

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:

Need Euribor, SONIA, TONAR, central bank rates, or other interest rates? Use the Interest Rate API.

(4.4)

From 7,825 users

2,000+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
219ms257ms276ms447ms1045ms

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

  • type  required

    Tenor of the LIBOR rate. Must be one of:

    overnight
    1_month
    3_months
    6_months
    12_months
  • start_time  optional

    Start time for the data range, specified as a UNIX timestamp in seconds.

  • end_time  optional

    End time for the data range, specified as a UNIX timestamp in seconds.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object containing:

  • name

    The name of the LIBOR rate (e.g., "USD LIBOR - 3 months").

  • data

    Array of historical rate data objects, each containing:

    • timestamp

      UNIX timestamp in seconds.

    • rate_pct

      Interest rate as a percentage.

Sample Request Live Demo!

type
start_time
end_time

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_months

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    name:"USD LIBOR - 3 months",
    data:[
      {
        timestamp:915148800,
        rate_pct:6.245
      },
      {
        timestamp:915408000,
        rate_pct:6.234
      },
      {
        timestamp:915494400,
        rate_pct:6.222
      },
      "..."
    ]
}

Frequently Asked Questions

  • 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.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • 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.
  • 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.
  • 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.
  • Call /v1/liborhistorical with the required type parameter set to one of overnight, 1_month, 3_months, 6_months, or 12_months, and optionally narrow the range with the start_time and end_time UNIX 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.
  • The /v1/liborhistorical endpoint returns a name plus a data array of objects, each containing a timestamp and rate_pct (the rate in percent). For other benchmarks see the Interest Rate 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.