正在启动平台

基金估值跟踪fund

基金估值跟踪,一接口聚合「基金实时估值 / 指数行情 / 基金详情 / 全部常用指数批量」4 大功能,覆盖国内基金 + A 股核心指数。 基于天天基金、新浪财经、东方财富三路上游,无需注册即可调用: • action=estimate — 基金实时估值(盘中每分钟更新,含单位净值、估算净值、估算涨跌幅、上次净值日期) • action=index — 单个指数行情(新浪主、东方财富备双通道容灾,含当前点位、涨跌点、涨跌幅) • action=info — 基金详细信息(名称、净值、累计净值、近 1 月/3 月/6 月/1 年/3 年/成立来收益、基金类型、风险等级、规模、基金经理、成立日、管理人) • action=indices — 6 个常用指数批量(上证、深证成指、创业板、上证 50、沪深 300、中证 500) 本接口已修复源码中「新浪通道缺 sh/sz 前缀」的 bug,并优化了 HTML 爬虫的容错。

1. 基本信息

接口地址https://v1.apizero.cn/api/fund
请求方法GET
分类finance
提供方极数本源
计费模式免费试用
单次消耗0 积分
起步价
QPS 限制5 req/s
每日免费额度200 次(已认证用户)
匿名每日额度50 次(无 API Key)
VIP 免费
调用次数

2. 认证

匿名每日 50 次、QPS 2;登录用户每日 200 次、QPS 5(全部免费)。盘中数据已内置 30~60 秒缓存,info 详情缓存 6 小时。

获取 API Key:登录 https://apizero.cn/account/keys

3. 请求参数

参数名类型必填说明示例
actionstring操作类型:estimate=基金估值 / index=单个指数 / info=基金详情 / indices=全部常用指数estimate
codestring基金或指数代码(6 位数字);当 action 为 estimate/index/info 时必填,indices 时不需要005827

4. 请求头

Header类型必填说明示例
AuthorizationstringAPI Key 鉴权头,格式 Bearer sk_live_xxx;匿名调用时可省略(每日 50 次免费)Bearer sk_live_xxxxxxxxxxxxxx

5. 请求示例 (cURL)

curl "https://v1.apizero.cn/api/fund?action=estimate&code=005827&key=YOUR_API_KEY"

6. 响应字段

字段类型说明示例
actionstring回传的 action 标识(estimate/index/info/indices)
fund_codestring基金代码(estimate/info)
fund_namestring基金名称(estimate/info)
net_valuenumber单位净值(estimate/info)
estimatenumber估算净值(estimate;盘中每分钟更新)
change_ratenumber|string估算涨跌幅 % 或字符串带 % (estimate=number / index/info=string)
nav_datestring上次净值日期 YYYY-MM-DD(estimate)
update_timestring估值更新时间(estimate)
index_codestring指数代码(index)
index_namestring指数名称(index)
current_valuenumber当前点位(index)
change_amountnumber涨跌点(index)
sourcestring数据源:sina / eastmoney(index)
total_net_valuenumber累计净值(info)
return_1mstring近 1 月收益(info)
return_3mstring近 3 月收益(info)
return_6mstring近 6 月收益(info)
return_1ystring近 1 年收益(info)
return_3ystring近 3 年收益(info)
return_totalstring成立来收益(info)
fund_typestring基金类型,如「混合型-偏股」(info)
risk_levelstring风险等级(info)
fund_scalestring基金规模,如「267.93亿元」(info)
fund_managerstring基金经理(info)
establish_datestring成立日期 YYYY-MM-DD(info)
companystring管理公司(info)
countnumber指数总数(indices;当前固定 6)
listarray指数列表(indices;元素结构同 index 返回)

7. 响应示例

{
    "code": 0,
    "msg": "成功",
    "data": {
        "action": "estimate",
        "fund_code": "005827",
        "fund_name": "易方达蓝筹精选混合",
        "nav_date": "2026-04-30",
        "net_value": 1.7393,
        "estimate": 1.727,
        "change_rate": -0.71,
        "update_time": "2026-05-06 15:00"
    },
    "request_id": "abc123def456"
}

8. 错误码

codestatus说明
4000参数错误:action 非法 / code 非 6 位数字 / 缺少必填参数等
4015匿名调用每日额度用完,需要 API Key
4029QPS 超限
4030今日额度用完
5020上游不可用 / 基金代码不存在 / 非交易时段无估值数据

9. 变更日志

  • 1.0.0(2026-05-06)
    • 首次上线,聚合基金估值/指数行情/基金详情/批量指数 4 个 action
    • 修复源码新浪通道缺 sh/sz 前缀的 bug(创业板等深证指数原本无法走主通道)
    • 修复 HTML 爬虫的成立日 + 管理人 regex(源码 regex 不识别 </span> 拦截)
    • 内建分级缓存:实时数据 30-60 秒、详情 6 小时
    • 上游异常时单个指数失败不阻塞批量返回(indices)