基金财务数据
以下接口均使用完整 thscode 唯一定位基金,返回统一 { timestamp, item[] } 数据容器,timestamp 为接口响应时间戳。
通用约定
- Base URL:
https://fuyao.aicubes.cn。 - 必需请求头:
X-api-key;认证与权限错误通过业务code表达。 - 本页接口返回统一
ApiResponse信封;时间戳均为毫秒级 Unix 时间戳,时区按Asia/Shanghai。 thscode是基金唯一标识,必须保留市场后缀。未披露字段保持null,不补零。
通用请求参数
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
thscode | string | 是 | — | 完整基金 thscode,必须保留市场后缀。 |
基金财务指标
GET /api/fund/financials/indicators
MCP Tool:get_fund_financials_indicators
请求参数
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
thscode | string | 是 | — | 完整基金 thscode,必须保留市场后缀。 |
请求示例
curl 'https://fuyao.aicubes.cn/api/fund/financials/indicators?thscode=510300.SH' \
-H 'X-api-key: <your-api-key>'
响应示例
{
"code": 0,
"message": "success",
"request_id": "8e6d6e85c99447a2ae89e87b98aa9e7e",
"data": {
"timestamp": 1786690800000,
"item": [
{
"start_date_ms": 1751328000000,
"end_date_ms": 1759190400000,
"publish_date_ms": 1760054400000,
"distribution_profit": 1250000000.5,
"current_profit": 1180000000.2,
"share_nav": 4.753,
"nav_rate": 3.21
}
]
}
}
返回字段
data.timestamp 为接口响应时间戳;data.item[] 字段:
| 字段 | 类型 | 说明 |
|---|---|---|
start_date_ms | long | 报告期开始日期,Unix毫秒时间戳。 |
end_date_ms | long | 报告期结束日期,Unix毫秒时间戳。 |
publish_date_ms | long | 发布日期,Unix毫秒时间戳。 |
distribution_profit | number | 可分配利润。 |
current_profit | number | 本期利润。 |
current_income | number | 本期收入。 |
distribution_share_profit | number | 每份可分配利润。 |
average_nav_profit_margin | number | 平均净值利润率。 |
average_share_current_profit | number | 平均每份本期利润。 |
share_nav | number | 单位净值。 |
sum_share_nav | number | 累计单位净值。 |
asset_nav | number | 基金资产净值。 |
sum_nav_rate | number | 累计净值增长率。 |
nav_rate | number | 净值增长率。 |
基金利润表
GET /api/fund/financials/income-statements
MCP Tool:get_fund_financials_income_statements
请求参数
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
thscode | string | 是 | — | 完整基金 thscode,必须保留市场后缀。 |
请求示例
curl 'https://fuyao.aicubes.cn/api/fund/financials/income-statements?thscode=510300.SH' \
-H 'X-api-key: <your-api-key>'
响应示例
{
"code": 0,
"message": "success",
"request_id": "5bbd57b24cdd41c9b30f50ca5a57df6c",
"data": {
"timestamp": 1786690800000,
"item": [
{
"start_date_ms": 1751328000000,
"end_date_ms": 1759190400000,
"publish_date_ms": 1760054400000,
"total_income": 1680000000.2,
"total_fee": 320000000.4,
"total_profit": 1360000000.8,
"net_profit": 1360000000.8
}
]
}
}
返回字段
data.timestamp 为接口响应时间戳;data.item[] 字段:
| 字段 | 类型 | 说明 |
|---|---|---|
start_date_ms | long | 报告期开始日期,Unix毫秒时间戳。 |
end_date_ms | long | 报告期结束日期,Unix毫秒时间戳。 |
publish_date_ms | long | 发布日期,Unix毫秒时间戳。 |
income | number | 收入。 |
total_income | number | 收入合计。 |
investment_income | number | 投资收益。 |
stock_investment_income | number | 股票投资收益。 |
bond_investment_income | number | 债券投资收益。 |
fund_investment_income | number | 基金投资收益。 |
dividend_income | number | 股利收入。 |
interest_income | number | 利息收入。 |
fair_value_income | number | 公允价值变动收益。 |
exchange_income | number | 汇兑收益。 |
other_income | number | 其他收入。 |
fee | number | 费用。 |
total_fee | number | 费用合计。 |
manager_reward | number | 管理人报酬。 |
custodian_fee | number | 托管费。 |
transaction_cost | number | 交易成本。 |
tax_surcharge | number | 税费。 |
total_profit | number | 利润总额。 |
net_profit | number | 净利润。 |
基金资产负债表
GET /api/fund/financials/balance-sheets
MCP Tool:get_fund_financials_balance_sheets
请求参数
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
thscode | string | 是 | — | 完整基金 thscode,必须保留市场后缀。 |
请求示例
curl 'https://fuyao.aicubes.cn/api/fund/financials/balance-sheets?thscode=510300.SH' \
-H 'X-api-key: <your-api-key>'
响应示例
{
"code": 0,
"message": "success",
"request_id": "aaf01838ef4e44eda1a89a8a750f6fb1",
"data": {
"timestamp": 1786690800000,
"item": [
{
"start_date_ms": 1751328000000,
"end_date_ms": 1759190400000,
"publish_date_ms": 1760054400000,
"total_assets": 168000000000.0,
"total_liability": 1200000000.0,
"owner_total_equity": 166800000000.0,
"liability_and_owner_equity": 168000000000.0
}
]
}
}
返回字段
data.timestamp 为接口响应时间戳;data.item[] 字段:
| 字段 | 类型 | 说明 |
|---|---|---|
start_date_ms | long | 报告期开始日期,Unix毫秒时间戳。 |
end_date_ms | long | 报告期结束日期,Unix毫秒时间戳。 |
publish_date_ms | long | 发布日期,Unix毫秒时间戳。 |
total_assets | number | 资产总计。 |
bank_deposit | number | 银行存款。 |
fund_investment | number | 基金投资。 |
stock_investment | number | 股票投资。 |
bond_investment | number | 债券投资。 |
transactional_financial_assets | number | 交易性金融资产。 |
other_assets | number | 其他资产。 |
total_liability | number | 负债合计。 |
other_liability | number | 其他负债。 |
owner_total_equity | number | 所有者权益合计。 |
undistributed_profit | number | 未分配利润。 |
liability_and_owner_equity | number | 负债和所有者权益总计。 |
通用鉴权与错误码参见基金 API 总览。