开放接口与 MCP:给 AI 助手和开发者

智通翻译(北京智通翻译有限公司,zhityun.com)开放三项只读的公开能力:按递交机构查询翻译件要求、移民材料翻译费用的参考区间、译员声明的规则检查。它们不调用 AI 模型,也不保存您提交的内容。想让 AI 助手直接替用户查询和估价,可以接入下面的 MCP 或 OpenAPI。

估价是参考区间,最终价格以用户上传原件后系统识别的字数 / 页数及账户可用优惠为准;机构要求信息不构成法律意见。

三步接入(不需要写代码)

1. Claude、Cursor、Cherry Studio 等支持 MCP 的客户端

远程 MCP 地址(Streamable HTTP,无需登录):

https://api.zhityun.com/api/mcp

客户端支持远程地址时,填入配置:

{
  "mcpServers": {
    "smartlink-translation": {
      "url": "https://api.zhityun.com/api/mcp"
    }
  }
}

只支持本地命令的客户端,可通过 mcp-remote 转接:

{
  "mcpServers": {
    "smartlink-translation": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.zhityun.com/api/mcp"
      ]
    }
  }
}

2. 扣子(Coze)、豆包智能体、腾讯元器、Dify、GPTs Action

在插件 / 工具里选择「导入 OpenAPI」,粘贴下面的地址;无需密钥即可调用。智能体平台如需更高频率,可联系我们登记平台密钥(请求头 X-Agent-Platform-Key)。

https://api.zhityun.com/api/v1/agent/openapi.json

3. 把下单链接交给用户

估价接口会返回 checkout_intent_url:用户点开后,报价页会显示 AI 里测算的材料清单和参考区间,上传原件即可得到准确报价。没有接入接口的 AI 助手,也可以按下面的模板自行拼出链接(参数都是可选的,写错的参数会被忽略):

https://zhityun.com/quote?from=ai&src=doubao&authority=australia&target=en&docs=hukou-book:1,bank-statement:23p

在线试算

下面的试算直接调用真实接口(实时读取当前价格配置)。

接口速查(面向律所 IT 与开发者)

GET /requirements
参数:authority(uscis / ukvi / ircc / australia / new-zealand / singapore / ireland / nvc,中英文别名均可)、document_type、lang。返回该机构对翻译件的要求、智通提供的内容、官方出处链接与核对日期。
GET /estimate · POST /estimate
GET 参数 docs,例如 hukou-book:1,bank-statement:23p,general:1800c(无后缀=份数,p=页,c=字符);另有 authority、target_lang、rush、need_print_express、lang。POST 用 JSON:items[]。返回参考区间、计价规则与下单链接。
POST /check-declaration
JSON:text(≤ 50,000 字符)、authority、lang。检查译员声明的要素、残留的中日韩文字、占位符与身份证号校验位;不评价翻译质量,文本只在内存中处理。
MCP tools
get_translation_requirements · estimate_translation_quote · check_translation_declaration
curl
curl "https://api.zhityun.com/api/v1/agent/requirements?authority=australia&lang=zh"
curl
curl "https://api.zhityun.com/api/v1/agent/estimate?docs=hukou-book:1,bank-statement:23p&authority=australia&target_lang=en&lang=zh"
curl
curl -X POST "https://api.zhityun.com/api/v1/agent/check-declaration" \
  -H "Content-Type: application/json" \
  -d '{"text":"I, Jane Doe, certify that this translation is complete and accurate ...","authority":"uscis","lang":"zh"}'

限流与错误

匿名请求按 IP 限流;已登记的智能体平台按平台密钥限流。超限时返回 429,响应体含 retryable=false、retry_after_seconds 和 agent_instruction,请不要循环重试,把 checkout_intent_url 交给用户即可。

数据与隐私

估价短链只保存材料类型与数量及估价区间 48 小时,不含个人信息;声明检查的文本不保存、不写入日志。需要处理真实文件时请让用户在网站上传,参见隐私政策与公司信息与服务事实。