Skip to content
GET /v1/pace

Speed and pace per 100 m

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/swimming-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}