/v1/taper
Taper geometry
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/taper-api/v1/taper" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/taper-api/v1/taper", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/taper-api/v1/taper");
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/taper-api/v1/taper",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"unit": "in",
"length": 6,
"formula": "ratio = (D − d)/L; included angle = 2·atan((D − d)/(2L)).",
"taper_ratio": 0.08333333,
"large_diameter": 1.5,
"small_diameter": 1,
"taper_per_foot": 1,
"taper_per_inch": 0.08333333,
"taper_angle_deg": 2.385944,
"included_angle_deg": 4.771888,
"taper_per_unit_length": 0.08333333
},
"meta": {
"timestamp": "2026-06-04T10:18:55.277Z",
"request_id": "ed40f0ab-f9c6-4195-a120-2f69201b9097"
},
"status": "ok",
"message": "Taper geometry",
"success": true
}