/v1/volume
Cubic volume (Smalian/Huber)
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/logscale-api/v1/volume" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/logscale-api/v1/volume", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/logscale-api/v1/volume");
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/volume",
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": "Smalian's = (large-end area + small-end area) ÷ 2 × length. Huber's = mid area × length (usually the most accurate). Areas use diameter inside bark. 128 ft³ = 1 stacked cord.",
"inputs": {
"length_ft": 16,
"small_diameter_in": 18
},
"huber_cuft": 34.907,
"huber_cords": 0.273,
"smalian_cuft": 35.256,
"smalian_cords": 0.275,
"mid_diameter_in": 20,
"large_diameter_in": 22
},
"meta": {
"timestamp": "2026-06-06T07:14:03.501Z",
"request_id": "6331830d-b008-44ff-8183-5fa735fd0c4e"
},
"status": "ok",
"message": "Log volume",
"success": true
}