/v1/demand
Storage tank sizing
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/rainwater-api/v1/demand" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rainwater-api/v1/demand", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rainwater-api/v1/demand");
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/rainwater-api/v1/demand",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Required storage = daily demand × dry days. Supply check (if annual_rainfall_mm + area given) compares yearly harvest to yearly demand.",
"dry_days": 30,
"required_storage": {
"litres": 4500,
"uk_gallons": 989.9,
"us_gallons": 1188.8,
"cubic_metres": 4.5
},
"daily_demand_litres": 150
},
"meta": {
"timestamp": "2026-06-04T01:59:11.949Z",
"request_id": "4115c221-92e3-4288-8921-0810e482d07a"
},
"status": "ok",
"message": "Storage tank sizing from demand and a dry spell",
"success": true
}