Skip to main content
GET
Interest Rates (Historical)

Overview

The Interest Rates API lets you pull the policy rate of 10 major central banks as a daily series: one row per calendar day, newest first, with a rate change appearing on the first day the new rate is in effect. We source our data from authoritative sources that compile each central bank’s official policy rate. The daily series is published once a week, so the newest day is typically two to nine days behind the calendar. For the Federal Reserve the rate is the midpoint of the target range (for example 3.875 for a 3.75 to 4.00 percent range). To get started, please create an account and grab your API key at financialdatasets.ai. You will use the API key to authenticate your API requests.

Coverage

Available Central Banks

You can fetch a list of available central banks with a GET request to: https://api.financialdatasets.ai/macro/interest-rates/banks/

Window and pagination

bank is required. start_date and end_date are optional and inclusive. With no dates the response covers the trailing five years; pass start_date to reach further back (for example start_date=1954-07-01 for the whole Federal Reserve series). Responses are paged at 10 rows, newest first. When more rows remain the response carries next_page_url; request it as-is to continue.

Getting Started

There are only 3 steps for making a successful API call:
  1. Add your API key to the header of the request as X-API-KEY.
  2. Add the bank parameter, which is required
  3. Execute the API request.

Example

Interest Rates

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Query Parameters

bank
string
required

The central bank code, e.g. FED, ECB, BOJ. Use the /macro/interest-rates/banks endpoint to get the list of available banks.

start_date
string

The first date to return, inclusive, in YYYY-MM-DD format. Defaults to five years before end_date when both dates are omitted; omit it with an end_date to get all available history through that date.

end_date
string

The last date to return, inclusive, in YYYY-MM-DD format. Defaults to today.

cursor
string

Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.

Response

Interest rates response

interest_rates
object[]
next_page_url
string

History only. Absolute URL of the next page of results. Present only when more rows remain; request it as-is to continue. Each page holds up to 10 rows.