# Agri Halowerk Supply Spoilage Calculator

> Agri Halowerk Supply Spoilage Calculator is a paid API for AI agents from agri.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Converts temperature history segments into equivalent ageing at a reference temperature using a Q10 factor, then compares accumulated ageing against nominal shelf life to estimate spoilage status.

## Facts

- Endpoint: POST https://agri.halowerk.com/v1/supply-spoilage
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agri-halowerk-supply-spoilage-calculator-3273be09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WbVtVUcgXZS7yZ1tmMXt7

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 agri-halowerk-supply-spoilage-calculator-3273be09 -d '<json body>'
```

Example prompt: Our strawberry shipment spent 12 hours at 2°C, then 6 hours at 10°C, and finally 8 hours at 5°C — the nominal shelf life is 7 days, reference temperature is 4°C, and we're using a Q10 factor of 2.5. Can you calculate how much shelf life has been consumed and whether the batch is still within spec?

## When to prefer this

Choose this endpoint when you need a fast, deterministic Q10-based calculation of equivalent thermal ageing for perishable goods across multiple temperature segments. It is ideal for supply chain agents tracking cold-chain history for produce, dairy, pharmaceuticals, or other temperature-sensitive goods. Prefer it over manual calculations or spreadsheets when temperature logs have many segments. Do not use it as a food-safety authority, microbial model, or regulatory certification tool.

## Known failure modes

- Invalid Q10 factor outside 1–20 range returns validation error
- Temperature values outside -100°C to 200°C are rejected
- Duration values of zero or negative are rejected
- Array exceeding 10,000 segments returns payload-too-large error
- Missing required fields returns 400 bad request
- Nominal shelf life of zero or negative is rejected

## How this service works

Converts each supplied storage segment into equivalent ageing at a reference temperature using a caller-supplied Q10 factor, then compares the sum with nominal shelf life. This empirical approximation is not a microbial model, food-safety decision, sensor feed, cold-chain certification or release authorization.

## Output

Returns the total equivalent ageing accumulated (in days at the reference temperature) and a comparison against the nominal shelf life, indicating whether the product is within or has exceeded its expected shelf life. Does not include microbial modeling, food-safety certifications, or regulatory release decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q10_factor": {
   "type": "number",
   "maximum": 20,
   "minimum": 1
  },
  "temperature_history": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "duration_hours",
     "temperature_c"
    ],
    "properties": {
     "temperature_c": {
      "type": "number",
      "maximum": 200,
      "minimum": -100
     },
     "duration_hours": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0.001
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000,
   "minItems": 1
  },
  "nominal_shelf_life_days": {
   "type": "number",
   "maximum": 100000,
   "minimum": 0.001
  },
  "reference_temperature_c": {
   "type": "number",
   "maximum": 100,
   "minimum": -100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agri-halowerk-supply-spoilage-calculator-3273be09/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agri.halowerk.com](https://www.zero.xyz/host/agri.halowerk.com/llms.txt)
