Ir al contenido
GET /v1/dry-weight

Oven-dry weight from a reading

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/woodmoisture-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}