/v1/moldfill
Mould fill volume
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}