股票行业归属¶
本页定义目标 API,实际数据查询服务尚未实现。示例仅用于表达请求和响应格式。
数据产品标识:stock.industry_memberships
证券对象标识示例:000001.SZ
接口名称¶
获取股票行业归属
接口说明¶
股票在行业分类体系中的节点归属及其有效期;当前仅提供 XSHG、XSHE 的精确 as_of 快照。
请求参数¶
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
security_code |
string |
否 | 筛选一个或多个证券代码。 |
venue_mic |
string |
否 | 交易场所 MIC;当前只允许 XSHG 或 XSHE,BJSE 返回覆盖阻断。 |
as_of |
datetime |
否 | 精确快照时间;省略时读取当前快照,其他时间返回 snapshot_not_available。 |
返回字段¶
| 字段名 | 中文名称 | 类型 | 是否可空 | 字段说明 |
|---|---|---|---|---|
security_code |
证券代码 | string |
否 | 行业归属对应的证券代码。 |
classification_scheme |
分类体系 | string |
否 | GICS、ICB、申万或其他明确分类体系。 |
classification_version |
体系版本 | string |
是 | 分类体系的有效版本;来源无法证明版本时为空。 |
industry_code |
行业代码 | string |
否 | 分类体系内的行业代码。 |
industry_name |
行业名称 | string |
否 | 分类体系内的行业名称。 |
classification_level |
分类层级 | integer |
否 | 行业节点在分类体系内的层级。 |
effective_date |
生效日期 | date |
否 | 该行业归属开始生效的日期。 |
end_date |
结束日期 | date |
是 | 该行业归属结束生效的日期。 |
is_current |
是否当前归属 | boolean |
是 | 是否当前归属 |
请求示例¶
{
"dataset_id": "stock.industry_memberships",
"select": [
"security_code",
"classification_scheme",
"classification_version",
"industry_code",
"industry_name",
"classification_level",
"effective_date",
"end_date"
],
"where": [
{
"field": "security_code",
"op": "eq",
"value": "000001.SZ"
},
{
"field": "market",
"op": "eq",
"value": "CN"
},
{
"field": "effective_date",
"op": "gte",
"value": "2026-01-01"
},
{
"field": "effective_date",
"op": "lte",
"value": "2026-08-10"
}
],
"page": {
"limit": 1000,
"cursor": null
}
}
响应示例¶
{
"dataset_id": "stock.industry_memberships",
"fields": [
"security_code",
"classification_scheme",
"classification_version",
"industry_code",
"industry_name",
"classification_level",
"effective_date",
"end_date"
],
"data": [
{
"security_code": "000001.SZ",
"classification_scheme": "string",
"classification_version": "string",
"industry_code": "string",
"industry_name": "string",
"classification_level": 0,
"effective_date": "2026-08-10",
"end_date": "2026-08-10"
}
],
"page": {
"next_cursor": null,
"complete": true
}
}