{
  "openapi": "3.0.3",
  "info": {
    "title": "获取外网IP",
    "description": "通过分析客户的上网信息，能够实时获取客户端在访问互联网时所使用的公网IP地址及其对应的地理位置信息。这不仅包括具体的IP地址，还包括该IP所在的的城市，从而为您提供全面的上网信息。无论您是需要进行网络安全管理，还是市场地域分析，我们的服务都能为您提供准确的数据支持。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/632-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "获取外网IP",
        "description": "不需要额外的参数。只要调用此接口，接口将返回用者所在ip的信息及地址位置。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "region": {
                              "type": "string",
                              "description": "省份"
                            },
                            "county": {
                              "type": "string",
                              "description": "乡镇"
                            },
                            "isp": {
                              "type": "string",
                              "description": "运营商"
                            },
                            "continents": {
                              "type": "string",
                              "description": "七大洲的哪一个"
                            },
                            "en_name": {
                              "type": "string",
                              "description": "国家英文名"
                            },
                            "city_code": {
                              "type": "string",
                              "description": "城市编码"
                            },
                            "lnt": {
                              "type": "string",
                              "description": "经度"
                            },
                            "lat": {
                              "type": "string",
                              "description": "请填写参数描述"
                            },
                            "en_name_short": {
                              "type": "string",
                              "description": "纬度"
                            },
                            "city": {
                              "type": "string",
                              "description": "城市名称"
                            },
                            "country": {
                              "type": "string",
                              "description": "国家"
                            },
                            "ip": {
                              "type": "string",
                              "description": "调用者ip"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "632_1_POST",
        "parameters": []
      }
    }
  },
  "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/632?tab=book"
  },
  "x-apiCode": "632",
  "x-is-own": false,
  "x-is-op": true
}