Aller au contenu
GET /v1/energy

Kinetic energy + momentum

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/energy" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/archery-api/v1/energy", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/archery-api/v1/energy");
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/energy",
    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": "KE (ft-lb) = grains × fps² ÷ 450,240. Momentum (slug-fps) = grains × fps ÷ 225,218. Momentum predicts penetration better than KE for heavy arrows. Common bowhunting guidance: 25+ ft-lb deer, 40+ elk.",
        "inputs": {
            "speed_fps": 280,
            "arrow_grains": 400
        },
        "suggested_game": "tough/dangerous game",
        "momentum_slug_fps": 0.4973,
        "kinetic_energy_ftlb": 69.65
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:04.909Z",
        "request_id": "6b1301ff-fd41-4743-a52e-2f3792db1ac5"
    },
    "status": "ok",
    "message": "Kinetic energy",
    "success": true
}