Vai al contenuto
GET /v1/dry-weight

Oven-dry weight from a reading

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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