Aller au contenu
GET /v1/weight

Total arrow weight + GPP

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/archery-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/archery-api/v1/weight" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/archery-api/v1/weight", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/archery-api/v1/weight");
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/archery-api/v1/weight",
    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": "Total = shaft (GPI × length) + point + insert + nock + fletching. Grains-per-pound (GPP) = total ÷ draw weight; keep GPP ≥ 5 to protect the bow, ~5–6.5 for hunting penetration.",
        "safe": true,
        "inputs": {
            "shaft_gpi": 9.3,
            "nock_grains": 10,
            "point_grains": 100,
            "insert_grains": 20,
            "shaft_length_in": 28,
            "fletching_grains": 21
        },
        "shaft_grains": 260.4,
        "draw_weight_lb": 60,
        "grains_per_pound": 6.86,
        "total_arrow_grains": 411.4,
        "front_weight_percent": 29.17
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:05.121Z",
        "request_id": "9996b6d1-9e0e-4e74-a194-0da29d0e6c3a"
    },
    "status": "ok",
    "message": "Arrow weight",
    "success": true
}