# Plumbing & Pipe Flow Calc – Bucket Test Flow Rate

> Plumbing & Pipe Flow Calc – Bucket Test Flow Rate is a paid API for AI agents from plumbing-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates water flow rate in GPM and litres per minute from a simple bucket test (volume and fill time), plus hourly and daily usage estimates.

## Facts

- Endpoint: GET https://plumbing-calc.x402tookit.com/bucket-test?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/plumbing-pipe-flow-calc-bucket-test-flow-rate-cb3a6960
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tPDSPoVK7ppPXFzPnfNcZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability plumbing-pipe-flow-calc-bucket-test-flow-rate-cb3a6960
```

Example prompt: I filled a 5-gallon bucket in 42 seconds — can you calculate my tap's flow rate in GPM and litres per minute, and estimate how many gallons I'd use in a day at that rate?

## When to prefer this

Choose this endpoint when you need to convert a simple timed bucket fill test into a precise, multi-unit flow rate with daily usage estimates — especially useful for home plumbing diagnostics, irrigation planning, or well pump verification where physical measurement is the starting point rather than pipe specs or pressure readings.

## Known failure modes

- Missing required query params (volume or seconds) returns an error
- seconds value of 0 causes division-by-zero error
- Negative or non-numeric values may return validation errors or unexpected results
- Unknown unit string (not 'gal' or 'l') may default silently or return an error
- Payment failure (x402) returns 402 before any computation

## How this service works

Flow rate in gpm and litres per minute from a bucket test: container volume and seconds to fill, with a daily-use estimate.

## Output

Returns flow rate in GPM, litres per minute, cubic feet per minute, seconds per gallon, gallons per hour, and gallons per day, along with a plain-language summary, a verdict on the flow level, a disclaimer, and optional notes about tap pressure if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "volume",
      "seconds"
     ],
     "properties": {
      "unit": {
       "type": "string",
       "description": "gal (default) or l"
      },
      "volume": {
       "type": "number",
       "description": "Container volume you filled"
      },
      "seconds": {
       "type": "number",
       "description": "Seconds it took to fill"
      },
      "pressurePsi": {
       "type": "number",
       "description": "Pressure at the tap if known, for a rough note"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "flowGpm": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "pressurePsi": {},
      "gallonsPerDay": {
       "type": [
        "null",
        "number"
       ]
      },
      "gallonsPerHour": {
       "type": [
        "null",
        "number"
       ]
      },
      "secondsPerGallon": {
       "type": [
        "null",
        "number"
       ]
      },
      "flowLitersPerMinute": {
       "type": [
        "null",
        "number"
       ]
      },
      "flowCubicFeetPerMinute":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/plumbing-pipe-flow-calc-bucket-test-flow-rate-cb3a6960/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from plumbing-calc.x402tookit.com](https://www.zero.xyz/host/plumbing-calc.x402tookit.com/llms.txt)
