## 身份证查询 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://img.kancloud.cn/5f/ec/5fecdc5d62d293288ff286d2ff31f310_237x175.png =x125) > 身份证归属地信息查询 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 接口地址 ``` GET https://api.topthink.com/idcard/index ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是 |string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | cardno | Y | string | 身份证号码 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | |   area | string | 地区 | |   sex | string | 性别 | |   birthday | string | 出生日期 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->idcardIndex() ->withCardno('身份证号码') ->request(); dump($result); ``` 返回示例: ~~~ { "code":0, "message":"成功的返回", "data":{ "area":"浙江省温州市平阳县", "sex":"男", "birthday":"1989年03月08日" } } ~~~