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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "name": "Strength Training API",
        "notes": "1RM uses Epley/Brzycki/Lander/Lombardi/O'Conner. Plates are loaded greedily, largest first. Wilks/DOTS expect kilograms. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/one-rep-max",
                "params": {
                    "reps": "reps performed (1-36)",
                    "weight": "weight lifted"
                },
                "returns": "estimated 1RM by five formulas, plus a rep-max table"
            },
            {
                "path": "/v1/plates",
                "params": {
                    "bar": "bar weight (default 20)",
                    "plates": "available plate denominations (optional)",
                    "weight": "target total weight"
                },
                "returns": "the plates to load per side"
            },
            {
                "path": "/v1/wilks",
                "params": {
                    "sex": "male|female",
                    "lifted": "kg total",
                    "bodyweight": "kg"
                },
                "returns": "the Wilks and DOTS scores"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Strength-training maths as an API. The one-rep-max endpoint estimates your one-rep max from a set of a given weight and reps using five established formulas — Epley, Brzycki, Lander, Lombardi and O'Conner — with their average, and returns a rep-max table showing the estimated weight (and % of 1RM) for 1 to 12 reps. The plates endpoint works out exactly which plates to load on each side of a barbell for a target weight, given the bar weight and the plate denominations you have, and tells you if the target is achievable exactly. The wilks endpoint computes the Wilks (classic) and DOTS relative-strength scores from bodyweight and total lifted, so lifters of different sizes can be compared fairly. Everything is computed locally and deterministically, so it is instant and private. Ideal for gym and lifting apps, powerlifting and strength coaching, workout planners, and fitness wearables. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. This is strength maths; for BMI, BMR and calories use a health-calculator API and for heart-rate zones use a heart-rate API."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:07.994Z",
        "request_id": "17322cee-216c-4235-a923-b7cc8119de6f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}