/v1/css
Critical Swim Speed
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/swimming-api/v1/css" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/swimming-api/v1/css", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/swimming-api/v1/css");
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/swimming-api/v1/css",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Critical Swim Speed is the swimmer's threshold pace — the speed they could in theory hold indefinitely — from two time trials: CSS = (distance1 − distance2) ÷ (time1 − time2). The classic test is a 400 m and a 200 m all-out; 400 m in 6:00 and 200 m in 2:50 gives about 1.05 m/s, a 1:35 / 100 m threshold pace. Training paces are then set as offsets from CSS, the swimmer's equivalent of a runner's threshold or an erg's 2 k pace.",
"inputs": {
"dist1_m": 400,
"dist2_m": 200,
"time1_s": 360,
"time2_s": 170
},
"css_m_per_s": 1.0526,
"css_pace_100m": "1:35.0",
"css_pace_100m_s": 95
},
"meta": {
"timestamp": "2026-06-07T08:17:52.214Z",
"request_id": "1b491dc0-1aae-4d83-873f-f3bcef8458bd"
},
"status": "ok",
"message": "Critical Swim Speed",
"success": true
}