Skip to content
GET /v1/thickness

Thickness for a target loss

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/pipeinsulation-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "Thickness for a target loss inverts the cylindrical-conduction law: ln(r2/r1) = 2π·(k/12)·ΔT ÷ target, then thickness = r2 − r1. Because the relationship is logarithmic, chasing a very low loss needs disproportionately thick insulation — there is an economic-thickness sweet spot beyond which more material rarely pays back.",
        "inputs": {
            "k_btu_in": 0.25,
            "pipe_od_in": 2.375,
            "pipe_temp_f": 300,
            "ambient_temp_f": 100,
            "target_loss_btu_hr_ft": 30
        },
        "outer_diameter_in": 5.68,
        "required_thickness_in": 1.65
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:57.815Z",
        "request_id": "300e1fae-60da-434a-b38a-4996da48a2d4"
    },
    "status": "ok",
    "message": "Thickness",
    "success": true
}