基础信息
根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。
查询指数基础信息,支持按指数代码、关键词、市场、发布方和指数分类过滤。
接口名称 indexbasic
请求方法 POST /api
- https://sz.meoz.cn:6688
- https://sh.meoz.cn:6688
返回字段
| 字段 | 名称 | 类型 | 描述 | 单位 |
|---|---|---|---|---|
| code | 完整指数代码 | string | 包含市场后缀的指数代码。 | |
| symbol | 指数代码 | string | 6 位指数代码。 | |
| name | 指数名称 | string | 指数简称。 | |
| fullname | 指数全称 | string|null | 指数完整名称。 | |
| market | 所属市场 | string | 指数所属市场或指数体系。 | |
| publisher | 发布机构 | string | 指数编制或发布机构。 | |
| index_type | 指数类型 | string|null | 数据源中的指数类型。 | |
| category | 指数分类 | string|null | 指数所属业务分类。 | |
| base_date | 基日 | string|null | 指数基准日期,格式:YYYYMMDD。 | |
| base_point | 基点 | number|null | 指数基准日期对应的基准点位。 | |
| list_date | 发布日期 | string|null | 指数发布或上市日期,格式:YYYYMMDD。 | |
| weight_rule | 加权方式 | string|null | 指数成份权重的计算方式。 | |
| desc | 指数说明 | string|null | 指数编制目标或业务说明。 | |
| exp_date | 终止日期 | string|null | 日期格式:YYYYMMDD;持续发布时返回 null。 |
请求
{"content":{"application/json":{"example":{"apikey":"","apiname":"indexbasic","fields":"code,symbol,name,fullname,market,publisher,index_type,category,base_date,base_point,list_date,weight_rule,desc,exp_date","params":{"symbols":"000300"}},"schema":{"properties":{"apikey":{"default":"","description":"浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。","type":"string"},"apiname":{"default":"indexbasic","description":"接口名称","enum":["indexbasic"],"type":"string"},"fields":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"code,symbol,name,fullname,market,publisher,index_type,category,base_date,base_point,list_date,weight_rule,desc,exp_date","description":"| 字段 | 类型 | 名称 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `code` | `string` | 完整指数代码 | `000300.SH` | 包含市场后缀的指数代码。 |\n| `symbol` | `string` | 指数代码 | `000300` | 6 位指数代码。 |\n| `name` | `string` | 指数名称 | `沪深300` | 指数简称。 |\n| `fullname` | `string\\|null` | 指数全称 | `沪深300指数` | 指数完整名称。 |\n| `market` | `string` | 所属市场 | `CSI` | 指数所属市场或指数体系。 |\n| `publisher` | `string` | 发布机构 | `中证指数有限公司` | 指数编制或发布机构。 |\n| `index_type` | `string\\|null` | 指数类型 | `综合指数` | 数据源中的指数类型。 |\n| `category` | `string\\|null` | 指数分类 | `规模指数` | 指数所属业务分类。 |\n| `base_date` | `string\\|null` | 基日 | `20041231` | 指数基准日期,格式:YYYYMMDD。 |\n| `base_point` | `number\\|null` | 基点 | `1000` | 指数基准日期对应的基准点位。 |\n| `list_date` | `string\\|null` | 发布日期 | `20050408` | 指数发布或上市日期,格式:YYYYMMDD。 |\n| `weight_rule` | `string\\|null` | 加权方式 | `自由流通市值加权` | 指数成份权重的计算方式。 |\n| `desc` | `string\\|null` | 指数说明 | `反映沪深市场大盘股整体表现` | 指数编制目标或业务说明。 |\n| `exp_date` | `string\\|null` | 终止日期 | `null` | 日期格式:YYYYMMDD;持续发布时返回 null。 |"},"params":{"default":{"symbols":"000300"},"description":"| 参数 | 类型 | 是否必选 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `symbols` | `string` | 可选 | `000001,399001,930050` | 指数代码,多个代码用英文逗号分隔。 |\n| `keyword` | `string` | 可选 | `中证` | 关键词,按指数代码、名称或全称检索。 |\n| `market` | `string` | 可选 | `SSE` | 市场类型。 |\n| `publisher` | `string` | 可选 | `中证指数有限公司` | 指数发布方。 |\n| `category` | `string` | 可选 | `规模指数` | 指数分类。 |","properties":{"category":{"description":"指数分类。","example":"规模指数","type":"string"},"keyword":{"description":"关键词,按指数代码、名称或全称检索。","example":"中证","type":"string"},"market":{"description":"市场类型。","example":"SSE","type":"string"},"publisher":{"description":"指数发布方。","example":"中证指数有限公司","type":"string"},"symbols":{"description":"指数代码,多个代码用英文逗号分隔。","example":"000001,399001,930050","type":"string"}},"type":"object"}},"required":["apikey","apiname"],"type":"object"}}},"description":"| 参数 | 类型 | 是否必选 | 固定值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `apiname` | `string` | 必选 | `indexbasic` | 接口名称 |\n| `apikey` | `string` | 必选 | [访问个人中心获取](/console) | 访问密钥 |","required":true}
响应
{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"业务状态码,200 表示成功","example":200,"type":"integer"},"data":{"description":"指数基础信息返回数据","nullable":true,"properties":{"fields":{"description":"返回字段名列表,顺序与 items 中每一列一一对应","example":["code","symbol","name","fullname","market","publisher","index_type","category","base_date","base_point","list_date","weight_rule","desc","exp_date"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条记录,列顺序与 fields 一一对应","example":[["000300.SH","000300","沪深300","沪深300指数","CSI","中证指数有限公司","综合指数","规模指数","20041231",1000,"20050408","自由流通市值加权","反映沪深市场大盘股整体表现",null]],"items":{"items":{},"type":"array"},"type":"array"}},"required":["fields","items"],"type":"object"},"message":{"description":"响应消息","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Successful Response"},"429":{"content":{"application/json":{"schema":{"properties":{"code":{"example":429,"type":"integer"},"data":{"example":null,"nullable":true},"message":{"example":"请求频率超限:daily_auc_detail 接口的调用上限为 3 次/秒,请降低该接口的调用频率,建议 1 秒后重试。","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"账户总调用频率或单个重接口调用频率超过当前套餐限额。","headers":{"Retry-After":{"description":"建议等待后重试的秒数。","schema":{"minimum":1,"type":"integer"}}}}}