# magent PEDIS Diabetic Foot Ulcer Classifier

> magent PEDIS Diabetic Foot Ulcer Classifier 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-14).

Computes the IWGDF PEDIS classification for a diabetic foot ulcer from five caller-assigned integer grades (Perfusion, Extent, Depth, Infection, Sensation)

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pedis
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-pedis-diabetic-foot-ulcer-classifier-47222a88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JvqGcLoNy9WpkFA-6GiXc

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 magent-pedis-diabetic-foot-ulcer-classifier-47222a88
```

Example prompt: Using the PEDIS system, classify a diabetic foot ulcer where the patient has PAD without critical limb ischemia (perfusion 2), the wound is about 2 cm² (extent 2), it extends to the fascia (depth 2), there's a skin-only infection (infection 2), and protective sensation is lost (sensation 2).

## When to prefer this

Use this endpoint when you need to programmatically generate or validate a Schaper 2004 IWGDF PEDIS classification label from five pre-assigned clinical grades. It is ideal for clinical documentation pipelines, research cohort encoding, or any workflow where a clinician has already assessed the five PEDIS domains and needs a formatted, standards-aligned label. It does not perform clinical assessment — all grades must be assigned by the caller.

## Known failure modes

- Missing required grade parameter returns validation error
- Out-of-range integer (e.g. perfusion=4, sensation=3) returns error
- Non-integer values for grade parameters cause schema rejection
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Schaper 2004 IWGDF PEDIS: five independent grades, not a summed total. Perfusion 1-3 (no PAD; PAD without CLI; CLI). Extent 1-3 (<1; 1-3; >3 cm2). Depth 1-3 (superficial; fascia/muscle/tendon; bone/joint). Infection 1-4 (none; skin; deeper without SIRS; with SIRS). Sensation 1-2 (protective sensation present or lost). Label like 1-1-1-1-1. Caller assigns grades. Not a medical device or IWGDF treatment; magent does not measure the ulcer, diagnose PAD, or probe bone.

## Output

Returns a formatted PEDIS label string (e.g. '2-2-2-2-2') representing the five independent grades — Perfusion, Extent, Depth, Infection, Sensation — as defined in the Schaper 2004 IWGDF PEDIS classification system, along with the individual grade values.

## 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": [
      "perfusion",
      "extent",
      "depth",
      "infection",
      "sensation"
     ],
     "properties": {
      "depth": {
       "type": "integer",
       "description": "Depth grade 1-3 as assigned by the caller (Schaper 2004): 1 superficial (not through dermis to subcutaneous); 2 to subcutaneous/fascia/muscle/tendon (not bone/joint); 3 bone and/or joint. magent does not probe bone."
      },
      "extent": {
       "type": "integer",
       "description": "Extent (ulcer area) grade 1-3 as assigned by the caller (Schaper 2004): 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2. magent does not measure the ulcer."
      },
      "infection": {
       "type": "integer",
       "description": "Infection grade 1-4 as assigned by the caller (Schaper 2004): 1 none; 2 skin/subcutaneous only; 3 deeper than skin (abscess, osteomyelitis, septic arthritis, fasciitis) without SIRS; 4 infection with SIRS. magent does not diagnose infection."
      },
      "perfusion": {
       "type": "integer",
       "description": "Perfusion grade 1-3 as assigned by the caller (Schaper 2004): 1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia. magent does not diagnose PAD or measure pulses or pressures."
      },
      "sensation": {
       "type": "integer",
       "description": "Sensation grade 1-2 as assigned by the caller (Schaper 2004): 1 no loss of protective sensation; 2 loss of protective sensation. magent does not test sensation."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-pedis-diabetic-foot-ulcer-classifier-47222a88/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)
