实时热搜
根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。
查询热搜榜单,通过 params.type 指定雪球、通达信、同花顺、东方财富等榜单类型;可选按交易日查询历史。字段说明:不传 params.tradedate 时返回最新缓存,默认 fields 为 s,n,pc;传 params.tradedate 时返回日度历史,默认 fields 为 s,rank,tradedate,type。s=股票代码,n=股票名称,pc=涨跌幅,rank=榜单排名,tradedate=交易日,type=榜单类型。日度历史不支持 name/pct_chg/raw。最新缓存示例:{"apiname":"hotstock","fields":"s,n,pc","params":{"type":"tdx&resou"}}。
接口名称 hotstock
请求方法 POST /api
- https://sz.meoz.cn:6688
- https://sh.meoz.cn:6688
返回字段
| 字段 | 名称 | 类型 | 描述 | 单位 |
|---|---|---|---|---|
| s | 股票代码 | string | 实时模式和历史模式均返回的 6 位股票代码。 | |
| n | 股票名称 | string|null | 仅不传 tradedate 的实时模式返回。 | |
| pc | 涨跌幅(%) | number|null | 仅不传 tradedate 的实时模式返回。 | |
| rank | 榜单排名 | integer | 仅传 tradedate 的历史模式返回;榜单名次从 1 开始。 | |
| tradedate | 交易日期 | string | 仅传 tradedate 的历史模式返回,日期格式:YYYYMMDD。 | |
| type | 榜单类型 | string | 仅传 tradedate 的历史模式返回;与请求 params.type 一致。 |
请求
{"content":{"application/json":{"example":{"apikey":"","apiname":"hotstock","fields":"s,rank,tradedate,type","params":{"tradedate":"20260611","type":"xq&resou"}},"schema":{"properties":{"apikey":{"default":"","description":"浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。","type":"string"},"apiname":{"default":"hotstock","description":"接口名称","enum":["hotstock"],"type":"string"},"fields":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"s,rank,tradedate,type","description":"| 字段 | 类型 | 名称 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `s` | `string` | 股票代码 | `000001` | 实时模式和历史模式均返回的 6 位股票代码。 |\n| `n` | `string\\|null` | 股票名称 | `平安银行` | 仅不传 tradedate 的实时模式返回。 |\n| `pc` | `number\\|null` | 涨跌幅(%) | `2.35` | 仅不传 tradedate 的实时模式返回。 |\n| `rank` | `integer` | 榜单排名 | `1` | 仅传 tradedate 的历史模式返回;榜单名次从 1 开始。 |\n| `tradedate` | `string` | 交易日期 | `20260611` | 日期格式:YYYYMMDD。 |\n| `type` | `string` | 榜单类型 | `xq&resou` | 仅传 tradedate 的历史模式返回;与请求 params.type 一致。 |"},"params":{"additionalProperties":false,"default":{"tradedate":"20260611","type":"xq&resou"},"description":"| 参数 | 类型 | 是否必选 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `type` | `string` | 必选 | `xq&resou` | 热搜类型。支持 ths&normal=同花顺&热股&大家都在看;ths&skyrocket=同花顺&热股&快速飙升中;ths&tech=同花顺&热股&技术交易派;ths&value=同花顺&热股&价值投资派;ths&trend=同花顺&热股&趋势投资派;xq&biaos=雪球&飙升榜;xq&repin=雪球&热评榜;xq&zixuan=雪球&自选榜;xq&zuhe=雪球&组合热股榜;xq&resou=雪球&热搜榜;tdx&resou=通达信&热搜榜;tdx&biaos=通达信&飙升榜;tdx&zuori=通达信&昨日榜;dfcf&biaos=东方财富&飙升榜;dfcf&renqi=东方财富&人气榜。 |\n| `tradedate` | `string` | 可选 | `20260611` | 可选交易日期,格式:YYYYMMDD;不传时返回最新缓存。 |","properties":{"tradedate":{"description":"可选交易日期,格式:YYYYMMDD;不传时返回最新缓存。","example":"20260611","pattern":"^\\d{8}$","type":"string"},"type":{"description":"热搜类型。支持 ths&normal=同花顺&热股&大家都在看;ths&skyrocket=同花顺&热股&快速飙升中;ths&tech=同花顺&热股&技术交易派;ths&value=同花顺&热股&价值投资派;ths&trend=同花顺&热股&趋势投资派;xq&biaos=雪球&飙升榜;xq&repin=雪球&热评榜;xq&zixuan=雪球&自选榜;xq&zuhe=雪球&组合热股榜;xq&resou=雪球&热搜榜;tdx&resou=通达信&热搜榜;tdx&biaos=通达信&飙升榜;tdx&zuori=通达信&昨日榜;dfcf&biaos=东方财富&飙升榜;dfcf&renqi=东方财富&人气榜。","enum":["ths&normal","ths&skyrocket","ths&tech","ths&value","ths&trend","xq&biaos","xq&repin","xq&zixuan","xq&zuhe","xq&resou","tdx&resou","tdx&biaos","tdx&zuori","dfcf&biaos","dfcf&renqi"],"example":"xq&resou","type":"string"}},"required":["type"],"type":"object"}},"required":["apikey","apiname","params"],"type":"object"}}},"description":"| 参数 | 类型 | 是否必选 | 固定值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `apiname` | `string` | 必选 | `hotstock` | 接口名称 |\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":["s","rank","tradedate","type"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条记录","example":[["000001",1,"20260611","xq&resou"]],"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"}}}}}