Skip to main content
GET
获取历史股票价格数据
某只股票的历史 OHLCV K 线。ticker、interval、start_date 和 end_date 四项均为必填——没有回溯窗口的简写方式。interval 取 day、week、month 或 year 之一。每根 K 线包含 open、close、high、low、volume 和 time,放在 prices 数组中,并附带回显的 ticker。适合用于绘图或衡量某个已知窗口内的涨跌。如果只需要最新价格,请使用 get_financial_prices_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.

查询参数

ticker
string
必填

股票代码(例如 AAPL、MSFT)。

interval
enum<string>
必填

价格数据的时间间隔。

可用选项:
day,
week,
month,
year
start_date
string<date>
必填

价格数据的开始日期(格式:YYYY-MM-DD)。

end_date
string<date>
必填

价格数据的结束日期(格式:YYYY-MM-DD)。

响应

价格数据响应

prices
object[]
next_page_url
string

下一页结果的 URL。