API介绍:可根据身份证号,查询其性别、生日、出生年月日、出生日期等资料。也可以鉴别随机生成的身份证号码。
调用次数:1780
创建者:衡阳小淘科技有限公司
适用场景:
免费次数:不限
返回格式: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 | 区/县 |