← 返回 Skills 市场
jisuapi

Bank Card Origin Query - 银行卡归属地查询

作者 极速数据 · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
447
总下载
10
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install bankcard
功能描述
根据银行卡号查发卡行与归属地,可做卡号格式校验。当用户说:6222 开头是哪家银行?这张卡号对不对?或类似银行卡归属问题时,使用本技能。
使用说明 (SKILL.md)

\r \r

极速数据银行卡归属地查询(Jisu Bankcard)\r

\r

数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。\r \r

前置配置:获取 API Key\r

\r

  1. 前往 极速数据官网 注册账号\r
  2. 进入 银行卡归属地查询 API 页面,点击「申请数据」\r
  3. 在会员中心获取 AppKey\r
  4. 配置 Key:\r \r \r
# Linux / macOS\r
export JISU_API_KEY="your_appkey_here"\r
\r
# Windows PowerShell\r
$env:JISU_API_KEY="your_appkey_here"\r
```\r
\r
## 脚本路径\r
\r
脚本文件:`skills/bankcard/bankcard.py`\r
\r
## 使用方式\r
\r
传入一个 JSON 字符串,包含银行卡号:\r
\r
```bash\r
python3 skills/bankcard/bankcard.py '{"bankcard":"6212261202011584349"}'\r
```\r
\r
## 请求参数(传入 JSON)\r
\r
| 字段名   | 类型   | 必填 | 说明     |\r
|----------|--------|------|----------|\r
| bankcard | string | 是   | 银行卡号 |\r
\r
示例:\r
\r
```json\r
{\r
  "bankcard": "6212261202011584349"\r
}\r
```\r
\r
## 返回结果示例\r
\r
脚本直接输出接口的 `result` 字段(JSON),典型结构:\r
\r
```json\r
{\r
  "bankcard": "6212261202011594349",\r
  "name": "牡丹卡普卡",\r
  "province": "浙江",\r
  "city": "杭州",\r
  "type": "借记卡",\r
  "len": "19",\r
  "bank": "中国工商银行",\r
  "logo": "http://www.jisuapi.com/api/bankcard/upload/80/2.png",\r
  "tel": "95588",\r
  "website": "http://www.icbc.com.cn",\r
  "iscorrect": "0"\r
}\r
```\r
\r
返回字段说明:\r
\r
| 参数名    | 类型   | 说明                           |\r
|-----------|--------|--------------------------------|\r
| bankcard  | string | 银行卡号                       |\r
| name      | string | 卡名称                         |\r
| province  | string | 省                             |\r
| city      | string | 市                             |\r
| type      | string | 银行卡类型                     |\r
| len       | string | 卡号长度                       |\r
| bank      | string | 银行名称                       |\r
| logo      | string | 银行 logo(80/120/200 等尺寸) |\r
| tel       | string | 银行电话                       |\r
| website   | string | 银行网站                       |\r
| iscorrect | string | 卡号校验是否正确:1 正确,0 错误 |\r
\r
错误时脚本输出形如:\r
\r
```json\r
{\r
  "error": "api_error",\r
  "code": 202,\r
  "message": "银行卡号不正确"\r
}\r
```\r
\r
## 常见错误码\r
\r
来自 [极速数据银行卡 API 文档](https://www.jisuapi.com/api/bankcard):\r
\r
**业务错误码:**\r
\r
| 代号 | 说明           |\r
|------|----------------|\r
| 201  | 银行卡号为空   |\r
| 202  | 银行卡号不正确 |\r
| 210  | 没有信息       |\r
\r
**系统错误码:**\r
\r
| 代号 | 说明                   |\r
|------|------------------------|\r
| 101  | APPKEY 为空或不存在    |\r
| 102  | APPKEY 已过期          |\r
| 103  | APPKEY 无请求此数据权限 |\r
| 104  | 请求超过次数限制       |\r
| 105  | IP 被禁止              |\r
| 106  | IP 请求超过限制        |\r
| 107  | 接口维护中             |\r
| 108  | 接口已停用             |\r
\r
## 推荐用法\r
\r
1. 用户例如:「查一下卡号 6212261202011584349 是哪个银行的。」  \r
2. 代理构造:`python3 skills/bankcard/bankcard.py '{"bankcard":"6212261202011584349"}'`。  \r
3. 解析返回的 JSON,为用户总结:银行名称、归属地(省/市)、卡类型、卡号是否校验通过等。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息  \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测  \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询  \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别  \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令  \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换  \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
安全使用建议
This skill is coherent with its description and uses the JisuAPI service to look up bank-card origin, but it WILL send the bank-card number you provide to a third-party (api.jisuapi.com). Before installing: ensure you trust JisuAPI for handling sensitive data; only supply an AppKey with appropriate limits; monitor API usage and quotas; avoid sending full real card numbers if privacy concerns exist (use partial numbers or local Luhn checks for basic validation). Also ensure the runtime environment has Python and the 'requests' package installed; rotate the AppKey if it is ever exposed.
功能分析
Type: OpenClaw Skill Name: bankcard Version: 1.0.4 The skill is a legitimate tool for querying bank card information using the JisuAPI service. The implementation in `bankcard.py` follows standard practices, using environment variables for API keys and making authorized requests to the documented endpoint (api.jisuapi.com) without any signs of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
Name/description, required env var (JISU_API_KEY), and the code all point to using JisuAPI's bankcard query endpoint. The requested credential is the AppKey the API needs, which is proportional to the stated purpose. Minor omission: the script imports the Python 'requests' library but SKILL.md only lists 'python3' as a required binary (no explicit mention of the requests dependency).
Instruction Scope
SKILL.md instructs running the included script with a JSON containing 'bankcard'. The script sends the bankcard number and the AppKey to https://api.jisuapi.com/bankcard/query and prints the API result. That network call is necessary for the described functionality but means user-supplied card numbers are transmitted to a third-party service (privacy exposure).
Install Mechanism
No install spec (instruction-only + single script). Nothing is downloaded or written to disk by an installer. The only dependency risk is runtime: the script requires the Python 'requests' package, which isn't declared in SKILL.md; this is a usability omission, not a security problem.
Credentials
Only JISU_API_KEY is required and is appropriate for calling JisuAPI. However, the AppKey grants the skill the ability to query the external API (and potentially consume quotas or be charged), so treat the key as sensitive and use least-privilege / monitoring. Also: the skill transmits sensitive personal data (bank card numbers) to the external provider — consider privacy implications before supplying real card numbers.
Persistence & Privilege
Skill is not 'always:true' and does not request to modify other skills or system settings. Agent autonomous invocation is allowed by platform default but is not combined here with elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bankcard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bankcard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Updated skill name and description for clarity and improved discoverability. - Enhanced documentation: clearer API Key guidance, richer introduction to JisuAPI and its API catalog, and more context for recommended usage. - Added a detailed "About JisuAPI" section listing broader platform capabilities and application scenarios. - No code changes in this version.
v1.0.3
- No changes detected in this version; documentation and functionality remain unchanged.
v1.0.2
- No changes detected in this version. - Functionality, documentation, and interface remain the same.
v1.0.1
- 修正了错误码说明中的文档链接,使其指向“极速数据银行卡 API 文档”。 - 未检测到代码和功能层面的其他变更。
v1.0.0
- Initial release: query bank card issuer, location, and validity using Jisu API. - Requires JISU_API_KEY environment variable. - Accepts JSON input with a "bankcard" field. - Outputs bank and card details or error information in JSON format. - Includes documentation for setup, usage, and error handling.
元数据
Slug bankcard
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Bank Card Origin Query - 银行卡归属地查询 是什么?

根据银行卡号查发卡行与归属地,可做卡号格式校验。当用户说:6222 开头是哪家银行?这张卡号对不对?或类似银行卡归属问题时,使用本技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 447 次。

如何安装 Bank Card Origin Query - 银行卡归属地查询?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bankcard」即可一键安装,无需额外配置。

Bank Card Origin Query - 银行卡归属地查询 是免费的吗?

是的,Bank Card Origin Query - 银行卡归属地查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Bank Card Origin Query - 银行卡归属地查询 支持哪些平台?

Bank Card Origin Query - 银行卡归属地查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bank Card Origin Query - 银行卡归属地查询?

由 极速数据(@jisuapi)开发并维护,当前版本 v1.0.4。

💬 留言讨论