3D Print Quote API for Businesses

Model quote payloads and outputs using consistent cost rules, margin controls, and urgency tiers.

Quote output

  • Estimated grams52.1 g
  • Material cost$1.15
  • Machine cost$10.80
  • Post-processing cost$4.80
  • Subtotal$16.75
  • With overhead$18.76
  • Unit quote$30.25
  • Batch quote$605.01

Sample request payload

{
  "part": {
    "volume_cm3": 42,
    "density_g_cm3": 1.24
  },
  "pricing": {
    "material_cost_per_g": 0.022,
    "machine_hours": 4.5,
    "machine_rate_per_h": 2.4,
    "post_minutes": 18,
    "labor_rate_per_h": 16,
    "overhead_pct": 12,
    "target_margin_pct": 38
  },
  "quantity": 20,
  "urgency_tier": "standard"
}

Sample response payload

{
  "ok": true,
  "unit_quote_usd": 30.25,
  "batch_quote_usd": 605.01,
  "line_items": {
    "material": 1.15,
    "machine": 10.8,
    "post_processing": 4.8,
    "subtotal": 16.75,
    "overhead_applied_subtotal": 18.76
  }
}

cURL example

curl -X POST https://api.layermath.com/v1/quotes \
+  -H "Content-Type: application/json" \
+  -d '{  "part": {    "volume_cm3": 42,    "density_g_cm3": 1.24  },  "pricing": {    "material_cost_per_g": 0.022,    "machine_hours": 4.5,    "machine_rate_per_h": 2.4,    "post_minutes": 18,    "labor_rate_per_h": 16,    "overhead_pct": 12,    "target_margin_pct": 38  },  "quantity": 20,  "urgency_tier": "standard"}'

Related tools & guides