单位换算器

单位换算器

会员服务

提供单位转换功能,通过API调用进行不同单位之间的转换,包括长度、重量、体积、温度、速度、时间、压力等各种常见的物理量单位。应用于科学研究、工程计算、物流运输等,为开发者提供方便、快捷和准确的单位转换功能。实现在线长度、面积、重量、体积、容量、温度计量、功率的压力等计量单位转换。

会员资源包统一计费,无需单独购买,开通会员包后可直接调用。
支持的类型
接入点说明
单位换算支持接口返回支持的类型,适用于日常生活、科学研究、工业生产等场景,帮助用户准确地进行各种单位之间的转换。
接口地址
https://route.showapi.com/1690-16?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST/GET
更新频率数据持续更新中,每次查询都返回最新更新数据
请求参数
Header 参数
参数名称类型示例值必须描述
content-typeString
application/x-www-form-urlencoded
Post 表单
参数名称类型示例值必须描述
typeString
longness
angle=角度

dataStorage=数据存储

speed=速度

time=时间

energy=力

density=密度

work=功、能、热

power=功率

pressure=压力

temperature=温度

weight=质量

volume=体积

area=面积

longness=长度
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
curl -X POST "https://route.showapi.com/1690-16?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "type=longness"
返回示例
JSON
{
  "showapi_res_error": "",
  "showapi_res_id": "7f8ed02656d644f6baa3c14a9a0572ce",
  "showapi_res_code": 0,
  "showapi_res_body": {
    "result": [
      {
        "unit": "英寸/秒",
        "type": "speed",
        "code": "in_s"
      },
      {
        "unit": "纳秒",
        "type": "time",
        "code": "ns"
      },
      {
        "unit": "立方厘米",
        "type": "volume",
        "code": "cm3"
      },
      {
        "unit": "寸",
        "type": "longness",
        "code": "cun"
      },
      {
        "unit": "平方厘米",
        "type": "area",
        "code": "cm2"
      },
      {
        "unit": "列氏度",
        "type": "temperature",
        "code": "oR"
      },
      {
        "unit": "千卡/秒",
        "type": "power",
        "code": "kcal_s"
      },
      {
        "unit": "达因",
        "type": "energy",
        "code": "dyn"
      },
      {
        "unit": "克力",
        "type": "energy",
        "code": "gf"
      },
      {
        "unit": "千兆字节",
        "type": "dataStorage",
        "code": "gb"
      },
      {
        "unit": "英寻",
        "type": "longness",
        "code": "fm"
      },
      {
        "unit": "公亩",
        "type": "area",
        "code": "are"
      },
      {
        "unit": "平方公顷",
        "type": "area",
        "code": "qing2"
      },
      {
        "unit": "丈",
        "type": "longness",
        "code": "zhang"
      },
      {
        "unit": "毫巴",
        "type": "pressure",
        "code": "mbar"
      },
      {
        "unit": "千磅力",
        "type": "energy",
        "code": "kip"
      },
      {
        "unit": "英尺",
        "type": "longness",
        "code": "ft"
      },
      {
        "unit": "公斤·米",
        "type": "work",
        "code": "kg_m"
      },
      {
        "unit": "圆周",
        "type": "angle",
        "code": "circumference"
      },
      {
        "unit": "米/秒",
        "type": "speed",
        "code": "m_s"
      },
      {
        "unit": "百帕",
        "type": "pressure",
        "code": "hpa"
      },
      {
        "unit": "盎司",
        "type": "weight",
        "code": "oz"
      },
      {
        "unit": "公顷",
        "type": "area",
        "code": "ha"
      },
      {
        "unit": "比特",
        "type": "dataStorage",
        "code": "bit"
      },
      {
        "unit": "英尺·磅",
        "type": "work",
        "code": "ft_lb"
      },
      {
        "unit": "帕斯卡",
        "type": "pressure",
        "code": "pa"
      },
      {
        "unit": "拍字节",
        "type": "dataStorage",
        "code": "pb"
      },
      {
        "unit": "分",
        "type": "angle",
        "code": "branch"
      },
      {
        "unit": "分",
        "type": "longness",
        "code": "fen"
      },
      {
        "unit": "皮米",
        "type": "longness",
        "code": "pm"
      },
      {
        "unit": "兆帕",
        "type": "pressure",
        "code": "mpa"
      },
      {
        "unit": "立方英寸",
        "type": "volume",
        "code": "cu_in"
      },
      {
        "unit": "格令",
        "type": "weight",
        "code": "gr"
      },
      {
        "unit": "巴",
        "type": "pressure",
        "code": "bar"
      },
      {
        "unit": "公斤·米/秒",
        "type": "power",
        "code": "kg_m_s"
      },
      {
        "unit": "两",
        "type": "weight",
        "code": "liang"
      },
      {
        "unit": "千帕",
        "type": "pressure",
        "code": "kpa"
      },
      {
        "unit": "千克力",
        "type": "energy",
        "code": "kgf"
      },
      {
        "unit": "英制马力·时",
        "type": "work",
        "code": "hp_h"
      },
      {
        "unit": "毫弧度",
        "type": "angle",
        "code": "mrad"
      },
      {
        "unit": "长吨",
        "type": "weight",
        "code": "lt"
      },
      {
        "unit": "艾字节",
        "type": "dataStorage",
        "code": "eb"
      },
      {
        "unit": "毫米汞柱",
        "type": "pressure",
        "code": "nnhg"
      },
      {
        "unit": "光年",
        "type": "longness",
        "code": "ly"
      },
      {
        "unit": "米制马力·时",
        "type": "work",
        "code": "ps_h"
      },
      {
        "unit": "千克/立方分米",
        "type": "density",
        "code": "kg_dm3"
      },
      {
        "unit": "平方英寸",
        "type": "area",
        "code": "sq_in"
      },
      {
        "unit": "亩英尺",
        "type": "volume",
        "code": "mu_ft"
      },
      {
        "unit": "平方竿",
        "type": "area",
        "code": "sq_rd"
      },
      {
        "unit": "牛顿·米/秒",
        "type": "power",
        "code": "N_m_s"
      },
      {
        "unit": "兆字节",
        "type": "dataStorage",
        "code": "mb"
      },
      {
        "unit": "分米",
        "type": "longness",
        "code": "dm"
      },
      {
        "unit": "毫克",
        "type": "weight",
        "code": "mg"
      },
      {
        "unit": "分升",
        "type": "volume",
        "code": "dl"
      },
      {
        "unit": "弗隆",
        "type": "longness",
        "code": "fur"
      },
      {
        "unit": "英里/时",
        "type": "speed",
        "code": "mile_h"
      },
      {
        "unit": "毫升",
        "type": "volume",
        "code": "ml"
      },
      {
        "unit": "英里",
        "type": "longness",
        "code": "mi"
      },
      {
        "unit": "打兰",
        "type": "weight",
        "code": "dr"
      },
      {
        "unit": "分",
        "type": "time",
        "code": "min"
      },
      {
        "unit": "毫米",
        "type": "longness",
        "code": "mm"
      },
      {
        "unit": "克",
        "type": "weight",
        "code": "g"
      },
      {
        "unit": "天",
        "type": "time",
        "code": "d"
      },
      {
        "unit": "微升",
        "type": "volume",
        "code": "ul"
      },
      {
        "unit": "字节",
        "type": "dataStorage",
        "code": "b"
      },
      {
        "unit": "光速",
        "type": "speed",
        "code": "c"
      },
      {
        "unit": "毫秒",
        "type": "time",
        "code": "ms"
      },
      {
        "unit": "def千克/立方厘米",
        "type": "density",
        "code": "kg_cm3"
      },
      {
        "unit": "牛",
        "type": "energy",
        "code": "n"
      },
      {
        "unit": "焦耳/秒",
        "type": "power",
        "code": "j_s"
      },
      {
        "unit": "升",
        "type": "volume",
        "code": "l"
      },
      {
        "unit": "米",
        "type": "longness",
        "code": "m"
      },
      {
        "unit": "焦耳",
        "type": "work",
        "code": "j"
      },
      {
        "unit": "海里",
        "type": "longness",
        "code": "nmi"
      },
      {
        "unit": "微米",
        "type": "longness",
        "code": "um"
      },
      {
        "unit": "时",
        "type": "time",
        "code": "h"
      },
      {
        "unit": "平方寸",
        "type": "area",
        "code": "cun2"
      },
      {
        "unit": "英热单位",
        "type": "work",
        "code": "btu"
      },
      {
        "unit": "瓦",
        "type": "power",
        "code": "w"
      },
      {
        "unit": "分",
        "type": "weight",
        "code": "point"
      },
      {
        "unit": "度",
        "type": "angle",
        "code": "degree"
      },
      {
        "unit": "吨",
        "type": "weight",
        "code": "t"
      },
      {
        "unit": "秒",
        "type": "time",
        "code": "s"
      },
      {
        "unit": "英担",
        "type": "weight",
        "code": "uk_dan"
      },
      {
        "unit": "摄氏度",
        "type": "temperature",
        "code": "oC"
      },
      {
        "unit": "英热单位/秒",
        "type": "power",
        "code": "btu_s"
      },
      {
        "unit": "公担",
        "type": "weight",
        "code": "q"
      },
      {
        "unit": "立方英尺",
        "type": "volume",
        "code": "cu_ft"
      },
      {
        "unit": "华氏度",
        "type": "temperature",
        "code": "oF"
      },
      {
        "unit": "开氏度",
        "type": "temperature",
        "code": "oK"
      },
      {
        "unit": "千瓦·时/度",
        "type": "work",
        "code": "kw_h"
      },
      {
        "unit": "英石",
        "type": "weight",
        "code": "uk_st"
      },
      {
        "unit": "周",
        "type": "time",
        "code": "week"
      },
      {
        "unit": "纳米",
        "type": "longness",
        "code": "nm"
      },
      {
        "unit": "毫",
        "type": "longness",
        "code": "hao"
      },
      {
        "unit": "千克/立方米",
        "type": "density",
        "code": "kg_m3"
      },
      {
        "unit": "微克",
        "type": "weight",
        "code": "μg"
      },
      {
        "unit": "英亩",
        "type": "area",
        "code": "acre"
      },
      {
        "unit": "公吨力",
        "type": "energy",
        "code": "tf"
      },
      {
        "unit": "美担",
        "type": "weight",
        "code": "us_dan"
      },
      {
        "unit": "直角",
        "type": "angle",
        "code": "right_angle"
      },
      {
        "unit": "千焦",
        "type": "work",
        "code": "kj"
      },
      {
        "unit": "磅力/平方英尺",
        "type": "pressure",
        "code": "psf"
      },
      {
        "unit": "克/立方厘米",
        "type": "density",
        "code": "g_cm3"
      },
      {
        "unit": "斤",
        "type": "weight",
        "code": "jin"
      },
      {
        "unit": "千克",
        "type": "weight",
        "code": "kg"
      },
      {
        "unit": "太字节",
        "type": "dataStorage",
        "code": "tb"
      },
      {
        "unit": "克/立方分米",
        "type": "density",
        "code": "g_dm3"
      },
      {
        "unit": "平方分米",
        "type": "area",
        "code": "dm2"
      },
      {
        "unit": "磅力/平方英寸",
        "type": "pressure",
        "code": "psi"
      },
      {
        "unit": "立方分米",
        "type": "volume",
        "code": "dm3"
      },
      {
        "unit": "钱",
        "type": "weight",
        "code": "qian"
      },
      {
        "unit": "千字节",
        "type": "dataStorage",
        "code": "kb"
      },
      {
        "unit": "厘",
        "type": "longness",
        "code": "lli"
      },
      {
        "unit": "微秒",
        "type": "time",
        "code": "μs"
      },
      {
        "unit": "短吨",
        "type": "weight",
        "code": "st"
      },
      {
        "unit": "千瓦",
        "type": "power",
        "code": "kw"
      },
      {
        "unit": "亩",
        "type": "area",
        "code": "mu2"
      },
      {
        "unit": "平方尺",
        "type": "area",
        "code": "chi2"
      },
      {
        "unit": "天文单位",
        "type": "longness",
        "code": "AU"
      },
      {
        "unit": "平方米",
        "type": "area",
        "code": "m2"
      },
      {
        "unit": "立方米",
        "type": "volume",
        "code": "m3"
      },
      {
        "unit": "立方毫米",
        "type": "volume",
        "code": "mm3"
      },
      {
        "unit": "毫米水柱",
        "type": "pressure",
        "code": "mmwater"
      },
      {
        "unit": "平方毫米",
        "type": "area",
        "code": "mm2"
      },
      {
        "unit": "美制加仑",
        "type": "volume",
        "code": "us_gal"
      },
      {
        "unit": "千米",
        "type": "longness",
        "code": "km"
      },
      {
        "unit": "克拉",
        "type": "weight",
        "code": "ct"
      },
      {
        "unit": "千牛",
        "type": "energy",
        "code": "kn"
      },
      {
        "unit": "里",
        "type": "longness",
        "code": "li"
      },
      {
        "unit": "平方英尺",
        "type": "area",
        "code": "sq_ft"
      },
      {
        "unit": "厘米",
        "type": "longness",
        "code": "cm"
      },
      {
        "unit": "尺",
        "type": "longness",
        "code": "chi"
      },
      {
        "unit": "担",
        "type": "weight",
        "code": "dan"
      },
      {
        "unit": "百分度",
        "type": "angle",
        "code": "gon"
      },
      {
        "unit": "厘升",
        "type": "volume",
        "code": "cl"
      },
      {
        "unit": "马赫",
        "type": "speed",
        "code": "mach"
      },
      {
        "unit": "磅",
        "type": "weight",
        "code": "lb"
      },
      {
        "unit": "英寸汞柱",
        "type": "pressure",
        "code": "in_hg"
      },
      {
        "unit": "英制马力",
        "type": "power",
        "code": "hp"
      },
      {
        "unit": "克/立方米",
        "type": "density",
        "code": "g_m3"
      },
      {
        "unit": "千米/时",
        "type": "speed",
        "code": "km_h"
      },
      {
        "unit": "平方千米",
        "type": "area",
        "code": "km2"
      },
      {
        "unit": "美制液体盎司",
        "type": "volume",
        "code": "us_oz"
      },
      {
        "unit": "立方码",
        "type": "volume",
        "code": "cu_yd"
      },
      {
        "unit": "公石",
        "type": "volume",
        "code": "hl"
      },
      {
        "unit": "标准大气压",
        "type": "pressure",
        "code": "atm"
      },
      {
        "unit": "公斤力/平方米",
        "type": "pressure",
        "code": "kgf_m2"
      },
      {
        "unit": "千米/秒",
        "type": "speed",
        "code": "km_s"
      },
      {
        "unit": "卡",
        "type": "work",
        "code": "cal"
      },
      {
        "unit": "英寸",
        "type": "longness",
        "code": "inch"
      },
      {
        "unit": "平方码",
        "type": "area",
        "code": "sq_yd"
      },
      {
        "unit": "码",
        "type": "longness",
        "code": "yd"
      },
      {
        "unit": "英制加仑",
        "type": "volume",
        "code": "uk_gal"
      },
      {
        "unit": "英制液体盎司",
        "type": "volume",
        "code": "uk_oz"
      },
      {
        "unit": "千卡",
        "type": "work",
        "code": "kcal"
      },
      {
        "unit": "公斤力/平方厘米",
        "type": "pressure",
        "code": "kgf_cm2"
      },
      {
        "unit": "英尺·磅/秒",
        "type": "power",
        "code": "ft_lb_s"
      },
      {
        "unit": "分",
        "type": "area",
        "code": "fen2"
      },
      {
        "unit": "平方英里",
        "type": "area",
        "code": "sq_mi"
      },
      {
        "unit": "磅力",
        "type": "energy",
        "code": "lbf"
      },
      {
        "unit": "秒",
        "type": "angle",
        "code": "sec"
      },
      {
        "unit": "年",
        "type": "time",
        "code": "yr"
      },
      {
        "unit": "弧度",
        "type": "angle",
        "code": "rad"
      },
      {
        "unit": "米制马力",
        "type": "power",
        "code": "ps"
      },
      {
        "unit": "兰氏度",
        "type": "temperature",
        "code": "oRe"
      }
    ],
    "ret_code": 0
  }
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-1690": {
      "url": "http://www.showapi.com.cn/mcp/1690/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。