Skip to content
GET /v1/enclosure

Minimum enclosure size

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/reptile-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest 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
}