Zum Inhalt springen
GET /v1/speed

Cutting speed ↔ spindle rpm

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/machining-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "formula": "N = Vc·1000 / (π·D)  [Vc m/min, D mm].",
        "diameter_mm": 50,
        "spindle_rpm": 636.62,
        "unit_system": "metric",
        "cutting_speed_m_min": 100
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:05.919Z",
        "request_id": "fa53aa91-bb8f-4891-af45-8676d4705a6b"
    },
    "status": "ok",
    "message": "Cutting speed <-> spindle rpm",
    "success": true
}