Aller au contenu
GET /v1/pitch

Pitch for a target speed

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/propeller-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Required pitch = target speed × 1215 ÷ (prop RPM × (1 − slip)). More pitch is more speed per rev but loads the engine like a higher gear — too much and the engine can't reach its rated RPM. Tune pitch so the engine hits the top of its wide-open-throttle range; a 1-inch change shifts WOT RPM by roughly 150–200.",
        "inputs": {
            "prop_rpm": 2000,
            "slip_pct": 12,
            "target_speed_knots": 30
        },
        "required_pitch_in": 20.7
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:01.490Z",
        "request_id": "6d53b3e3-0dcc-4688-b315-f4cfb4daa73d"
    },
    "status": "ok",
    "message": "Required pitch",
    "success": true
}