/v1/flat-length
Blank length from flanges
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/sheetmetal-api/v1/flat-length" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sheetmetal-api/v1/flat-length", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sheetmetal-api/v1/flat-length");
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/sheetmetal-api/v1/flat-length",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Blank length = sum of outside (mold-line) flange lengths − (number of bends × bend deduction).",
"bends": 2,
"flanges": [
50,
30,
40
],
"k_factor": 0.44,
"thickness": 2,
"blank_length": 112.18938,
"inside_radius": 3,
"bend_angle_deg": 90,
"bend_deduction_each": 3.90531,
"outside_total_length": 120
},
"meta": {
"timestamp": "2026-06-04T01:59:05.024Z",
"request_id": "f2893a7e-80e2-4cd1-a466-f409203bb361"
},
"status": "ok",
"message": "Blank length from flanges",
"success": true
}