法律合规与合同审校 · law.standards.query
A1 国家强制标准(消防/排烟/配电)检索
检索 GB 50016、GB 18483、GB 50054、GB 22337 等开店硬性国标阈值与示范条款。
请求地址(支持 GET / POST)
GET https://www.xntou.cn/api/open/v1/law/standards-query
单次计费
¥0.02 / 2 点沙箱体验
免费 20 次/日⚡ 在线调试台(Sandbox Debugger)
实时返回结果
{
"error_code": 0,
"reason": "Success",
"api_code": "law.standards.query",
"result": {
"total": 3,
"items": []
}
}
请求参数与返回字段说明
1. 请求参数
| 参数名 | 类型 | 必填 | 示例默认值 | 说明 |
|---|---|---|---|---|
q |
string | 选填 | 消防 排烟 380V |
国标关键词或标准号 |
limit |
number | 选填 | 5 |
返回条数(1-20) |
2. 核心返回字段(result)
| 字段路径 | 类型 | 说明 |
|---|---|---|
result.total |
number | 命中总数 |
result.items |
array | 标准条目列表(含阈值与检查清单) |
多语言接入代码示例
curl -s "https://www.xntou.cn/api/open/v1/law/standards-query?key=YOUR_APP_KEY&q=%E6%B6%88%E9%98%B2%20%E6%8E%92%E7%83%9F&limit=3"