# Livestock Vital Signs Deviation Screener

> Livestock Vital Signs Deviation Screener 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).

Compares temperature, heart rate, and activity ratio readings for livestock against caller-supplied reference ranges, returning normalized deviations and a screening band for each animal.

## Facts

- Endpoint: POST https://agri.halowerk.com/v1/livestock-health
- 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/livestock-vital-signs-deviation-screener-ff2e3f2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_43xt_DI_A05XIxClRVPxt

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 livestock-vital-signs-deviation-screener-ff2e3f2b -d '<json body>'
```

Example prompt: I have sensor readings for 3 cows — animal IDs A1, A2, A3 — with temperatures of 38.5, 40.1, and 37.8 °C, heart rates of 72, 95, and 68 bpm, and activity ratios of 1.2, 3.4, and 0.9. The normal ranges for cattle are 38.0–39.5 °C, 48–84 bpm, and 0.5–2.5 activity ratio. Can you run a deviation screen and tell me which animals fall outside the normal bands?

## When to prefer this

Choose this endpoint when you have structured sensor or manual vital-sign readings for livestock and want to quickly screen for deviations from caller-defined reference ranges in batch. It is arithmetic-only computation, making it ideal for rule-based monitoring pipelines or data preprocessing steps before veterinary review. Prefer it over generic statistics APIs because it understands the three-parameter livestock biometric model (temperature, heart rate, activity ratio) natively. Not suitable when you need veterinary diagnosis, species-specific built-in reference tables, or real-time streaming.

## Known failure modes

- Reference range minimum exceeds maximum — validation error returned
- Animal array is empty or exceeds 10,000 items — schema rejection
- Temperature or heart rate values outside physical bounds (0–60 °C, 0–500 bpm) — rejected
- Missing required fields per animal (animal_id, temperature_c, heart_rate_bpm, activity_ratio) — 400 error
- Malformed JSON body — parse error

## How this service works

Compares temperature, heart rate and an activity ratio with ranges supplied by the caller, then reports normalized deviations and a simple screening band. It is species-agnostic arithmetic, not veterinary diagnosis, remote monitoring, triage or treatment advice; reference ranges must come from a qualified source.

## Output

Returns per-animal normalized deviation scores for temperature, heart rate, and activity ratio, along with a simple screening band classification indicating how far each animal falls outside the supplied reference range. No veterinary diagnosis or treatment recommendation is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "animals": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "animal_id",
     "temperature_c",
     "heart_rate_bpm",
     "activity_ratio"
    ],
    "properties": {
     "animal_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "temperature_c": {
      "type": "number",
      "maximum": 60,
      "minimum": 0
     },
     "activity_ratio": {
      "type": "number",
      "maximum": 10,
      "minimum": 0
     },
     "heart_rate_bpm": {
      "type": "number",
      "maximum": 500,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000,
   "minItems": 1
  },
  "reference_ranges": {
   "type": "object",
   "required": [
    "temperature_c",
    "heart_rate_bpm",
    "activity_ratio"
   ],
   "properties": {
    "temperature_c": {
     "type": "object",
     "required": [
      "minimum",
      "maximum"
     ],
     "properties": {
      "maximum": {
       "type": "number",
       "maximum": 60,
       "minimum": 0
      },
      "minimum": {
       "type": "number",
       "maximum": 60,
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "activity_ratio": {
     "type": "object",
     "required": [
      "minimum",
      "maximum"
     ],
     "properties": {
      "maximum": {
       "type": "number",
       "maximum": 10,
       "minimum": 0
      },
      "minimum": {
       "type": "number",
       "maximum": 10,
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "heart_rate_bpm": {
     "type": "object",
     "required": [
      "minimum",
      "maximum"
     ],
     "properties": {
      "maximum": {
       "type": "number",
       "maximum": 500,
       "minimum": 0
      },
      "minimum": {
       "type": "number",
       "maximum": 500,
       "minimum": 0
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/livestock-vital-signs-deviation-screener-ff2e3f2b/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)
