数据 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.