/v1/boardfeet
Board feet
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/lumber-api/v1/boardfeet" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lumber-api/v1/boardfeet", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lumber-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/lumber-api/v1/boardfeet",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Board feet = (thickness_in × width_in × length_ft) / 12. One board foot is 144 in³ of wood.",
"inputs": {
"width": 4,
"length": 8,
"quantity": 10,
"thickness": 2
},
"board_feet_each": 5.3333,
"board_feet_total": 53.3333,
"linear_feet_total": 80
},
"meta": {
"timestamp": "2026-06-04T18:38:16.628Z",
"request_id": "4dca6df2-9d87-480b-8de2-7d079c0ed0b6"
},
"status": "ok",
"message": "Board feet",
"success": true
}