# Generated by ShowAPI OpenAPI generator # source: market/632 # generated-at: 2026-09-04T12:15:44.434Z openapi: 3.0.3 info: title: 获取外网IP description: 通过分析上网信息,实时获取客户端公网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: false