通过分析上网信息,实时获取客户端公网IP及所在城市,支持网络安全管理与市场地域分析。
调用此接口无需额外参数,将返回用户所在外网的IP地址及对应地理位置信息。
showapi_res_body
curl -X POST "https://route.showapi.com/632-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded"
{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body": { "region": "云南", "county": "", "isp": "移动", "continents": "亚洲", "en_name": "China", "city_code": "530100", "lnt": "102.712251", "lat": "25.040609", "en_name_short": "CN", "ip": "183.225.1.165", "city": "昆明", "country": "中国" } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-632": { "url": "http://www.showapi.com.cn/mcp/632/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033