Zum Inhalt springen
GET /v1/moisture-content

Moisture content from wet and dry

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/woodmoisture-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Moisture content is the water in the wood as a percent of the wood's weight. The forestry/woodworking standard is the dry basis: water ÷ oven-dry weight × 100 — so a piece weighing 120 g that dries to 100 g holds 20 g of water and is 20 % MC. The wet (green) basis divides by the wet weight instead (here 16.7 %); paper and agriculture often use it, so always state which. Above ~28–30 % (fibre saturation) the wood is still losing free water and has not begun to shrink.",
        "inputs": {
            "dry_weight_g": 100,
            "wet_weight_g": 120
        },
        "water_weight_g": 20,
        "moisture_content_dry_basis_pct": 20,
        "moisture_content_wet_basis_pct": 16.667
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:53.842Z",
        "request_id": "9fb06e3b-41bd-4ae9-b8e3-d668cf5a9158"
    },
    "status": "ok",
    "message": "Moisture content",
    "success": true
}