首页龙虾技能列表 › Lottery Drawing Inquiry - 彩票开奖查询 — 技能工具

Lottery Drawing Inquiry - 彩票开奖查询 — 技能工具

v1.0.5

查彩票分类、最新与历史开奖、号码是否中奖等。当用户说:双色球最新开奖号码?大乐透上期结果?或类似彩票开奖问题时,使用本技能。

10· 470·0 当前·0 累计
by @jisuapi (极速数据)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/3
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is a straightforward wrapper around the JisuAPI lottery endpoints and its requirements and instructions align with that purpose.
评估建议
This skill simply calls JisuAPI's lottery endpoints and needs your JISU_API_KEY. Only install it if you trust jisuapi.com and are willing to send lottery numbers and query parameters to that service. Ensure you don't paste a more-privileged or reusable secret into JISU_API_KEY, be aware of API usage limits/costs, and have Python's requests package available in the runtime. If you need stricter privacy, avoid sending personally identifying data to the external API or use a provider you control.
详细分析 ▾
用途与能力
Name and description match behavior: the code and SKILL.md call JisuAPI lottery endpoints and the skill requests the JISU_API_KEY primary credential which is required to call that API. Requiring python3 is appropriate for the provided script.
指令范围
SKILL.md only instructs running the included Python script and setting JISU_API_KEY; it does not direct the agent to read unrelated files, access other environment variables, or transmit data to endpoints other than api.jisuapi.com. User-provided lottery numbers are sent to the JisuAPI winning endpoint as expected.
安装机制
There is no install spec (instruction-only) which is low risk. The bundled Python script uses the requests library but the skill does not declare or install Python package dependencies; this is an operational note rather than a security concern.
凭证需求
Only JISU_API_KEY is required and is the primary credential for the stated API integration. No unrelated credentials, config paths, or broad secrets are requested.
持久化与权限
always is false (default). The skill does not request permanent/force-included presence or modify other skill/system configs. Autonomous invocation is allowed but that is the platform default and not by itself a concern.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.52026/3/3

- 优化技能名称和描述,使意图与应用场景更明确,便于用户发现和理解功能。 - 简化文档结构,对部分标题和API页面指引进行了微调。 - 保持功能和接口不变,详细说明推荐场景与使用方法。 - 修正细节描述,提升文档可读性。

● 无害

安装命令 点击复制

官方npx clawhub@latest install caipiao
镜像加速npx clawhub@latest install caipiao --registry https://cn.clawhub-mirror.com

技能文档

# 极速数据彩票开奖(Jisu Caipiao)

数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。
  • 彩票开奖/caipiao/query
  • 历史开奖信息/caipiao/history
  • 彩票分类/caipiao/class
  • 查询是否中奖/caipiao/winning
可用于对话中回答「今晚双色球开奖号码是多少」「最近 10 期大乐透号码」「有哪些彩种」「我这注彩票中没中奖」等问题。

前置配置:获取 API Key

``bash # Linux / macOS export JISU_API_KEY="your_appkey_here" # Windows PowerShell $env:JISU_API_KEY="your_appkey_here" `

脚本路径

脚本文件:
skills/caipiao/caipiao.py

使用方式

1. 彩票分类(class)

`bash python3 skills/caipiao/caipiao.py class ` 返回各彩种的 caipiaoid、名称、上级 ID 以及下期开奖时间等。

2. 最新或指定期彩票开奖(query)

`bash # 最新一期 python3 skills/caipiao/caipiao.py query '{"caipiaoid":13}' # 指定期号 python3 skills/caipiao/caipiao.py query '{"caipiaoid":13,"issueno":"2014127"}' `

3. 历史开奖信息(history)

`bash python3 skills/caipiao/caipiao.py history '{"caipiaoid":13,"start":0,"num":10}' `

4. 查询是否中奖(winning)

`bash python3 skills/caipiao/caipiao.py winning '{"caipiaoid":11,"number":"02 06 15 25 30 32","refernumber":"08"}' `

请求参数摘要

/caipiao/query

| 字段名 | 类型 | 必填 | 说明 | |-----------|--------|------|----------------------------------| | caipiaoid | int | 是 | 彩票 ID | | issueno | string | 否 | 期号,不传则为当前期 |

/caipiao/history

| 字段名 | 类型 | 必填 | 说明 | |-----------|--------|------|---------------------------------------| | caipiaoid | int | 是 | 彩票 ID | | issueno | string | 否 | 期号,不传默认当前期历史向前 | | num | int | 否 | 获取数量,最大 20,默认 10 | | start | int | 否 | 起始位置,默认 0 |

/caipiao/class

无请求参数。

/caipiao/winning

| 字段名 | 类型 | 必填 | 说明 | |-------------|--------|------|---------------------------------------| | caipiaoid | string | 是 | 彩票 ID | | issueno | string | 否 | 期号,默认最新一期 | | number | string | 是 | 彩票号码(红球,如
20 03 05 07 22) | | refernumber | string | 否 | 剩余号码(蓝球等) | | type | string | 否 | 投注类型(1 直选,2 组三,3 组六) |

返回结果说明(节选)

/caipiao/query

`json { "caipiaoid": "13", "issueno": "2014127", "number": "05 07 10 18 19 21 27", "refernumber": "28", "opendate": "2014-10-29", "deadline": "2014-12-27", "saleamount": "7482530", "prize": [ { "prizename": "二等奖", "require": "中6+0", "num": "50", "singlebonus": "608921" } ], "totalmoney": "..." } `

/caipiao/history

返回对象包含
caipiaoidlistlist 中每期包含开奖日期、期号、号码、销售额及奖级列表。

/caipiao/class

返回彩种数组,每项如:
`json { "caipiaoid": 11, "name": "双色球", "parentid": 1, "nextopentime": "2025-03-09 21:30:00", "nextbuyendtime": "2025-03-09 20:00:00", "lastissueno": "2025024", "nextissueno": "2025025" } `

/caipiao/winning

`json { "caipiaoid": "11", "number": "02 06 15 25 30 32", "refernumber": "08", "issueno": "2016081", "winstatus": "0", "prizename": "二等奖", "require": "中6+0", "singlebonus": "239666", "winnumber": "02 06 15 25 30 32", "winrefernumber": "07" } `

错误返回示例

`json { "error": "api_error", "code": 201, "message": "彩票ID为空" } `

常见错误码

来源于 极速数据彩票开奖文档: | 代号 | 说明 | |------|--------------| | 201 | 彩票 ID 为空 | | 202 | 彩票号码为空 | | 203 | 不支持的彩种 | | 210 | 没有信息 | 系统错误码:101 APPKEY 为空或不存在、102 已过期、103 无权限、104 超过次数限制、105 IP 被禁止、106 IP 超限、107 接口维护中、108 接口已停用。

推荐用法

  • 用户:「今晚双色球开奖号码」→ 先用 class 找到双色球的 caipiaoid(通常为 11),再调用 query 并格式化展示中奖号码及奖池。 \n
  • 用户:「最近 10 期大乐透走势」→ 使用 history 拉取最近若干期数据,提取号码并可视化(折线/表格)。 \n
  • 用户:「帮我看看这注是否中奖」→ 使用 winning,将用户提供的号码和期号(可选)传入,并根据 winstatusprizenamesinglebonus 给出自然语言反馈。 \n
  • 用户:「支持哪些彩种」→ 调用 class,罗列所有 name 与对应 caipiaoid,方便后续对话使用 ID 进行精确查询。

关于极速数据

极速数据(JisuAPI,jisuapi.com 是国内专业的 API数据服务平台 之一,提供以下API:
  • 生活常用:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息
  • 工具万能:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测
  • 交通出行:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询
  • 图像识别:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别
  • 娱乐购物:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令
  • 位置服务:基站查询,经纬度地址转换,坐标系转换
在官网注册后,按具体 API 页面申请数据,在会员中心获取 AppKey 进行接入;免费额度和套餐在API详情页查看,适合个人开发者与企业进行接入。在 ClawHub 上也可搜索
jisuapi` 找到更多基于极速数据的 OpenClaw 技能。

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务