Zum Inhalt springen
GET /v1/tractive-effort

Tractive effort from power and speed

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Tractive effort at the rail = 375 × horsepower × efficiency ÷ speed (mph), so a constant-power locomotive pulls hardest at low speed and tapers as it speeds up — the classic hyperbolic TE curve. The 375 converts hp and mph into pounds of force, and the efficiency (~80–85 %) covers transmission and traction-motor losses. At very low speed this would run to infinity, so the real limit is adhesion (see /v1/adhesion).",
        "inputs": {
            "power_hp": 4000,
            "speed_mph": 25,
            "efficiency_pct": 82
        },
        "tractive_effort_kn": 218.85,
        "tractive_effort_lbf": 49200
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:58.295Z",
        "request_id": "2e451b4a-1090-4fa8-b1e0-de6a1d44feb9"
    },
    "status": "ok",
    "message": "Tractive effort",
    "success": true
}