# PUCAI Calculator (Turner 2007 Pediatric Ulcerative Colitis Activity Index)

> PUCAI Calculator (Turner 2007 Pediatric Ulcerative Colitis Activity Index) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Computes the Turner 2007 PUCAI score from six caller-assigned item points and returns the total (max 85) plus the published activity band (remission, mild, moderate, or severe).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pucai
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pucai-calculator-turner-2007-pediatric-ulcerative-colitis-activity-d4f2242d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kRueMtMGY6os2wqrOVkf7

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 pucai-calculator-turner-2007-pediatric-ulcerative-colitis-activity-d4f2242d
```

Example prompt: Calculate the PUCAI score for a child with abdominal pain points 5, rectal bleeding points 10, stool consistency points 10, stools per 24h points 10, nocturnal stools points 0, and activity level points 5 — and tell me which activity band that falls into.

## When to prefer this

Use this endpoint when you need to programmatically compute the Turner 2007 PUCAI score for a pediatric ulcerative colitis patient from already-assessed symptom points and receive the canonical activity band. Prefer this over manual summation or adult scoring tools (e.g., Mayo score) when the patient is a child and Turner 2007 criteria are being applied.

## Known failure modes

- Invalid or out-of-range integer for any item (e.g., rectal_bleeding=15 instead of 0/10/20/30) may return an error or unexpected result
- Missing required query parameters returns a validation error
- Non-integer values for any parameter cause a type error
- Sum exceeds expected range if caller supplies non-published point values

## How this service works

Turner 2007 pediatric ulcerative colitis activity index (PUCAI): six caller-assigned item points (abdominal pain, rectal bleeding, stool consistency of most stools, stools per 24 hours, nocturnal stools, activity level) using that paper's published integers. magent sums only (max 85) and returns the published activity band (<10 remission, 10-34 mild, 35-64 moderate, ≥65 severe). magent does not examine the child. Not a diagnosis and not the adult Mayo score.

## Output

Returns the summed PUCAI integer score (0–85) and the corresponding Turner 2007 activity band: remission (<10), mild (10–34), moderate (35–64), or severe (≥65). Does not provide a diagnosis and does not incorporate physical examination findings.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "abdominal_pain",
      "rectal_bleeding",
      "stool_consistency_of_most",
      "stools_per_24h",
      "nocturnal_stools",
      "activity_level"
     ],
     "properties": {
      "abdominal_pain": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI abdominal pain points (integer 0, 5, or 10): 0 no pain; 5 pain can be ignored; 10 pain cannot be ignored. magent does not examine the child."
      },
      "activity_level": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI activity level points (integer 0, 5, or 10): 0 no limitation of activity; 5 occasional limitation of activity; 10 severe restricted activity. magent does not examine the child."
      },
      "stools_per_24h": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI number of stools per 24 hours points (integer 0, 5, 10, or 15): 0 for 0-2 stools; 5 for 3-5; 10 for 6-8; 15 for >8. magent does not examine the child."
      },
      "rectal_bleeding": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI rectal bleeding points (integer 0, 10, 20, or 30): 0 none; 10 small amount only, in less than 50% of stools; 20 small amount with most stools; 30 large amount (>50% of the stool content). magent does not examine the child."
      },
      "nocturnal_stools": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI nocturnal stools points (integer 0 or 10): 0 no; 10 yes (any episode causing wakening). magent does not examine the child."
      },
      "stool_consistency_of_most": {
       "type": "integer",
       "description": "Caller-assigned Turner 2007 PUCAI stool consistency of most stools points (integer 0, 5, or 10): 0 formed; 5 partially formed; 10 completely unformed. magent does not examine the child."
      }
     }
    }
   },
   "additionalProperties": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pucai-calculator-turner-2007-pediatric-ulcerative-colitis-activity-d4f2242d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
