API · /rainwater-api

Rainwater Harvesting API

healthy 4,799 Subscribers

Rainwater-harvesting maths as an API, computed locally and deterministically. The harvest endpoint works out how much water a roof collects from a given rainfall — from the catchment (roof plan) area, the rainfall depth and a runoff coefficient it returns the harvested volume in litres, US and UK gallons and cubic metres, using the identity that 1 mm of rain over 1 m² collects 1 litre before losses. The runoff coefficient can be given directly or looked up from the roof type (smooth metal collects the most at ~0.9, green roofs the least at ~0.3). The demand endpoint sizes a storage tank from a daily demand (given directly or as people × litres per person) and the length of the dry spell you want to cover, and — if you also pass the annual rainfall and roof area — checks whether a year of harvest can meet a year of demand. The firstflush endpoint sizes a first-flush diverter, the volume of dirty initial rain to discard. Areas accept square metres or square feet (or length × width), rainfall accepts millimetres, centimetres or inches. Everything is computed locally and deterministically, so it is instant and private. Ideal for sustainability and off-grid apps, plumbing and landscaping tools, smart-home water systems, and construction planners. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. This is rainwater catchment maths; for roof pitch and area geometry use a roofing API and for general construction material quantities use a construction API.

api.oanor.com/rainwater-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/rainwater-api/openapi.json
/api/rainwater-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
87 ms
Server probes · 24h
Subscribers
4,799
active
Total calls
55
last 7 days
status Full status page → · 30 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 12,835 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 12,835 calls/month
  • 2 req/sec
  • Harvest + demand + first-flush
  • No credit card
Sign in to subscribe

Starter

€14.35 /month

  • 22,450 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 22.45k calls/month
  • 8 req/sec
  • Roof-type coefficients, metric/imperial
  • Email support
Sign in to subscribe

Pro

€34.25 /month

  • 274,500 calls / month
  • 20 requests / second
  • Hard cap (429 above quota, no overage)
  • 274.5k calls/month
  • 20 req/sec
  • Sustainability / plumbing pipelines
  • Priority support
Sign in to subscribe

Mega

€72.25 /month

  • 1,415,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 1.415M calls/month
  • 50 req/sec
  • Platform scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Irrigation Design API

Irrigation-design maths as an API, computed locally and deterministically — the sprinkler numbers a landscaper, irrigation tech or gardener sizes a system with. The precip-rate endpoint gives the precipitation rate in inches per hour from the flow and spacing: PR = 96.25 × GPM per head ÷ the area each head waters (head spacing × row spacing in feet), where 96.25 is the in/hr one gallon-per-minute makes over a square foot — three-GPM heads on a 15 × 15 ft grid lay down about 1.28 in/hr. The runtime endpoint turns a target water depth into a run-time: depth ÷ precipitation rate, divided by the system efficiency because no system is perfectly even, so applying a half-inch at 1.28 in/hr takes about 23 minutes at full efficiency, longer with real-world uniformity. The zone endpoint sizes a valve zone: maximum heads = available flow ÷ each head's GPM, rounded down so you never starve the line — 13 GPM drives five 2.6-GPM heads with nothing to spare. Everything is computed locally and deterministically, so it is instant and private. Ideal for irrigation and landscaping apps, sprinkler-design and contractor tools, smart-controller schedulers, and garden-planning sites. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. For evapotranspiration or weather use a weather API; for material volume use a mulch API.

api.oanor.com/irrigation-api

Water Hardness API

Water-hardness maths as an API, computed locally and deterministically. The convert endpoint converts a hardness value between all the common units — parts per million / milligrams per litre as calcium carbonate, grains per US gallon, German degrees (°dH), French degrees (°f), English or Clark degrees, and millimoles per litre — passing everything through ppm (1 gpg = 17.118 ppm, 1 °dH = 17.848, 1 °f = 10, 1 °Clark = 14.254), and classifies the result. The classify endpoint labels a value as soft, moderately hard, hard or very hard on the USGS/WHO scale. The softener endpoint sizes a water softener: from the hardness and the household water use it works out the grains of hardness removed per day and the grain capacity needed between regenerations. Everything is computed locally and deterministically, so it is instant and private. Ideal for water-treatment and plumbing tools, aquarium and pool apps, appliance and softener sizing, and home and lab software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is water-hardness conversion; for general unit conversion use a unit-conversion API and for swimming-pool dosing use a pool API.

api.oanor.com/hardness-api

Swimming Pool Calculator API

Swimming-pool maths as an API, computed locally and deterministically. The volume endpoint computes the water volume of a rectangular, round or oval pool — in litres, US gallons and cubic metres — from the dimensions and either an average depth or separate shallow and deep depths (it averages them), in feet or metres. The dose endpoint computes how much of a chemical to add to raise a level by a target ppm: give the pool volume and the desired increase, and either the product strength percent or a preset (cal-hypo, dichlor, trichlor, liquid chlorine, bleach), and it returns the amount in grams, kilograms, ounces and pounds. The salt endpoint computes the salt needed to reach a target salinity in a saltwater pool from the current and target ppm, in kilograms and pounds (and 40 lb bags). Everything is computed locally and deterministically, so it is instant and private. Dosing depends on the actual product strength and your test readings — always follow the product label, add in stages and re-test before adding more. Ideal for pool-service and maintenance apps, pool-builder and retailer tools, and smart-pool and home-automation systems. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is pool maths; for general volume or unit conversion use a unit-conversion API.

api.oanor.com/pool-api

USGS Streamflow API

Live river and stream conditions from the USGS Water Services network. The catalogue of 16,900+ active US streamflow gauges is searchable by name, state or coordinate; the live endpoint returns the latest observation for any gauge: streamflow / discharge (in cubic feet per second and m³/s) and gauge height (in feet and metres), with the station name, observation time and coordinates. Find the gauges nearest any lat/lon. Ideal for flood monitoring, hydrology, whitewater/fishing & recreation apps, drought tracking and environmental dashboards.

api.oanor.com/streamflow-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Rainwater Harvesting API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Rainwater Harvesting API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Rainwater Harvesting API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Rainwater Harvesting API cost?
Rainwater Harvesting API has a free tier with 100 calls / month. Paid plans start at €14.35 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Rainwater Harvesting API GDPR-compliant?
All requests to Rainwater Harvesting API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/rainwater-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/rainwater-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/rainwater-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/rainwater-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.