/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/swimming-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/swimming-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/swimming-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Metres, seconds. SWOLF = strokes + time; CSS = (d1−d2)/(t1−t2); pace/100 = time/distance·100. For running pace use a pace API; for rowing a rowing API.",
"service": "swimming-api",
"endpoints": {
"GET /v1/css": "Critical Swim Speed and threshold pace from two time trials.",
"GET /v1/meta": "This document.",
"GET /v1/pace": "Speed and pace per 100 m from a distance and time.",
"GET /v1/swolf": "SWOLF score (strokes + seconds) for a length, normalized to 25 m."
},
"description": "Swimming maths: SWOLF efficiency score, Critical Swim Speed from a two-distance test, and swim pace per 100 m."
},
"meta": {
"timestamp": "2026-06-07T08:17:52.462Z",
"request_id": "565d1d19-d2b2-412b-978b-051073163556"
},
"status": "ok",
"message": "Meta",
"success": true
}