Zum Inhalt springen
GET /v1/power

Estimate cycling power

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "speed_kmh": 30,
        "weight_kg": 75,
        "parameters": {
            "cda": 0.3,
            "crr": 0.005,
            "efficiency": 0.97,
            "air_density": 1.225,
            "headwind_kmh": 0
        },
        "power_watts": 141.22,
        "watts_per_kg": 1.883,
        "grade_percent": 0,
        "breakdown_watts": {
            "gravity": 0,
            "rolling": 31.594,
            "aerodynamic": 109.63
        }
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:04.650Z",
        "request_id": "4fc5c651-5b28-491f-903a-abecf1f4e749"
    },
    "status": "ok",
    "message": "Power",
    "success": true
}