停牌复牌
根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。
查询股票停牌和复牌记录,支持按日期区间、股票代码和停复牌类型过滤。
接口名称 suspend
请求方法 POST /api
- https://sz.meoz.cn:6688
- https://sh.meoz.cn:6688
返回字段
| 字段 | 名称 | 类型 | 描述 | 单位 |
|---|---|---|---|---|
| symbol | 股票代码 | string | 6 位股票代码。 | |
| tradedate | 交易日期 | string | 日期格式:YYYYMMDD。 | |
| suspend_type | 停复牌类型 | string|null | S=停牌、R=复牌。 | |
| suspend_timing | 停复牌时段 | string|null | 停牌或复牌生效的交易时段。 |
请求
{"content":{"application/json":{"example":{"apikey":"","apiname":"suspend","fields":"symbol,tradedate,suspend_type,suspend_timing","params":{"enddate":"20260331","startdate":"20260301","suspend_type":"停牌","symbols":"000959,002231"}},"schema":{"properties":{"apikey":{"default":"","description":"浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。","type":"string"},"apiname":{"default":"suspend","description":"接口名称","enum":["suspend"],"type":"string"},"fields":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"symbol,tradedate,suspend_type,suspend_timing","description":"| 字段 | 类型 | 名称 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `symbol` | `string` | 股票代码 | `000959` | 6 位股票代码。 |\n| `tradedate` | `string` | 交易日期 | `20260312` | 日期格式:YYYYMMDD。 |\n| `suspend_type` | `string\\|null` | 停复牌类型 | `S` | S=停牌、R=复牌。 |\n| `suspend_timing` | `string\\|null` | 停复牌时段 | `09:30-10:15` | 停牌或复牌生效的交易时段。 |"},"params":{"additionalProperties":false,"default":{"enddate":"20260331","startdate":"20260301","suspend_type":"停牌","symbols":"000959,002231"},"description":"| 参数 | 类型 | 是否必选 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `symbols` | `string\\|array` | 可选 | `000001,600000` | 股票代码,支持单个、多个逗号分隔或数组;不传则默认全市场标的。 |\n| `startdate` | `string` | 可选 | `20260701` | 查询区间开始日期,格式:YYYYMMDD;仅传该参数时查询至最新交易日。 |\n| `enddate` | `string` | 可选 | `20260724` | 查询区间结束日期,格式:YYYYMMDD;仅传该参数时按该交易日查询。 |\n| `suspend_type` | `string\\|array` | 可选 | `停牌` | 停复牌类型,支持 S/R/停牌/复牌。 |","properties":{"enddate":{"description":"查询区间结束日期,格式:YYYYMMDD;仅传该参数时按该交易日查询。","example":"20260724","pattern":"^\\d{8}$","type":"string"},"startdate":{"description":"查询区间开始日期,格式:YYYYMMDD;仅传该参数时查询至最新交易日。","example":"20260701","pattern":"^\\d{8}$","type":"string"},"suspend_type":{"description":"停复牌类型,支持 S/R/停牌/复牌。","example":"停牌","oneOf":[{"description":"单个停复牌类型","enum":["S","R","停牌","复牌"],"type":"string"},{"description":"停复牌类型数组","items":{"enum":["S","R","停牌","复牌"],"type":"string"},"type":"array"}]},"symbols":{"description":"股票代码,支持单个、多个逗号分隔或数组;不传则默认全市场标的。","example":"000001,600000","oneOf":[{"description":"单个或多个逗号分隔股票代码","type":"string"},{"description":"股票代码数组","items":{"type":"string"},"type":"array"}]}},"type":"object"}},"required":["apikey","apiname"],"type":"object"}}},"description":"| 参数 | 类型 | 是否必选 | 固定值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `apiname` | `string` | 必选 | `suspend` | 接口名称 |\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":["symbol","tradedate","suspend_type","suspend_timing"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条记录","example":[["000959","20260312","S","09:30-10:15"]],"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"}}}}}