# Farm & Garden Calc – Livestock Feed Ration Calculator

> Farm & Garden Calc – Livestock Feed Ration Calculator 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-29).

Calculates daily and period livestock feed requirements (as-fed and dry-matter) from head count, body weight, intake rate, feed moisture, and waste percentage, with optional bale count output.

## Facts

- Endpoint: GET https://agri-calc.x402tookit.com/feed-ration?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/farm-garden-calc-livestock-feed-ration-calculator-7fb2405d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6O2PvmfGvLsWHZogm9XG-

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-livestock-feed-ration-calculator-7fb2405d
```

Example prompt: How much hay do I need per day and for the next 60 days to feed 80 beef cows averaging 1,200 lb, assuming 2.5% dry-matter intake, hay at 88% dry matter, 5% waste, and bales weighing 1,000 lb?

## When to prefer this

Choose this endpoint when you need a quick, parameterized livestock feed ration computation that accounts for dry-matter content, waste, and optional bale counts — especially useful for beef cattle, dairy, sheep, or horse feeding plans. It is purpose-built for farm planning workflows and avoids the need to implement the underlying feed-science formulas manually.

## Known failure modes

- Missing required parameters 'head' or 'bodyWeight' returns a validation error
- Non-numeric or negative values for head, bodyWeight, or percentages cause a 400-level error
- Percent values outside valid ranges (e.g. feedDryMatterPct > 100) may return an error or unexpected results
- Invalid weightUnit value (not 'lb' or 'kg') may default or error
- Service unavailability returns a non-2xx HTTP status with no result payload

## How this service works

Livestock feed needed per day and for a period from head count, body weight, dry-matter intake, feed moisture and waste.

## Output

Returns per-day as-fed feed quantity, dry-matter feed quantity, per-head offered per day, total feed offered over the specified period (with and without waste adjustment), exact bale count needed, recommended bales to buy (rounded up), the unit used, and a plain-English summary. Also includes any degraded-mode notices or disclaimers.

## 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": [
      "head",
      "bodyWeight"
     ],
     "properties": {
      "days": {
       "type": "number",
       "description": "Feeding period in days (default 1)"
      },
      "head": {
       "type": "number",
       "description": "Number of animals"
      },
      "wastePct": {
       "type": "number",
       "description": "Percent of feed offered that is wasted (default 0)"
      },
      "baleWeight": {
       "type": "number",
       "description": "As-fed weight of one bale, same unit, to count bales"
      },
      "bodyWeight": {
       "type": "number",
       "description": "Average body weight per animal"
      },
      "weightUnit": {
       "type": "string",
       "description": "lb (default) or kg; results use the same unit"
      },
      "feedDryMatterPct": {
       "type": "number",
       "description": "Dry matter percent of the feed as fed (default 100; hay is often 85-90)"
      },
      "intakePctBodyWeight": {
       "type": "number",
       "description": "Dry-matter intake as percent of body weight per day (default 2.5; you choose for your species and stage)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "days": {
       "type": [
        "null",
        "number"
       ]
      },
      "unit": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boole
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farm-garden-calc-livestock-feed-ration-calculator-7fb2405d/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)
