根据提供的有效长网址,进行相应转换,生成180天有效、省空间的短网址。解决长网址传播受限的问题,缩短网址字符数,易于传播。广泛应用于APP分享、短信营销拍档、二维码简化等应用场景。
showapi_res_body
curl -X POST "https://route.showapi.com/1817-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "url=http%3A%2F%2Ffinance.sina.com.cn%2Frealstock%2Fcompany%2Fsh000001%2Fnc.shtml"
{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body": { "ret_code": "0", "remark": "生成成功!", "shortUrl": "http://t.cn/R08PhQQ", "originalUrl": "" } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1817": { "url": "http://www.showapi.com.cn/mcp/1817/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033