/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}