Naar de inhoud
GET /v1/dry-weight

Oven-dry weight from a reading

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "From a current weight and a meter's moisture reading (dry basis), the oven-dry weight = the wet weight ÷ (1 + MC/100), and the rest is water. A 120 g board reading 20 % MC has 100 g of actual wood and 20 g of water. This back-calculated dry weight is the anchor for any drying target, because the wood substance does not change as the water leaves.",
        "inputs": {
            "wet_weight_g": 120,
            "moisture_content_pct": 20
        },
        "water_weight_g": 20,
        "oven_dry_weight_g": 100
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:53.743Z",
        "request_id": "2fa66f71-40a3-45c8-9033-372a59f9c8d3"
    },
    "status": "ok",
    "message": "Dry weight",
    "success": true
}