提供单位转换功能,通过API调用进行不同单位之间的转换,包括长度、重量、体积、温度、速度、时间、压力等各种常见的物理量单位。应用于科学研究、工程计算、物流运输等,为开发者提供方便、快捷和准确的单位转换功能。实现在线长度、面积、重量、体积、容量、温度计量、功率的压力等计量单位转换。
在线公里(km)、米(m)、分米(dm)、厘米(cm)、里、丈、尺、寸、分、厘、海里(nmi)、英寻、英里、弗隆(fur)、码(yd)、英尺(ft)、英寸(in)、毫米(mm)、微米(um)等单位转换
showapi_res_body
curl -X POST "https://route.showapi.com/1690-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "num=1&from=cm&to=m&type=longness"
{ "showapi_res_code":0, "showapi_res_error":"", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body":{ "ret_code":0, "remark":"查询成功!", "result_list":[ { "result":1550.0031000063, "unit":"平方英寸", "type":"area", "result_str":"1550.0031000063" } ] } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1690": { "url": "http://www.showapi.com.cn/mcp/1690/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033