Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/swimming-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}