/v1/pitch
Pitch / TPI / lead
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/thread-api/v1/pitch" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/thread-api/v1/pitch", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/thread-api/v1/pitch");
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/thread-api/v1/pitch",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"tpi": 16.9333,
"note": "TPI = 25.4 / pitch(mm). Lead = pitch × number of starts (distance advanced per turn).",
"starts": 1,
"lead_in": 0.059055,
"lead_mm": 1.5,
"pitch_in": 0.059055,
"pitch_mm": 1.5
},
"meta": {
"timestamp": "2026-06-04T01:59:07.324Z",
"request_id": "5d53e1b6-2f5c-4099-a5ff-0482bd1b5cf6"
},
"status": "ok",
"message": "Pitch / TPI / lead",
"success": true
}