# Forrest 1974 Endoscopic Ulcer Classification Lookup

> Forrest 1974 Endoscopic Ulcer Classification Lookup 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-13).

Returns the canonical Forrest 1974 class label and lesion description for a caller-supplied endoscopic ulcer classification code (Ia through III).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/forrest
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forrest-1974-endoscopic-ulcer-classification-lookup-5d5ba43d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_whk-repGQkLEi_FBNQg6R

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 forrest-1974-endoscopic-ulcer-classification-lookup-5d5ba43d
```

Example prompt: Look up Forrest class iia for me — I need the canonical 1974 label and lesion description for a non-bleeding visible vessel finding.

## When to prefer this

Use this endpoint when you need to programmatically validate, normalize, or retrieve the canonical label and description for a Forrest 1974 endoscopic ulcer class code. It is authoritative for the classification text itself but does not provide rebleeding risk estimates or interpret endoscopy images.

## Known failure modes

- Invalid or unrecognized Forrest class code returns an error
- Missing 'forrest' query parameter results in a bad request response
- Passing a free-text description instead of a class code (e.g. 'active bleeding' instead of 'ia') may not be recognized

## How this service works

Forrest 1974 endoscopic ulcer class as assigned by the caller: ia active spurting haemorrhage, ib active oozing, iia non-bleeding visible vessel, iib adherent clot, iic flat pigmented haematin / coffee-ground base, iii clean ulcer base. Returns the canonical class and 1974 lesion description. magent does not interpret endoscopy images or invent rebleeding percentages. Not a medical device.

## Output

Returns the canonical Forrest 1974 class identifier and its associated 1974 lesion description (e.g. 'Forrest Ib – active oozing haemorrhage'). Does not include rebleeding risk percentages or image interpretation.

## 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": [
      "forrest"
     ],
     "properties": {
      "forrest": {
       "type": "string",
       "description": "Forrest 1974 endoscopic lesion class as assigned by the caller: ia (active spurting hemorrhage), ib (active oozing hemorrhage), iia (non-bleeding visible vessel), iib (adherent clot), iic (flat pigmented haematin / coffee-ground base), or iii (clean ulcer base / no signs of recent hemorrhage). Case-insensitive. magent does not interpret endoscopy images."
      }
     }
    }
   },
   "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/forrest-1974-endoscopic-ulcer-classification-lookup-5d5ba43d/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)
