Skip to content
GET /v1/volume

Stack volume to cords

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/firewood-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "1 cord = 128 ft³ (4×4×8 ft). A face cord is 8×4 ft by the piece length (default 16 in). 1 stere = 1 m³.",
        "input": {
            "unit": "ft",
            "depth": 4,
            "height": 4,
            "length": 8,
            "piece_length_ft": 1.3333
        },
        "volume": {
            "cords": 1,
            "steres": 3.6246,
            "cubic_feet": 128,
            "face_cords": 3,
            "cubic_metres": 3.6246
        }
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:19.103Z",
        "request_id": "d6c6fb3a-91b2-49bb-b368-261936266b53"
    },
    "status": "ok",
    "message": "Stack volume",
    "success": true
}