Vai al contenuto
GET /v1/moldfill

Mould fill volume

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/resin-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}