Aller au contenu
GET /v1/percent

Working weight from a 1RM

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/barbell-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Working weight = 1RM × percent. Common loads: 5×5 around 80%, triples 85–90%, heavy singles 90%+.",
        "inputs": {
            "one_rep_max": 100
        },
        "percent": 80,
        "working_weight": 80
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:06.504Z",
        "request_id": "2d440cb8-74c3-4d00-bd6e-d6adf1915cc2"
    },
    "status": "ok",
    "message": "Percent of 1RM",
    "success": true
}