Vai al contenuto
GET /v1/boardfeet

Board-foot yield (log rules)

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "Board feet of sawn lumber a round log will yield, by the three standard rules. Doyle under-scales small logs and over-scales big ones; International ¼\" is the most accurate; Scribner sits between. Diameter is the small end inside bark.",
        "total": {
            "doyle": 256,
            "scribner": 272,
            "international_quarter_inch": 320
        },
        "inputs": {
            "logs": 1,
            "length_ft": 16,
            "diameter_in": 20
        },
        "per_log": {
            "doyle": 256,
            "scribner": 272,
            "international_quarter_inch": 320
        }
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:03.405Z",
        "request_id": "0cee1f1f-bbc6-4049-b9a5-4aacd82970ae"
    },
    "status": "ok",
    "message": "Log board feet",
    "success": true
}