/v1/moldfill
Mould fill volume
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/resin-api/v1/moldfill" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/resin-api/v1/moldfill", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/resin-api/v1/moldfill");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/resin-api/v1/moldfill",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Mould volume by shape (box L×W×H; cylinder/cone use πD²; sphere πD³/6). Subtract the volume of anything you embed (a displacement measurement works well). 1 cm³ = 1 ml; mass = volume × density (cured epoxy ≈ 1.1 g/cm³).",
"inputs": {
"shape": "box",
"width_cm": 10,
"height_cm": 5,
"length_cm": 10,
"embedded_cm3": 0,
"density_g_cm3": 1.1
},
"resin_mass_g": 550,
"mold_volume_cm3": 500,
"resin_volume_ml": 500,
"resin_volume_cm3": 500,
"resin_volume_fl_oz": 16.91
},
"meta": {
"timestamp": "2026-06-06T07:14:02.734Z",
"request_id": "c57c3089-5c74-4e71-9457-5590631ed16a"
},
"status": "ok",
"message": "Mold fill",
"success": true
}