/v1/substrate
Substrate volume and bags
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/aquascape-api/v1/substrate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aquascape-api/v1/substrate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aquascape-api/v1/substrate");
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/aquascape-api/v1/substrate",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Substrate volume = footprint area × depth. A planted tank wants ~5–8 cm, sloped deeper at the back for depth and rooting; carpets and big root-feeders like the upper end. Aquasoil bags are commonly ~9 L — set bag_liters for your product. Buy a little extra for a slope.",
"inputs": {
"depth_cm": 6,
"width_cm": 30,
"length_cm": 60,
"bag_liters": 9
},
"bags_needed": 2,
"substrate_liters": 10.8
},
"meta": {
"timestamp": "2026-06-06T15:30:47.677Z",
"request_id": "f570017b-c498-4f4d-a803-a5e5ef2a77b2"
},
"status": "ok",
"message": "Substrate volume",
"success": true
}