/v1/pace
Speed and pace per 100 m
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/pace" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/swimming-api/v1/pace", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/swimming-api/v1/pace");
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/pace",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Swim pace is quoted per 100 m, not per kilometre: pace/100 m = time ÷ distance × 100. 100 m in 1:30 is a 1:30 / 100 m pace at 1.11 m/s, and a 1500 m in 24:00 is a 1:36 pace. Per-100 m pace is the swimmer's common currency for sets and splits, and pairs with the SWOLF efficiency score and CSS threshold pace.",
"inputs": {
"distance_m": 100,
"time_seconds": 90
},
"pace_100m": "1:30.0",
"pace_100m_s": 90,
"speed_m_per_s": 1.1111
},
"meta": {
"timestamp": "2026-06-07T08:17:52.303Z",
"request_id": "8a0de234-eebb-4217-baf1-a6248ec949ae"
},
"status": "ok",
"message": "Swim pace",
"success": true
}