{
  "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": {
    "/1889-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 20,
      "x-connect-timeout": 20,
      "post": {
        "summary": "精准网点查询",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示成功其他为失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "record": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "bank_full_name": {
                                    "type": "string",
                                    "description": "网点全称"
                                  },
                                  "bank_name": {
                                    "type": "string",
                                    "description": "所属银行"
                                  },
                                  "inter_bank_code": {
                                    "type": "string",
                                    "description": "联行号"
                                  },
                                  "pro": {
                                    "type": "string",
                                    "description": "省份"
                                  },
                                  "city": {
                                    "type": "string",
                                    "description": "城市"
                                  },
                                  "address": {
                                    "type": "string",
                                    "description": "网点地址（部分网点没有）"
                                  },
                                  "bank_code": {
                                    "type": "string",
                                    "description": "银行代码"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1889_2_POST",
        "parameters": [
          {
            "name": "pro",
            "in": "query",
            "description": "省区",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "description": "市",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bank",
            "in": "query",
            "description": "要查寻的银行名称，填写的越准确，查得率越高",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pro_code",
            "in": "query",
            "description": "省级行政区划代码",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city_code",
            "in": "query",
            "description": "市级别行政区划代码（4位），省直辖县可以使用6位行政区划代码查询",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "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/1889?tab=book"
  },
  "x-apiCode": "1889",
  "x-is-own": false,
  "x-is-op": false
}