{
  "openapi": "3.0.3",
  "info": {
    "title": "IPv4归属地-国内街道级",
    "description": "全球IPv4归属地查询-国内街道级-国内版套餐可查询中国地区（含港澳台）IPv4归属地信息，返回字段包括所属七大洲、国家、国家英文简写、省份、城市、区县、街道、经度、纬度、行政区码、运营商、时区、海发、气象站、邮编、城市代码\n。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/3238-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "v4国内街道",
        "description": "可查询中国地区（含港澳台）IPv4归属地信息，返回字段包括所属七大洲、国家、国家英文简写、省份、城市、区县、街道、经度、纬度、行政区码、运营商、时区、海发、气象站、邮编、城市代码 。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "continent": {
                              "type": "string",
                              "description": "所属七大洲"
                            },
                            "country": {
                              "type": "string",
                              "description": "国家"
                            },
                            "country_code": {
                              "type": "string",
                              "description": "国家英文简写"
                            },
                            "province": {
                              "type": "string",
                              "description": "省份"
                            },
                            "city": {
                              "type": "string",
                              "description": "城市"
                            },
                            "district": {
                              "type": "string",
                              "description": "区县"
                            },
                            "street": {
                              "type": "string",
                              "description": "街道"
                            },
                            "longitude": {
                              "type": "string",
                              "description": "经度"
                            },
                            "latitude": {
                              "type": "string",
                              "description": "纬度"
                            },
                            "area_code": {
                              "type": "string",
                              "description": "行政区码"
                            },
                            "isp": {
                              "type": "string",
                              "description": "运营商"
                            },
                            "time_zone": {
                              "type": "string",
                              "description": "时区"
                            },
                            "elevation": {
                              "type": "string",
                              "description": "海拔"
                            },
                            "weather_station": {
                              "type": "string",
                              "description": "气象站"
                            },
                            "zip_code": {
                              "type": "string",
                              "description": "邮编"
                            },
                            "city_code": {
                              "type": "string",
                              "description": "城市代码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3238_1_POST",
        "parameters": [
          {
            "name": "ip",
            "in": "query",
            "description": "请求的IP地址",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "产品密钥",
            "required": true,
            "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/3238?tab=book"
  },
  "x-apiCode": "3238",
  "x-is-own": false,
  "x-is-op": true
}