{
    "openapi": "3.0.0",
    "info": {
        "title": "工商信息查询 - API文档",
        "version": "1.0.0",
        "description": "企业工商信息查询及验证，支持通过企业名称、注册号、组织机构代码或统一社会信用代码查询企业工商登记信息。可实现网站、内部系统、各类应用App的企业工商信息即时展示与高效比对，提升相关业务处理的准确性和便捷性。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/companyinfo\/index": {
            "get": {
                "summary": "企业工商信息查询",
                "tags": [
                    "工商信息查询"
                ],
                "description": "通过企业完整名称、社会代码等查询企业工商登记信息",
                "parameters": [
                    {
                        "name": "com",
                        "in": "query",
                        "description": "企业名称或企业社会信用代码",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "深圳市腾讯计算机系统有限公司",
                            "description": "企业名称或企业社会信用代码"
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "area": {
                                            "type": "string",
                                            "example": "南山区",
                                            "description": "所在区县"
                                        },
                                        "city": {
                                            "type": "string",
                                            "example": "深圳市",
                                            "description": "所在城市"
                                        },
                                        "regno": {
                                            "type": "string",
                                            "example": "440301103448669",
                                            "description": "工商注册号"
                                        },
                                        "taxno": {
                                            "type": "string",
                                            "example": "91440300708461136T",
                                            "description": "税务登记号"
                                        },
                                        "omname": {
                                            "type": "string",
                                            "example": "深圳市腾讯计算机系统有限公司",
                                            "description": "公司名称"
                                        },
                                        "chkdate": {
                                            "type": "datetime",
                                            "example": "2024-01-04",
                                            "description": "核准日期"
                                        },
                                        "comcode": {
                                            "type": "string",
                                            "example": "708461136",
                                            "description": "公司代码"
                                        },
                                        "comtype": {
                                            "type": "string",
                                            "example": "有限责任公司",
                                            "description": "法人类型"
                                        },
                                        "enddate": {
                                            "type": "datetime",
                                            "description": "营业结束日期"
                                        },
                                        "regdate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "注册日期"
                                        },
                                        "regtype": {
                                            "type": "string",
                                            "example": "设立登记",
                                            "description": "注册类型"
                                        },
                                        "bizscope": {
                                            "type": "string",
                                            "example": "一般经营项目是：计算机软、硬件的设计、技术开发...",
                                            "description": "经营范围"
                                        },
                                        "creditno": {
                                            "type": "string",
                                            "example": "91440300708461136T",
                                            "description": "信用代码"
                                        },
                                        "industry": {
                                            "type": "string",
                                            "example": "信息传输、软件和信息技术服务业",
                                            "description": "行业分类"
                                        },
                                        "province": {
                                            "type": "string",
                                            "example": "广东省",
                                            "description": "所在省份"
                                        },
                                        "regorgan": {
                                            "type": "string",
                                            "example": "深圳市市场监督管理局",
                                            "description": "注册机关"
                                        },
                                        "comnameen": {
                                            "type": "string",
                                            "description": "英文名称"
                                        },
                                        "comstatus": {
                                            "type": "string",
                                            "example": "存续",
                                            "description": "公司状态"
                                        },
                                        "issuedate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "发照日期"
                                        },
                                        "startdate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "营业开始日期"
                                        },
                                        "comnameold": {
                                            "type": "string",
                                            "description": "曾用名"
                                        },
                                        "regaddress": {
                                            "type": "string",
                                            "example": "深圳市南山区粤海街道麻岭社区科技中一路腾讯大厦35层",
                                            "description": "注册地址"
                                        },
                                        "regcapital": {
                                            "type": "integer",
                                            "example": "6500万人民币",
                                            "description": "注册资本"
                                        },
                                        "legalperson": {
                                            "type": "string",
                                            "example": "马化腾",
                                            "description": "法定代表人"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "area": "南山区",
                                        "city": "深圳市",
                                        "regno": "440301103448669",
                                        "taxno": "91440300708461136T",
                                        "chkdate": "2024-01-04",
                                        "comcode": "708461136",
                                        "comname": "深圳市腾讯计算机系统有限公司",
                                        "comtype": "法人",
                                        "enddate": "",
                                        "regtype": "有限责任公司",
                                        "bizScope": "一般经营项目是：计算机软、硬件的设计、技术开发、销售（不含专营、专控、专卖商品及限制项目）；数据库及计算机网络服务；国内商业、物资供销业（不含专营、专控、专卖商品）；从事广告业务（法律、行政法规规定应进行广告经营审批等级的，另行办理审批登记后方可经营）；货物及技术进出口；票务代理。，许可经营项目是：第一类增值电信业务中的国内互联网虚拟专用网业务；第二类增值电信业务中的国内多方通信服务业务，国内呼叫中心业务，信息服务业务；网络游戏出版运营；互联网新闻信息转载服务；预包装食品销售（不含冷藏冷冻食品）；利用信息网络经营音乐娱乐产品、游戏产品（含网络游戏虚拟货币发行）、艺术品、演出剧（节）目、动漫产品、表演，从事网络文化产品的展览、比赛活动；互联网视听节目服务；制作、复制、发行电视剧、动画片（制作须另申报），专题、专栏（不含时政新闻类），综艺；出版物零售。",
                                        "creditno": "91440300708461136T",
                                        "industry": "其他软件开发",
                                        "province": "广东省",
                                        "regorgan": "深圳市市场监督管理局",
                                        "comnameen": "",
                                        "comstatus": "存续",
                                        "issuedate": "1998-11-11",
                                        "startdate": "1998-11-11",
                                        "canceldate": "",
                                        "comnameold": "",
                                        "regaddress": "深圳市南山区粤海街道麻岭社区科技中一路腾讯大厦35层",
                                        "regcapital": "6500万人民币",
                                        "legalperson": "马化腾"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "企业工商信息查询",
                "tags": [
                    "工商信息查询"
                ],
                "description": "通过企业完整名称、社会代码等查询企业工商登记信息",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "com": {
                                        "type": "string",
                                        "example": "深圳市腾讯计算机系统有限公司",
                                        "description": "企业名称或企业社会信用代码"
                                    },
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    }
                                },
                                "required": [
                                    "com",
                                    "key"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "area": {
                                            "type": "string",
                                            "example": "南山区",
                                            "description": "所在区县"
                                        },
                                        "city": {
                                            "type": "string",
                                            "example": "深圳市",
                                            "description": "所在城市"
                                        },
                                        "regno": {
                                            "type": "string",
                                            "example": "440301103448669",
                                            "description": "工商注册号"
                                        },
                                        "taxno": {
                                            "type": "string",
                                            "example": "91440300708461136T",
                                            "description": "税务登记号"
                                        },
                                        "omname": {
                                            "type": "string",
                                            "example": "深圳市腾讯计算机系统有限公司",
                                            "description": "公司名称"
                                        },
                                        "chkdate": {
                                            "type": "datetime",
                                            "example": "2024-01-04",
                                            "description": "核准日期"
                                        },
                                        "comcode": {
                                            "type": "string",
                                            "example": "708461136",
                                            "description": "公司代码"
                                        },
                                        "comtype": {
                                            "type": "string",
                                            "example": "有限责任公司",
                                            "description": "法人类型"
                                        },
                                        "enddate": {
                                            "type": "datetime",
                                            "description": "营业结束日期"
                                        },
                                        "regdate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "注册日期"
                                        },
                                        "regtype": {
                                            "type": "string",
                                            "example": "设立登记",
                                            "description": "注册类型"
                                        },
                                        "bizscope": {
                                            "type": "string",
                                            "example": "一般经营项目是：计算机软、硬件的设计、技术开发...",
                                            "description": "经营范围"
                                        },
                                        "creditno": {
                                            "type": "string",
                                            "example": "91440300708461136T",
                                            "description": "信用代码"
                                        },
                                        "industry": {
                                            "type": "string",
                                            "example": "信息传输、软件和信息技术服务业",
                                            "description": "行业分类"
                                        },
                                        "province": {
                                            "type": "string",
                                            "example": "广东省",
                                            "description": "所在省份"
                                        },
                                        "regorgan": {
                                            "type": "string",
                                            "example": "深圳市市场监督管理局",
                                            "description": "注册机关"
                                        },
                                        "comnameen": {
                                            "type": "string",
                                            "description": "英文名称"
                                        },
                                        "comstatus": {
                                            "type": "string",
                                            "example": "存续",
                                            "description": "公司状态"
                                        },
                                        "issuedate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "发照日期"
                                        },
                                        "startdate": {
                                            "type": "datetime",
                                            "example": "1998-11-11",
                                            "description": "营业开始日期"
                                        },
                                        "comnameold": {
                                            "type": "string",
                                            "description": "曾用名"
                                        },
                                        "regaddress": {
                                            "type": "string",
                                            "example": "深圳市南山区粤海街道麻岭社区科技中一路腾讯大厦35层",
                                            "description": "注册地址"
                                        },
                                        "regcapital": {
                                            "type": "integer",
                                            "example": "6500万人民币",
                                            "description": "注册资本"
                                        },
                                        "legalperson": {
                                            "type": "string",
                                            "example": "马化腾",
                                            "description": "法定代表人"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "area": "南山区",
                                        "city": "深圳市",
                                        "regno": "440301103448669",
                                        "taxno": "91440300708461136T",
                                        "chkdate": "2024-01-04",
                                        "comcode": "708461136",
                                        "comname": "深圳市腾讯计算机系统有限公司",
                                        "comtype": "法人",
                                        "enddate": "",
                                        "regtype": "有限责任公司",
                                        "bizScope": "一般经营项目是：计算机软、硬件的设计、技术开发、销售（不含专营、专控、专卖商品及限制项目）；数据库及计算机网络服务；国内商业、物资供销业（不含专营、专控、专卖商品）；从事广告业务（法律、行政法规规定应进行广告经营审批等级的，另行办理审批登记后方可经营）；货物及技术进出口；票务代理。，许可经营项目是：第一类增值电信业务中的国内互联网虚拟专用网业务；第二类增值电信业务中的国内多方通信服务业务，国内呼叫中心业务，信息服务业务；网络游戏出版运营；互联网新闻信息转载服务；预包装食品销售（不含冷藏冷冻食品）；利用信息网络经营音乐娱乐产品、游戏产品（含网络游戏虚拟货币发行）、艺术品、演出剧（节）目、动漫产品、表演，从事网络文化产品的展览、比赛活动；互联网视听节目服务；制作、复制、发行电视剧、动画片（制作须另申报），专题、专栏（不含时政新闻类），综艺；出版物零售。",
                                        "creditno": "91440300708461136T",
                                        "industry": "其他软件开发",
                                        "province": "广东省",
                                        "regorgan": "深圳市市场监督管理局",
                                        "comnameen": "",
                                        "comstatus": "存续",
                                        "issuedate": "1998-11-11",
                                        "startdate": "1998-11-11",
                                        "canceldate": "",
                                        "comnameold": "",
                                        "regaddress": "深圳市南山区粤海街道麻岭社区科技中一路腾讯大厦35层",
                                        "regcapital": "6500万人民币",
                                        "legalperson": "马化腾"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}