## 营业执照文本识别(停售) ![](https://img.kancloud.cn/6a/5d/6a5d322cc762d83e66801b7a77145ca4_512x286.png =x120) > 支持对营业执照关键字段的识别,包括单位名称、法人、地址、有效期、证件编号、社会信用代码等 ## 接口费用( [点击购买](https://market.topthink.com/product/106)) > 最低 0.05元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` POST https://api.topthink.com/ocr/business_license ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是 |string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | image | 是 | string | 识别图片,请确保营业执照内容信息清晰可见。使用base64编码格式(不包含data:image/jpeg;base64,) | | fixMode| 否 | string | ‘1’ - 修复模式 ‘0’ - 不修复模式 (默认) | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | |companyName|String|公司名称| |creditCode|String|社会信用代码| |type|String|类型| |legalPerson|String|法人代表| |address|String|单位地址| |beginDate|String|成立日期| |validDate|String|有效时间| |registeredCapital|String|注册资本| |scope|String|经营范围| |number|String|编号| ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->ocrBusinessLicense() ->withImage('图像BASE64编码') ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":{ number: "无", address: "****", creditCode: "****", validDate: "2021年04月18日", companyName: "****", legalPerson: "****", scope:"", type:"有限责任公司(自然人投资或控股)", beginDate:"", registeredCapital:"" } } ```