财税精算与风控模型 · fin.rent.stress
CCFA 12%/18% 房租占比多情景压力测试
依据月租与毛利率反推健康(12%)与警戒(18%)营收刻度,输出三档承压结果。
请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/fin/rent-stress
单次计费
¥0.02 / 2 点沙箱体验
免费 20 次/日⚡ 在线调试台(Sandbox Debugger)
实时返回结果
{
"error_code": 0,
"reason": "Success",
"api_code": "fin.rent.stress",
"result": {
"healthyMonthlyRevenue12Pct": 150000
}
}
请求参数与返回字段说明
1. 请求参数
| 参数名 | 类型 | 必填 | 示例默认值 | 说明 |
|---|---|---|---|---|
monthlyRent |
number | 必填 | 18000 |
月租金(元) |
grossMarginPct |
number | 选填 | 62 |
综合毛利率(%) |
2. 核心返回字段(result)
| 字段路径 | 类型 | 说明 |
|---|---|---|
result.healthyMonthlyRevenue12Pct |
number | CCFA 12% 健康线月营业额 |
result.warningMonthlyRevenue18Pct |
number | 18% 警戒线月营业额 |
result.scenarios |
array | 三档压力情景 |
多语言接入代码示例
curl -s -X POST "https://www.xntou.cn/api/open/v1/fin/rent-stress" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_APP_KEY" \
-d '{"monthlyRent":18000,"grossMarginPct":62}'