身份证查询详细

GET

身份证取值性别、出生年月、地区、生肖、星座

https://api.coue.cn/api/sfzcx
https://api.coue.cn/api/sfzcx?number="身份证"

请求参数

将 Key 放到 Header 中使用 Authorization 请求头,按 Bearer Token 方式传递
Authorization:Bearer YOUR_API_KEY

返回参数

接口指标

QPS 上限
0次/秒
平均响应时间
65.55ms
今日调用量
2
累计调用量
13

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.coue.cn/api/sfzcx?number=text' \
  -H 'Authorization: Bearer YOUR_API_KEY'

返回示例

{
  "code": 1,
  "text": "身份证号正确!",
  "gender": "性别",
  "birthday": "出生年月",
  "age": "年龄",
  "adult": "是/否成年",
  "shenfen": "省",
  "addr": "详细地区",
  "zodiac": "生肖",
  "starsign": "星座"
}