# Pet Care Calc – Aquarium Volume Calculator

> Pet Care Calc – Aquarium Volume Calculator is a paid API for AI agents from pet-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates aquarium gross volume in US gallons and litres from inside tank dimensions, usable water volume after substrate/decor, and total water weight.

## Facts

- Endpoint: GET https://pet-calc.x402tookit.com/aquarium-volume?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pet-care-calc-aquarium-volume-calculator-214bddd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IjEX9-9hnyj0DtbjV88hl

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 pet-care-calc-aquarium-volume-calculator-214bddd7
```

Example prompt: My aquarium's inside dimensions are 48 inches long, 18 inches wide, and 20 inches tall — assuming I keep about 85% usable water after substrate and decor, how many US gallons and litres does it hold, and how much will the water weigh?

## When to prefer this

Choose this endpoint when you need a quick, accurate aquarium volume and water weight calculation from inside tank dimensions, especially when you want to account for substrate and decor displacing water. It's ideal for pet care agents, aquarium setup workflows, or dosing calculators that need both US and metric volume figures in one call.

## Known failure modes

- Missing required dimension parameters (length, width, height) returns an error
- Non-numeric dimension values cause a validation failure
- usablePercent outside the 50–100 range may be rejected or clamped
- Invalid unit value (not 'in' or 'cm') may cause unexpected results
- Payment failure (x402) blocks the request before any calculation

## How this service works

Aquarium volume in US gallons and litres from inside dimensions, usable water after substrate, and the water's weight.

## Output

Returns gross volume in cubic inches, US gallons, UK gallons, and litres; usable volume in US gallons and litres after applying the substrate percentage; water weight in both pounds and kilograms for both gross and usable volumes; plus the usable percent applied.

## 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": [
      "length",
      "width",
      "height"
     ],
     "properties": {
      "unit": {
       "type": "string",
       "description": "in (default) or cm"
      },
      "width": {
       "type": "number",
       "description": "Inside width (front to back)"
      },
      "height": {
       "type": "number",
       "description": "Inside height up to the water line you will keep"
      },
      "length": {
       "type": "number",
       "description": "Inside length"
      },
      "usablePercent": {
       "type": "number",
       "description": "Share of the volume that is water after substrate and decor, 50 to 100 (default 90)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "ukGallons": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "cubicInches": {
       "type": [
        "null",
        "number"
       ]
      },
      "grossLiters": {
       "type": [
        "null",
        "number"
       ]
      },
      "usableLiters": {
       "type": [
        "null",
        "number"
       ]
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pet-care-calc-aquarium-volume-calculator-214bddd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pet-calc.x402tookit.com](https://www.zero.xyz/host/pet-calc.x402tookit.com/llms.txt)
