bankcard-location

Lookup bank card information by card number to obtain issuing bank, card type, and account branch location (card BIN query). Suitable for scenarios such as “bank card location lookup,” “bank card number query,” “bank card type lookup,” “issuing bank query,” “bank branch location,” and “card BIN queries.” Requires a dedicated API Key; on first use please visit the product page to register and obtain it.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "bankcard-location" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8b88a5d424a78b4e66e6592815432c72373acc6843fdd9c0ab2fd10ed2d0909e. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/bankcard-location before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Lookup bank card information by card number to obtain issuing bank, card type, and account branch location (card BIN query). Suitable for scenarios such as “bank card location lookup,” “bank card number query,” “bank card type lookup,” “issuing bank query,” “bank branch location,” and “card BIN queries.” Requires a dedicated API Key; on first use please visit the product page to register and obtain it.

0 Downloads

Introduction source: third_party · org-1qazsc77 · 1.0.2 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: bankcard-location
description: 通过银行卡号查询所属银行、卡类型、开户行归属地。适用于"银行卡归属地查询""银行卡号查询""银行卡类型查询""开户行查询""银行归属地""卡bin查询"等请求。需专属 API Key,首次使用时引导用户前往产品页注册获取。

银行卡归属地查询

功能简介

银行卡归属地查询接口,通过银行卡号查询所属银行和卡类型。

核心能力:

  • 通过银行卡号查询所属银行和卡类型
  • 返回开户行归属地信息
  • 可鉴定银行卡号真伪

适用范围:本 Skill 只覆盖"银行卡归属地查询"接口,不用于其他数据查询场景。

使用方式

  1. 前往 银行卡归属地查询购买页 注册登录,获取专属 API Key(0元/5次(免费试用)
  2. 将 Key 直接发送给 AI
  3. 告诉 AI 要查询的银行卡号

缺少 Key 时的引导回复

当查询返回 missing_api_key 错误时,按以下方式回复用户(根据实际查询内容调整):

未检测到 API Key,需要你提供一下在 银行卡归属地查询购买页 获取的专属 API Key,我才能帮你查询银行卡号。

请直接把 Key 发给我,我会仅用于本次查询,不会保存或回显完整密钥。

查询失败(Key 无效或额度不足)时,引导用户前往 购买页 检查 Key 或额度。


以下为内部执行参考,回复用户时不要展示接口地址、参数格式、JSON字段名等技术细节。

参数说明

参数 类型 是否必填 说明 示例
bankcard string 必填 银行卡号 6222021234567890123

查询流程

  1. 从用户请求中提取查询参数。
  2. 在 Skill 根目录执行脚本:
python scripts/query_bankcard_location.py --bankcard 6222021234567890123 --api-key "用户提供的Key"

如用户已自行配置环境变量 CHINAZ_BANKCARD_LOCATION_API_KEY,可省略 --api-key 参数。如果系统将 Python 3 命令命名为 python3,使用 python3 代替 python。

  1. 脚本使用 Key 调用接口发送请求参数与 ChinazVer 及 APIKey。
  2. 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户,不编造数据。

返回字段

成功查询后,返回 JSON 包含以下字段:

字段名 类型 说明
status string 状态码
msg string 状态码描述
bankcard string 银行卡号
name string 卡名称
bank string 银行名称
type string 银行卡类型
province string 省份
city string 城市
tel string 银行电话
iscorrect string 卡号校验 1正确 0错误

返回示例:

{
  "status": "示例值",
  "msg": "示例值",
  "bankcard": "示例值",
  "name": "示例值",
  "bank": "示例值",
  "type": "示例值"
}

结果解读

  • status: 0 表示查询成功。
  • 根据返回字段值判断具体结果,如验证类接口 result: 0 通常表示一致。
  • 数据仅供参考,以实际返回为准。

推荐答复格式:

银行卡归属地查询查询结果
- 查询状态:成功 / 失败原因
- status:返回值
- msg:返回值
- bankcard:返回值
- name:返回值
- bank:返回值

错误处理

错误类型 原因 解决方法
missing_api_key 缺少 API Key 按上方"缺少 Key 时的引导回复"引导用户获取并发送 Key
invalid_input 参数格式错误 检查输入参数格式后重试
network_error / timeout 网络连接问题 检查网络、DNS、代理或防火墙后重试

其他失败状态:按返回的 status 或 JSON 错误信息说明问题,不得编造数据。

使用边界

  • 一次只查询单条记录;批量任务须逐条执行。
  • 数据仅供参考,以官方数据源为准。
  • 不输出、复述或保存 API Key。

应用场景

场景一:基础查询

你会问:"帮我查一下银行卡归属地的信息"

操作步骤:

  1. 准备好需要查询的关键字。
  2. 运行脚本执行查询。

建议输入:python scripts/query_bankcard_location.py --bankcard 6222021234567890123

如何解读结果:查看返回 JSON 中的 status 字段确认查询是否成功,再查看其他字段获取详细信息。

后续建议:根据查询结果进行下一步业务决策。

场景二:业务分析

你会问:"这家企业的银行卡归属地情况如何?"

操作步骤:

  1. 确认企业名称或关键字。
  2. 运行查询脚本获取数据。

建议输入:python scripts/query_bankcard_location.py --bankcard 6222021234567890123

如何解读结果:综合分析返回的各字段数据,判断企业状况。

后续建议:将查询结果纳入企业信用评估或风险管控流程。

场景三:批量核查

你会问:"能不能批量核查多个对象的银行卡归属地查询?"

操作步骤:

  1. 虽然接口一次只查一条,但可以编写循环脚本逐条查询。
  2. 将结果汇总到表格中进行分析。

建议输入:逐条执行 python scripts/query_bankcard_location.py --bankcard 6222021234567890123

如何解读结果:汇总多条查询结果,进行对比分析。

后续建议:建立定期查询机制,持续监控目标变化。

常见问题

Q:查询返回失败怎么办?

A:首先检查环境变量 CHINAZ_BANKCARD_LOCATION_API_KEY 是否已正确设置,然后确认 API Key 是否有效、额度是否充足。如果网络不通,检查代理和防火墙设置。

Q:免费额度用完了怎么办?

A:前往银行卡归属地查询购买页购买付费套餐,不同套餐有不同的单次价格,批量使用更优惠。

Q:查询结果和实际不符?

A:数据来源于第三方数据源,可能存在更新延迟。建议以官方渠道数据为准,本接口结果仅供参考。

Current listing version

1.0.2

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供银行卡归属地、银行名称、卡类型等关键信息查询
  • 支持卡号真伪校验,具备一定风控价值
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,包含银行卡归属地、开户行、卡类型等多种常见查询场景
  • 边界清晰,不与其他通用查询工具重叠
Structure and Standards90/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档结构完整但未设置显式的 When to Use 章节

    Recommendation: 建议在文档开头增加 When to Use 章节,明确说明适用场景和使用时机

Highlights

  • 文档结构清晰,包含功能简介、使用方式、参数说明、错误处理等完整模块
  • 提供了多个实际应用场景示例,便于用户理解和使用
Execution Reliability80/100

Highlights

  • API Key 获取路径清晰,有免费试用机制降低使用门槛
  • 错误处理机制完善,覆盖缺少 Key、无效输入、网络异常等常见场景
  • 脚本调用方式明确,支持环境变量配置提升使用便利性
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • www.chinaz.net

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.