身份证信息查询-通用API产品

API名称:身份证信息查询

API介绍:可根据身份证号,查询其性别、生日、出生年月日、出生日期等资料。也可以鉴别随机生成的身份证号码。

调用次数:1428

创建者:衡阳小淘科技有限公司

适用场景:

免费次数:不限

返回格式:json

请求方式:不限

API接口:https://api.xcxapi.com/data?app_id=sfzh&key=key&content=content [去调试]

配置应用广场到微信公众号:公众号后台-小程序管理,绑定“API助手”小程序,小程序路径为:/pages/index/index?media_id=[替换为您的公众号MEDIA_ID]

公众号调用方式:①网址:https://weiurl.cn/open/apizs?app_id=sfzh&media_id=[替换为您的公众号MEDIA_ID]


②菜单文章嵌入:公众号后台-小程序管理,绑定“API助手”小程序小程序路径为:/pages/app/list?app_id=sfzh&media_id=[替换为您的公众号MEDIA_ID]

请求字段说明:

字段名称 必填 类型 说明
app_id API的APPID API的APPID
key 个人中心的KEY秘钥 个人中心的KEY秘钥
content 输入内容 输入内容

返回字段说明:

字段名称 类型 说明
code number 0为失败,1为获取成功
result string 正确、错误
sex int 性别
starsign int 星座
time int 时间戳
birth_year nunber 出生年份
birth_month nunber 出生月份
birth_day nunber 出生日
birthday nunber 出生日期
old number 年龄
province string
city string
district string 区/县