身份证信息查询
最近更新时间: 2026年03月04日 08时35分02秒
能力接口
描述
对查询过的请求,会缓存24小时
支持的模式
客户端模式
请求方法
GET
请求地址
请求参数
| 参数名 | 是否必填 | 备注 |
|---|---|---|
| name | 是 | 姓名 |
| idCardNo | 是 | 身份证号码 |
返回参数
| 参数名 | 类型 | 备注 | 码表 |
|---|---|---|---|
idCardNo | string | 公民身份号码(非空项) | |
name | string | 姓名(非空项) | |
sex | string | 性别 | |
nationName | string | 民族 | |
birthDate | string | 出生日期 | |
country | string | 出生地-国家(地区) | |
nativePlaceName | string | 出生地-省市县(区) | |
idCardMatchScore | string | 公民身份号码-匹配度代码 | |
nameMatchScore | string | 姓名-匹配度代码 | |
deathFlag | string | 死亡标识(0有效人口,1死亡人口) | |
dataSource | number | 数据来源(1同济大学数据库, 2国家公安部) | |
isTJUser | boolean | 是否为同济大学人员 | |
tjUserList | array[object] | 同济大学人员学工信息 | |
deptCode | string | 部门/学院代码 | |
deptName | string | 部门/学院名称 | |
name | string | 姓名 | |
userId | string | 学工号 | |
userTypeCode | string | 人员类型代码 | |
userTypeName | string | 人员类型名称 |
请求示例
curl --request GET 'https://api.tongji.edu.cn/v1/infra/education_data/id_card_info_query?idCardNo=xxx&name=xxx&requestName=xxx&requestIdCardNo=xxx'
返回示例
{
"code": "A00000",
"data": {
"birthDate": "2000-01-01",
"country": "中国",
"countryCode": "CHN",
"dataSource": 1,
"deathFlag": "0",
"idCardMatchScore": "1",
"idCardNo": "xxx",
"name": "xxx",
"nameMatchScore": "1",
"nationCode": "01",
"nationName": "汉族",
"nativePlaceCode": "xxx",
"nativePlaceName": "xxx",
"sex": "男",
"sexCode": "1",
"isTJUser": true,
"tjUserList": [
{
"deptCode": "xxx",
"deptName": "xxx",
"name": "xxx",
"userId": "xxx",
"userTypeCode": "1",
"userTypeName": "教职工"
}
]
},
"msg": "成功"
}