{
  "openapi": "3.0.3",
  "info": {
    "title": "备案查询",
    "description": "根据域名，查询其备案信息，实时监控网站备案和对网站进行鉴别。通过查询备案信息来帮助企业或者个人用户鉴别网站的合法性，降低被骗风险；同时，也可以用于企业资料的辅助分析，例如：分析企业股东构成、招投标管理和公司各股东入股等企业信息。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/846-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 60,
      "x-connect-timeout": 60,
      "post": {
        "summary": "网站查询",
        "description": "可以通过公司名称获取网站备案的有关信息，包括网站名称、网站首页、域名、网站备案/许可证号等字段信息",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "allPages": {
                              "type": "number",
                              "description": "总页数"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0为成功，其余为失败"
                            },
                            "contentlist": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "sites": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "网站"
                                  },
                                  "web_title": {
                                    "type": "string",
                                    "description": "网站名称"
                                  },
                                  "domain": {
                                    "type": "string",
                                    "description": "域名"
                                  },
                                  "com_type": {
                                    "type": "string",
                                    "description": "公司类型"
                                  },
                                  "com_name": {
                                    "type": "string",
                                    "description": "公司名称"
                                  },
                                  "liscense": {
                                    "type": "string",
                                    "description": "网站备案/许可证号"
                                  },
                                  "verify_time": {
                                    "type": "string",
                                    "description": "审核时间"
                                  }
                                }
                              },
                              "description": "结果列表"
                            },
                            "currentPage": {
                              "type": "number",
                              "description": "当前页码"
                            },
                            "allNum": {
                              "type": "number",
                              "description": "总记录数"
                            },
                            "maxResult": {
                              "type": "number",
                              "description": "每页记录数"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "846_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "keywords": {
                    "type": "string",
                    "description": "关键词：公司名称、公司id、注册号或社会统一信用代码"
                  },
                  "page": {
                    "type": "string",
                    "description": "当前页页码，每页最大20条"
                  }
                },
                "required": [
                  "keywords"
                ]
              }
            }
          }
        }
      }
    },
    "/846-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 60,
      "x-connect-timeout": 60,
      "post": {
        "summary": "备案查询",
        "description": "根据域名，查询其备案信息，包括公司名称、备案号、系统名称、备案类型、备案资料更新时间。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "com_name": {
                              "type": "string",
                              "description": "企业名称"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "状态码，0为请求成功，其余为请求失败，和计费无关，每次查询计费"
                            },
                            "num": {
                              "type": "string",
                              "description": "备案号"
                            },
                            "sys_name": {
                              "type": "string",
                              "description": "系统名称"
                            },
                            "type": {
                              "type": "string",
                              "description": "类型，比如个人或企业。"
                            },
                            "update_time": {
                              "type": "string",
                              "description": "更新时间"
                            },
                            "address": {
                              "type": "string",
                              "description": "地址"
                            },
                            "domain": {
                              "type": "string",
                              "description": "域名"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "846_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "domain": {
                    "type": "string",
                    "description": "域名"
                  }
                },
                "required": [
                  "domain"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/846?tab=book"
  },
  "x-apiCode": "846",
  "x-is-own": false,
  "x-is-op": true
}