Vai al contenuto
GET /v1/meta

Spec

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "Grams. Dry basis: MC = (wet−dry)/dry·100. dry = wet/(1+MC/100); target = dry·(1+target/100). Forestry/woodworking uses dry basis; agriculture often wet basis. For board feet use a lumber API; for a wood-stack volume a firewood API.",
        "service": "woodmoisture-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/dry-weight": "Oven-dry weight and water from a wet weight and a moisture content.",
            "GET /v1/target-weight": "Target weight and water to lose to reach a target moisture content.",
            "GET /v1/moisture-content": "Dry- and wet-basis MC and water weight from wet and oven-dry weights."
        },
        "description": "Wood-moisture maths: moisture content (dry and wet basis), oven-dry weight, and the weight and water to reach a target moisture content."
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:54.031Z",
        "request_id": "d6c8d39e-394e-4390-ab63-70a8bdf73c64"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}