Naar de inhoud
GET /v1/warmup

Warm-up ramp

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/barbell-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/barbell-api/v1/warmup" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/barbell-api/v1/warmup", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/barbell-api/v1/warmup");
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/barbell-api/v1/warmup",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "A 4-step ramp at ~40/55/70/85% of the working weight, rounded to a loadable increment, then your working sets. Fewer reps as the bar gets heavier.",
        "inputs": {
            "bar_weight": 20,
            "working_weight": 100
        },
        "warmup_sets": [
            {
                "reps": 8,
                "weight": 40,
                "percent": 40
            },
            {
                "reps": 5,
                "weight": 55,
                "percent": 55
            },
            {
                "reps": 3,
                "weight": 70,
                "percent": 70
            },
            {
                "reps": 2,
                "weight": 85,
                "percent": 85
            },
            {
                "reps": "working sets",
                "weight": 100,
                "percent": 100
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:06.693Z",
        "request_id": "f8a54532-c39a-4931-b9d3-55bdc9cbbe62"
    },
    "status": "ok",
    "message": "Warmup ramp",
    "success": true
}