Skip to main content
GET
Get Historical Interest Rates
某家央行随时间变化的政策利率,以 interest_rates 数组返回,包含 bank、name、date 和 rate。bank 为必填,并可用 start_date 和 end_date 限定范围。有个值得注意的坑:代码区分大小写且必须大写——FED 可用,fed 会返回 HTTP 404 和 “No data found”,看起来像是空结果,而不是参数错误。有效代码为 FED、ECB、BOJ、BOE、BOC、RBA、PBOC、SNB、RBI 和 BOK;不带参数调用 get_financial_macro_interest_rates_snapshot 会列出全部代码。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

bank
string
必填

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

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.

end_date
string

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

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.

响应

利率响应

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.