Xpersona
I

ID Card Number Origin Query - 身份证号码归属地查询

CLAWHUB · Unverified

根据身份证号解析地区、出生日期、性别与校验位;可按城市查前六位规则。当用户说:这个身份证号是哪里发的?110101 开头是哪?或类似身份证归属问题时,使用本技能。 Skill: ID Card Number Origin Query - 身份证号码归属地查询 Owner: jisuapi Summary: 根据身份证号解析地区、出生日期、性别与校验位;可按城市查前六位规则。当用户说:这个身份证号是哪里发的?110101 开头是哪?或类似身份证归属问题时,使用本技能。 Tags: latest:1.0.3 Version history: v1.0.3 | 2026-04-03T09:45:21.995Z | user **Changelog for idcard v1.0.3** - Improved skill description for clarity and guided use - Added API provider introduction and use-case scenarios - Expanded API key acquisition and setup ins

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:idcard
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-idcard/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

17,954 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "ID Card Number Origin Query - 身份证号码归属地查询"
description: 根据身份证号解析地区、出生日期、性别与校验位;可按城市查前六位规则。当用户说:这个身份证号是哪里发的?110101 开头是哪?或类似身份证归属问题时,使用本技能。
metadata: { "openclaw": { "emoji": "🪪", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---

# 极速数据身份证号码归属地查询(Jisu Idcard)

> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

支持:

- **身份证查询**(`/idcard/query`)
- **城市查身份证前 6 位**(`/idcard/city2code`)

可用于对话中回答「这个身份证是哪里的」「校验位对不对」「鹿邑县对应的身份证前 6 位是多少」等问题。

## 前置配置:获取 API Key

1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [身份证号码归属地查询 API](https://www.jisuapi.com/api/idcard/) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:


```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```

## 脚本路径

脚本文件:`skills/idcard/idcard.py`

## 使用方式

### 1. 身份证查询(query)

```bash
python3 skills/idcard/idcard.py query '{"idcard":"41272519800102067x"}'
```

### 2. 城市查身份证前 6 位(city2code)

```bash
python3 skills/idcard/idcard.py city2code '{"city":"鹿邑"}'
```

## 请求参数

### /idcard/query

| 字段名  | 类型   | 必填 | 说明             |
|---------|--------|------|------------------|
| idcard  | string | 是   | 身份证号或前 6 位 |

### /idcard/city2code

| 字段名 | 类型   | 必填 | 说明 |
|--------|--------|------|------|
| city   | string | 是   | 城市 |

## 返回结果示例

### /idcard/query

```json
{
  "province": "河南省",
  "city": "周口市",
  "town": "鹿邑县",
  "lastflag": "0",
  "sex": "男",
  "birth": "1980年01月02日",
  "area": "河南省周口市鹿邑县"
}
```

字段说明:

| 字段名   | 类型   | 说明                                             |
|----------|--------|--------------------------------------------------|
| province | string | 省                                               |
| city     | string | 市                                               |
| town     | string | 县                                               |
| lastflag | string | 最后一位校验码:`0` 正确,`1` 错误                |
| sex      | string | 性别                                             |
| birth    | string | 出生年月                                         |
| area     | string | 区域信息(由于行政区划调整,具体以该字段为准)   |

### /idcard/city2code

```json
{
  "province": "河南省",
  "city": "周口市",
  "town": "鹿邑县",
  "code": "412725"
}
```

字段说明:

| 字段名   | 类型   | 说明       |
|----------|--------|------------|
| code     | string | 身份证前 6 位 |
| province | string | 省         |
| city     | string | 市         |
| town     | string | 县         |

## 错误返回示例

```json
{
  "error": "api_error",
  "code": 201,
  "message": "身份证为空"
}
```

## 常见错误码

来源于 [极速数据身份证号码归属地文档](https://www.jisuapi.com/api/idcard/):

| 代号 | 说明       |
|------|------------|
| 201  | 身份证为空 |
| 202  | 身份证不正确 |
| 203  | 没有信息   |

系统错误码:101 APPKEY 为空或不存在、102 已过期、103 无请求此数据权限、104 请求超过次数限制、105 IP 被禁止、106 IP 请求超过限制、107 接口维护中、108 接口已停用。

## 推荐用法

1. 用户:「帮我查

_meta.json

{
  "ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
  "slug": "idcard",
  "version": "1.0.3",
  "publishedAt": 1775209521995
}

skill-card.md

## Description:

根据身份证号解析地区、出生日期、性别与校验位;可按城市查前六位规则。

This skill is ready for commercial/non-commercial use.

## Publisher:

[jisuapi](https://clawhub.ai/user/jisuapi)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to answer Chinese ID-card attribution questions, validate checksum status, derive birth date and sex fields, or look up the first six ID-card digits for a city.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: ID-card queries may disclose sensitive national ID data to JisuAPI.

Mitigation: Avoid submitting full national ID numbers when a six-digit region code is enough, and obtain user consent before sending sensitive identifiers to the provider.

Risk: The JISU_API_KEY is sent in URL parameters and may appear in provider, proxy, or network logs.

Mitigation: Treat JISU_API_KEY as a secret, scope and rotate it regularly, and avoid running the skill through logging proxies that retain query strings.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jisuapi/skills/idcard)
- [JisuAPI homepage](https://www.jisuapi.com/)
- [JisuAPI ID-card API documentation](https://www.jisuapi.com/api/idcard/)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [JSON responses summarized as agent-facing text or Markdown guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and JISU_API_KEY; calls JisuAPI endpoints for ID-card and city-code lookup.]

## Skill Version(s):

1.0.3 (source: server evidence release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to ID Card Number Origin Query - 身份证号码归属地查询 and adjacent AI workflows.