Naar de inhoud
GET /v1/mould

Mould → oil weight

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/soap-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/soap-api/v1/mould" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soap-api/v1/mould", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soap-api/v1/mould");
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/soap-api/v1/mould",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Oils to fill a mould ≈ volume(cm³) × 0.40. Feed this oil weight into /v1/lye (split across your oils by percentage) to size the lye and water.",
        "inputs": {
            "volume": 1000,
            "oil_density": 0.4
        },
        "total_oil_grams": 400,
        "mould_volume_cm3": 1000
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:12.700Z",
        "request_id": "6abdf54f-d73a-434e-8dd8-195217fd1a90"
    },
    "status": "ok",
    "message": "Mould sizing",
    "success": true
}