# Garden Calculators – Fertilizer Rate Calculator

> Garden Calculators – Fertilizer Rate Calculator 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 the fertilizer product quantity needed to hit a target nutrient rate (N, P₂O₅, or K₂O) per 1000 sq ft, returning total product weight, bags needed, and actual nutrients delivered.

## Facts

- Endpoint: GET https://garden-calc.x402tookit.com/fertilizer-rate?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-fertilizer-rate-calculator-cf61a96b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R3Wzhy1MqhBQK-jTCM1X4

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-fertilizer-rate-calculator-cf61a96b
```

Example prompt: I have a 6,000 sq ft lawn and I want to apply 1 pound of nitrogen per 1000 sq ft — I'm using 46-0-0 urea in 50 lb bags. How much do I need and how many bags should I buy?

## When to prefer this

Use this endpoint when you need to translate a fertilizer bag's N-P-K label into a precise product quantity for a given area and nutrient target. Ideal for lawn care agents, garden planning tools, or agricultural assistants that need to go from 'how much nitrogen do I want' to 'how many bags to buy and how much to spread.' Prefer this over generic agriculture APIs when you need bag-count output and multi-nutrient delivery accounting in a single call.

## Known failure modes

- Invalid N-P-K analysis format (not in XX-XX-XX pattern) returns a validation error
- Target nutrient rate outside allowed range (0.05–10 lbs/1000 sq ft) returns an error
- Area outside allowed range (1–10,000,000 sq ft) returns an error
- Unknown nutrient type string returns an error
- Missing required parameters (analysis, areaSqFt, targetLbPer1000SqFt) returns 400-level error
- Payment failure or insufficient USDC balance returns 402 Payment Required

## How this service works

Fertilizer product needed for a nutrient target per 1000 sq ft from its N-P-K analysis, with the P and K delivered and bags.

## Output

Returns total fertilizer product weight in pounds and kilograms, ounces per 100 sq ft, kg per hectare, number of bags needed, actual N/P2O5/K2O delivered in pounds, plus a human-readable summary and agronomic 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": [
      "analysis",
      "areaSqFt",
      "targetLbPer1000SqFt"
     ],
     "properties": {
      "bagLb": {
       "type": "number",
       "description": "Bag size in pounds, to count bags (default 50)"
      },
      "analysis": {
       "type": "string",
       "description": "Fertilizer N-P-K analysis on the bag, for example 10-10-10 or 46-0-0 (percent N, P2O5, K2O)"
      },
      "areaSqFt": {
       "type": "number",
       "description": "Area to fertilize in square feet, 1 to 10,000,000"
      },
      "nutrient": {
       "type": "string",
       "description": "Target nutrient: n (default), p2o5 or k2o"
      },
      "targetLbPer1000SqFt": {
       "type": "number",
       "description": "Pounds of the target nutrient wanted per 1000 sq ft, 0.05 to 10 (lawns often use 0.5 to 1 pound of N per application)"
      }
     }
    }
   },
   "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"
       ]
      },
      "analysis": {
       "type": [
        "null",
        "string"
       ]
      },
      "areaSqFt": {
       "type": [
        "null",
        "number"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "nutrient": {
       "type": [
        "null",
        "string"
       ]
      },
      "bagsNeeded": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "nu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/garden-calculators-fertilizer-rate-calculator-cf61a96b/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)
