{
"service": "x-quote.cls.cn",
"page": "https://www.cls.cn/stock/sh600519",
"title": "个股关联板块 (Stock Assoc Plate)",
"summary": "给定个股,返回它所属的全部板块/题材(实测约 12 个),每个板块还带该板块的领涨股。是『个股 → 题材』的反查。",
"method": "GET",
"endpoint": "https://x-quote.cls.cn/web_quote/stock/assoc_plate",
"signing": {
"required": true,
"algorithm": "sign = md5( sha1( urlencode(sorted(params)) ) ),params 先并入固定三件套",
"fixed_params": {
"app": "CailianpressWeb",
"os": "web",
"sv": "8.4.6"
},
"python": "import hashlib,urllib.parse\np=dict(params); p.update({'app':'CailianpressWeb','os':'web','sv':'8.4.6'})\nqs=urllib.parse.urlencode(sorted(p.items()))\nsign=hashlib.md5(hashlib.sha1(qs.encode()).hexdigest().encode()).hexdigest()\nurl=f'{endpoint}?{qs}&sign={sign}'"
},
"params": {
"secu_code": {
"type": "string",
"required": true,
"description": "个股代码",
"example": "sh600519"
}
},
"response": {
"envelope": "{ code:200, data:[...] }",
"item_fields": {
"secu_code": "板块代码 cls8xxxx",
"secu_name": "板块名",
"change": "板块涨跌幅",
"up_stock": "该板块领涨股数组"
}
},
"example_call": "见 signing.python,params={'secu_code':'sh600519'}",
"related_maps": [
"x-quote.cls.cn/web_quote/plate/stocks.json"
],
"caveats": [
"必须签名"
],
"confidence": 0.85,
"auto_discovered": true,
"last_verified": "2026-06-17"
}
给定个股,返回它所属的全部板块/题材(实测约 12 个),每个板块还带该板块的领涨股。是『个股 → 题材』的反查。
| Parameter | Description |
|---|---|
| secu_code | required 个股代码 e.g. sh600519 |