| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| appkey | string | 否 | 无 | 支持 JSON Body、Query、AppKey/X-GUGUDATA-APPKEY/X-API-Key Header 或 Bearer;同值允许,冲突返回 501。 AppKey 整体必填;在本操作已声明支持的鉴权位置任选一个提供,本位置无需重复填写。多处填写时须一致。 |
| symbol | string | 是 | 无 | 六位 A 股代码,可带 sh、sz、bj 前缀;大小写不敏感,不接受其他杂字符。 |
| startYear | string | 否 | 2020 | 字符串,默认 2020;1990 至北京时间当前年份,仅表示财务 指标起始年份。 |
| includeNews | boolean | 否 | true | JSON 布尔值,默认 true;是否包含近期新闻资料。 |
| includeFundFlow | boolean | 否 | true | JSON 布尔值,默认 true;是否包含资金流资料。 |
| language | string | 否 | zh-CN | 非空语言标记,默认 zh-CN;控制解读语言,不改变 JSON 字段。 |
| 字段 | 类型 | 说明 |
|---|---|---|
| DataStatus.RequestParameter | string | 本次实际业务请求参数,不包含鉴权凭据;Demo 展示对应样例输入。 |
| DataStatus.StatusCode | integer | 接口返回状态码。 |
| DataStatus.Status | string | 接口返回状态,例如 SUCCESS 或 ERROR。 |
| DataStatus.StatusDescription | string | 接口返回状态说明。 |
| DataStatus.ResponseDateTime | string | 接口数据返回时间。 |
| DataStatus.DataTotalCount | integer | 成功时为 1,失败时为 0。 |
| Data.stockProfile | object | 公司代码、名称及可获取的基础资料。 |
| Data.marketSnapshot | object | 近期行情区间及价格摘要;响应时间不是行情发生时间。 |
| Data.financialMetrics | object | 有效财务指标及各自报告日期;保留合法零值与缺失值。 |
| Data.financialStatements | object | 资产负债表、利润表、现金流量表摘要及各自报告日期。 |
| Data.fundFlow | object | 资金流数据摘要。 |
| Data.newsEvidence | object | 相关新闻证据列表。 |
| Data.computedSignals | object | 根据原始数据计算得到的辅助信号。 |
| Data.aiAnalysis | object | 主要发现、数据依据、风险提示及分析局限;不构成投资建议。 |
| Data.complianceNotice | string | 合规提示。 |
| Data.dataAvailability | object | 公司、财务指标及三张报表有效时才成功;可选资料缺失标记为部分可用。 |
| 业务状态码 | 业务状态码解释 | 备注 |
|---|---|---|
| 100 | 成功 | HTTP 200 |
| 501 | 参数错误 | HTTP 400 |
| 502 | 请求频率受限 | HTTP 429 |
| 503 | 订单到期 | HTTP 403 |
| 504 | APPKEY 缺失或无效 | HTTP 401 |
| 505 | 额度耗尽 | HTTP 403 |
| 900 | 内部错误 | HTTP 500 |
| 901 | 财报资料或分析暂时不可用 | HTTP 503 |
{
"symbol": "600519",
"startYear": "2020",
"includeNews": true,
"includeFundFlow": true,
"language": "zh-CN"
}curl --location 'https://api.gugudata.com/ai/stock-financial-report-analysis' \
--header 'X-GUGUDATA-APPKEY: 请前往 https://www.gugudata.com 购买' \
--header 'Content-Type: application/json' \
--data '{
"symbol": "600519",
"startYear": "2020",
"includeNews": true,
"includeFundFlow": true,
"language": "zh-CN"
}'{
"DataStatus": {
"ResponseDateTime": "string",
"DataTotalCount": 1,
"RequestParameter": "string",
"StatusDescription": "string",
"StatusCode": 100
},
"Data": {
"complianceNotice": "string",
"computedSignals": {
"market": {
"message": "string",
"status": "string",
"value": 0,
"field": "string"
},
"growth": {
"message": "string",
"status": "string",
"value": 0,
"field": "string"
},
"news": {
"message": "string",
"count": 0,
"status": "string"
},
"profitability": {
"message": "string",
"status": "string",
"value": 0,
"field": "string"
},
"fundFlow": {
"message": "string",
"value": 0,
"field": "string",
"status": "string",
"rank": {
"indicator": "string",
"rank": 0,
"stockName": "string",
"latest": 0,
"changePercent": 0,
"mainNetInflowAmount": 0
}
},
"dataQuality": {
"message": "string",
"status": "string",
"missingSections": [
"string"
]
},
"cashFlow": {
"message": "string",
"status": "string",
"value": 0,
"field": "string"
},
"debt": {
"message": "string",
"status": "string",
"value": 0,
"field": "string"
}
},
"aiAnalysis": {
"riskWarnings": [
{
"evidence": "string",
"riskType": "string",
"explanation": "string"
}
],
"summary": "string",
"dataLimitations": [
"string"
],
"modelStatus": "string",
"keyFindings": [
{
"evidence": "string",
"topic": "string",
"interpretation": "string"
}
]
},
"marketSnapshot": {
"totalTradingVolume": 0,
"averageTurnoverRate": 0,
"latestClose": 0,
"recentRows": [
{
"close": 0,
"changePercent": 0,
"turnoverRate": 0,
"date": "string",
"tradingVolume": 0,
"open": 0,
"tradingAmount": 0,
"high": 0,
"low": 0
}
],
"highest": 0,
"lowest": 0,
"rangeEnd": "string",
"rangeStart": "string",
"periodChangePercent": 0
},
"fundFlow": {
"totalMainNetInflowAmount": 0,
"latest": {
"close": 0,
"changePercent": 0,
"mainNetInflowAmount": 0,
"mainNetInflowRatio": 0,
"largeNetInflowAmount": 0,
"mediumNetInflowAmount": 0,
"smallNetInflowAmount": 0,
"date": "string"
},
"enabled": true,
"recentRows": [
{
"close": 0,
"changePercent": 0,
"mediumNetInflowAmount": 0,
"mainNetInflowAmount": 0,
"mainNetInflowRatio": 0,
"smallNetInflowAmount": 0,
"largeNetInflowAmount": 0,
"date": "string"
}
],
"rank": {
"indicator": "string",
"rank": 0,
"stockName": "string",
"latest": 0,
"changePercent": 0,
"mainNetInflowAmount": 0
}
},
"financialStatements": {
"现金流量表": {
"latestReportDate": "string",
"rowCount": 0,
"recentRows": [
{
"property1": "string",
"property2": "string"
}
],
"availableFields": [
"string"
]
},
"资产负债表": {
"latestReportDate": "string",
"rowCount": 0,
"recentRows": [
{
"property1": "string",
"property2": "string"
}
],
"availableFields": [
"string"
]
},
"利润表": {
"latestReportDate": "string",
"rowCount": 0,
"recentRows": [
{
"property1": "string",
"property2": "string"
}
],
"availableFields": [
"string"
]
}
},
"stockProfile": {
"circulationStock": 0,
"listingTime": "string",
"totalValue": 0,
"circulationMarketValue": 0,
"stockName": "string",
"symbol": "string",
"industry": "string",
"generalCapital": 0
},
"financialMetrics": {
"rawMetricCount": 0,
"latestReportDate": "string",
"recentMetrics": [
{
"property1": "string",
"property2": "string"
}
],
"selectedMetrics": {
"property1": "string",
"property2": "string"
}
},
"newsEvidence": {
"enabled": true,
"items": [
{
"summary": "string",
"title": "string",
"publishTime": "string"
}
]
},
"dataAvailability": {
"message": "string",
"sections": {
"fundFlow": true,
"financialStatements": true,
"stockProfile": true,
"financialMetrics": true,
"newsEvidence": true,
"marketSnapshot": true
},
"status": "complete",
"unavailableSections": [
"string"
]
}
}
}
咕咕数据微信客服
在这里,获得咕咕数据使用上的任何帮助,商用合规的功能型与数据型 API,加速您的业务构建。

扫码咨询客服