Zum Inhalt springen
GET /v1/uvb

UV-B Ferguson-zone target

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/reptile-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}