データ API / Financial Data / Macro
Interest Rates (Historical)
One central bank's policy rate over time, as an interest_rates array of bank, name, date and rate. bank is required and bound by start_date and end_date. Trap worth knowing: the code is case-sensitive and must be uppercase — FED works, fed returns HTTP 404 with "No data found", which reads like an empty result rather than a bad argument. Valid codes are FED, ECB, BOJ, BOE, BOC, RBA, PBOC, SNB, RBI and BOK; get_financial_macro_interest_rates_snapshot with no arguments lists them all.
パラメータ
クエリ
bankstring必須指定できる値: FED · ECB · BOJ · BOE · BOC · RBA · PBOC · SNB · RBI · BOK
The bank whose interest rates to return. Use the /macro/interest-rates/banks endpoint to get a list of available banks. Case-sensitive: must be uppercase. A lowercase code returns HTTP 404 "No data found", which reads like an empty result rather than a bad argument.
start_datestring任意The start date of the interest rates to return in YYYY-MM-DD format.
end_datestring任意The end date of the interest rates to return in YYYY-MM-DD format.
リクエスト例
curl -G "https://openapi.felo.ai/v1/beta/financial/macro/interest-rates" \
--data-urlencode "bank=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"レスポンス
レスポンスのフィールド
interest_ratesobject[]任意bankstring任意The symbol of the central bank.
namestring任意The name of the central bank.
ratenumber任意The interest rate of the central bank.
datestring任意The date of the interest rate in YYYY-MM-DD format.