# Garden Calculators – Plant Spacing

> Garden Calculators – Plant Spacing is a paid API for AI agents from garden-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates how many plants fit in a garden bed at a given spacing (grid or offset layout) and how many seeds to sow based on germination rate.

## Facts

- Endpoint: GET https://garden-calc.x402tookit.com/plant-spacing?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/garden-calculators-plant-spacing-cc99d3cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YdSZlOArO61PKDJnQV1Bm

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 garden-calculators-plant-spacing-cc99d3cd
```

Example prompt: How many tomato plants will fit in my 4-foot by 8-foot raised bed at 18-inch spacing using an offset row layout, and how many seeds should I sow if germination is 80% and I'm putting 2 seeds per hole?

## When to prefer this

Choose this endpoint when you need to calculate plant count and seed quantity for a defined garden bed or area, especially when you need to compare grid vs. offset (triangular) spacing layouts or account for germination rate variability. It is distinct from soil volume, fertilizer, or irrigation calculators on the same platform.

## Known failure modes

- Missing required spacingIn parameter returns an error
- spacingIn outside 1–120 inch range is rejected
- germinationPercent outside 10–100 range is invalid
- Providing neither widthFt+lengthFt nor areaSqFt yields no area result
- seedsPerHole outside 1–6 range is rejected

## How this service works

Plants that fit a bed at a spacing (grid or offset rows) and seeds to sow from germination rate, per bed and per square foot.

## Output

Returns the estimated number of plants fitting the bed, number of rows, plants per row, plants per square foot, total seeds to sow (accounting for germination rate and seeds per hole), the layout used, and the area in square feet — along with a summary and optional disclaimer.

## 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": [
      "spacingIn"
     ],
     "properties": {
      "layout": {
       "type": "string",
       "description": "grid (default) or offset (triangular, rows staggered; row distance is 0.866 x spacing)"
      },
      "widthFt": {
       "type": "number",
       "description": "Bed width in feet"
      },
      "areaSqFt": {
       "type": "number",
       "description": "Or the planted area in square feet"
      },
      "lengthFt": {
       "type": "number",
       "description": "Bed length in feet (with widthFt), or give areaSqFt"
      },
      "spacingIn": {
       "type": "number",
       "description": "Spacing between plants in a row, inches, 1 to 120"
      },
      "rowSpacingIn": {
       "type": "number",
       "description": "Distance between rows in inches (default: same as spacingIn)"
      },
      "seedsPerHole": {
       "type": "integer",
       "description": "Seeds sown per planting spot, 1 to 6 (default 1)"
      },
      "germinationPercent": {
       "type": "number",
       "description": "Seed germination rate, 10 to 100 (default 85)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "layout": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "areaSqFt": {
       "type": [
        "null",
        "number"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/garden-calculators-plant-spacing-cc99d3cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from garden-calc.x402tookit.com](https://www.zero.xyz/host/garden-calc.x402tookit.com/llms.txt)
