Naar de inhoud
GET /v1/foc

Front-of-center balance

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/archery-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "band": "normal (target / general 7–12 %)",
        "note": "FOC = ((balance point − arrow length ÷ 2) ÷ arrow length) × 100, balance measured from the throat of the nock. Target archers run ~7–12 %, hunters 12–19 % for better penetration and forgiveness.",
        "inputs": {
            "arrow_length_in": 28,
            "balance_point_in": 16
        },
        "center_in": 14,
        "foc_percent": 7.14
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:05.009Z",
        "request_id": "c45e8d23-4f27-4cc3-8453-7c0b050ac02d"
    },
    "status": "ok",
    "message": "Arrow FOC",
    "success": true
}