POST https://textile.golddigger.gold/api/verify/ink
Content-Type: application/json
Authorization: Bearer gd_xxxxxxxxxxxx
{
"name": "活性蓝 2BL 墨水",
"supplier": "浙江某某印染",
"ink_type": "reactive",
"cas_list": ["110-18-9", "2683-64-7"],
"certificates": ["GOTS", "OEKO-TEX"]
}
响应:
{
"record_id": "TX-INK-a1b2c3d4e5f6a7b8",
"verified": true,
"confidence": 0.85,
"schema_ref": "schemas/zdhc_mrsl.schema.json",
"compliance": {
"mrsl_version": "ZDHC MRSL 2.1",
"mrsl_hits": [],
"cert_count": 2
}},
"evidence": [
{ "type": "mrsl_scan", "result": "clean", ... }
]
}
🔑 API Key 机制
- 明文仅签发一次展示
- 库内只存 SHA256 hash
- scope 分级(凭证只读)
- 吊销 + 审计日志
📊 配额机制
- Starter ¥0: 20 次/天
- Pro ¥199: 100 次/天
- Premium ¥1,999: 500 次/天
- Whitelabel ¥5,999: 无限