# Farm & Garden Calc: N-P-K Blend Analyzer

> Farm & Garden Calc: N-P-K Blend Analyzer is a paid API for AI agents from agri-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates the blended N, P2O5, and K2O percentages of a dry fertilizer mix from component analysis labels and weights.

## Facts

- Endpoint: GET https://agri-calc.x402tookit.com/npk-blend?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/farm-garden-calc-n-p-k-blend-analyzer-472ede03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_85_Xxf3Ww0Bt0CDYM3_5j

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 farm-garden-calc-n-p-k-blend-analyzer-472ede03
```

Example prompt: What is the NPK analysis of a blend made from 50 parts urea (46-0-0), 25 parts MAP (11-52-0), and 25 parts potash (0-0-60)?

## When to prefer this

Use this endpoint when you need to quickly compute the blended nutrient analysis (N-P-K) of a custom dry fertilizer mix from known component grades and weights. It is ideal for agronomists, farmers, or automated crop management agents that need to verify or plan bulk blends without manual calculation. Prefer this over generic calculators when you have component analysis labels in standard N-P-K format and want elemental P and K breakdown alongside oxide values.

## Known failure modes

- Missing or malformed 'components' query parameter returns an error
- Invalid analysis format (not N-P-K colon weight) causes parse failure
- Weights summing to zero or negative values may produce invalid results
- Non-numeric weight values trigger validation errors

## How this service works

N-P-K analysis of a dry fertilizer blend from components given as analysis:weight, plus elemental P and K.

## Output

Returns the blended N%, P2O5%, K2O%, elemental P%, elemental K%, filler/other%, total nutrient%, and total weight of the input fertilizer components, along with a human-readable analysis string, blend summary, and any relevant disclaimers or warnings.

## 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": [
      "components"
     ],
     "properties": {
      "components": {
       "type": "string",
       "description": "Comma-separated analysis:weight, e.g. 46-0-0:50,0-46-0:25,0-0-60:25 (any one weight unit)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "nPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "k2oPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "p2o5Pct": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "analysis": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "totalWeight": {
       "type": [
        "null",
        "number"
       ]
      },
      "elementalKPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "elementalPPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "fillerOrOtherPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "nutrientTotalPct": {
       "type": [
        "null",
        "number
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farm-garden-calc-n-p-k-blend-analyzer-472ede03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agri-calc.x402tookit.com](https://www.zero.xyz/host/agri-calc.x402tookit.com/llms.txt)
