工程装修与视觉设计 · eng.boq.estimate
城市 × 面积三档透明 BOQ 造价与工期测算
计算经济、标准、旗舰三档装修总价、单方造价、半包/主材配比与参考工期。
请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/eng/boq-estimate
单次计费
¥0.03 / 3 点沙箱体验
免费 20 次/日⚡ 在线调试台(Sandbox Debugger)
实时返回结果
{
"error_code": 0,
"reason": "Success",
"api_code": "eng.boq.estimate",
"result": {
"cityFactor": 1.15
}
}
请求参数与返回字段说明
1. 请求参数
| 参数名 | 类型 | 必填 | 示例默认值 | 说明 |
|---|---|---|---|---|
city |
string | 选填 | shanghai |
城市 slug 或名称 |
areaSqm |
number | 必填 | 85 |
建筑面积或套内面积(㎡) |
isCommercial |
boolean | 选填 | false |
是否为商业公装 |
2. 核心返回字段(result)
| 字段路径 | 类型 | 说明 |
|---|---|---|
result.economy |
object | 经济实用档造价与工期 |
result.standard |
object | 标准品质档造价与工期 |
result.flagship |
object | 旗舰定制档造价与工期 |
多语言接入代码示例
curl -s -X POST "https://www.xntou.cn/api/open/v1/eng/boq-estimate" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_APP_KEY" \
-d '{"city":"shanghai","areaSqm":85,"isCommercial":false}'