Material Cost
Predict material cost from project specifications.
Endpoint POST https://api.dryapi.dev/predict
Predicts material cost
Calibration 86%
MAPE 10.2%
MAE $200
R² 0.96
Latency 7ms
Cost 5 cr / call
Popularity rank #42
Pricing
Every plan includes all 17 APIs. This model costs 5 credits / call, so each plan buys the calls below.
Calibration (coverage)
86%
Out-of-sample coverage verified on held-out data — a 86% interval really covers 86% of observations.
Data coverage
Geography US project specifications across common building systems.
Temporal Recent material pricing, refreshed monthly.
Limitations Commodity price spikes (e.g., lumber, steel) can shift costs outside model bands.
Quickstart
request — curl
curl -X POST https://api.dryapi.dev/predict \
-H "Authorization: Bearer $DRYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "construction/material/v1",
"features": {
// one row per input column the model expects
}
}' response
{
"value": 3.2,
"interval": [2.8, 3.6],
"confidence_interval": { "lower": 2.8, "upper": 3.6, "coverage": 0.86 },
"confidence": { "level": 0.86, "score": 0.84 },
"top_factors": [
{ "feature": "sqft", "impact": 0.42 },
{ "feature": "zip", "impact": 0.31 },
{ "feature": "beds", "impact": 0.18 }
]
}