/v1/enclosure
Minimum enclosure size
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/reptile-api/v1/enclosure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reptile-api/v1/enclosure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reptile-api/v1/enclosure");
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/enclosure",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Minimum enclosure, not ideal — bigger is always better. Terrestrial snakes want a floor at least as long as the snake; arboreal species trade floor for height; ground lizards and tortoises need far more floor than their body length. A solid temperature gradient end-to-end matters more than raw volume.",
"inputs": {
"type": "terrestrial_snake",
"length_in": 48
},
"min_width_in": 24,
"min_height_in": 24,
"min_length_in": 48,
"floor_area_sqft": 8
},
"meta": {
"timestamp": "2026-06-06T15:30:47.908Z",
"request_id": "44c3e715-5814-4bcf-83ef-4dad1a041b00"
},
"status": "ok",
"message": "Enclosure size",
"success": true
}