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

Plate loading per side

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

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

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

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

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

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

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

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

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

{
    "data": {
        "note": "Plates per side, loaded heaviest first. If it can't hit the target exactly, it loads the closest you can reach below it — the difference shows the shortfall (add micro-plates or round the target).",
        "exact": true,
        "inputs": {
            "unit": "kg",
            "bar_weight": 20,
            "target_weight": 100
        },
        "per_side": [
            25,
            15
        ],
        "total_loaded": 100,
        "per_side_weight": 40,
        "difference_from_target": 0
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:06.600Z",
        "request_id": "28efac13-9f62-48a1-b5f0-ec2eeeb16d2b"
    },
    "status": "ok",
    "message": "Plate loading",
    "success": true
}