/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/barbell-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/barbell-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/barbell-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/barbell-api/v1/meta",
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": {
"notes": "Keep one unit per call (kg or lb). Default bar 20 kg / 45 lb; default plate set is the standard gym selection. Plate loading is greedy heaviest-first. For 1RM estimation from a set use a strength API.",
"service": "barbell-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/plates": "Which plates to load per side for a target weight (kg or lb).",
"GET /v1/warmup": "A warm-up ramp from the bar to a working weight.",
"GET /v1/percent": "Working weight from a 1RM by percentage or by target reps (Epley)."
},
"description": "Barbell maths: plate loading per side, %1RM working weights and rep-max estimates, and warm-up ramps."
},
"meta": {
"timestamp": "2026-06-06T07:14:06.784Z",
"request_id": "df36a6d1-97db-4749-8e0d-d72ee204a4cf"
},
"status": "ok",
"message": "Meta",
"success": true
}