Vai al contenuto
GET /v1/uvb

UV-B Ferguson-zone target

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/reptile-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Ferguson zones (Baines et al. 2016) classify reptiles by how much sun they bask in. Aim the basking-spot UV index inside the basking range, with shade so the animal can self-regulate. Use a Solarmeter 6.5 to verify — bulb output drifts and decays over a year.",
        "inputs": {
            "ferguson_zone": 3
        },
        "distance_note": "Inverse-square estimate from your measured UVI at the reference distance — fluorescent tubes fall off more gently than a point source, so treat it as a starting point and verify with a meter.",
        "mean_uvi_range": [
            1,
            2.6
        ],
        "zone_description": "open / partial-sun basker",
        "basking_uvi_range": [
            2.9,
            7.4
        ],
        "target_basking_uvi": 5.15,
        "suggested_mount_distance_in": 16.7
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:48.086Z",
        "request_id": "e89b6ffd-0f8e-4a8b-ae29-87e44201c6eb"
    },
    "status": "ok",
    "message": "UVB Ferguson zone",
    "success": true
}