# Rome IV Levator Ani Syndrome Calculator (Rao 2016)

> Rome IV Levator Ani Syndrome Calculator (Rao 2016) 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).

Evaluates six Rome IV diagnostic criteria to determine whether a patient meets the definition of levator ani syndrome (F2a) per Rao 2016

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_levator_ani
- 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/rome-iv-levator-ani-syndrome-calculator-rao-2016-db8a451c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WGrB9RxWn33c9m_Hg_MfF

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 rome-iv-levator-ani-syndrome-calculator-rao-2016-db8a451c
```

Example prompt: Check whether this patient meets Rome IV levator ani syndrome criteria: they have chronic rectal aching with episodes lasting over 30 minutes, tenderness on puborectalis traction, other causes of rectal pain have been excluded, criteria have been met for the last 3 months, and symptoms started at least 6 months ago.

## When to prefer this

Use this endpoint when you need a fast, structured, reproducible Rome IV F2a levator ani syndrome criterion check based on already-gathered clinical findings. Prefer it over manual lookup when building clinical decision support tools, EHR integrations, or gastroenterology triage agents that need to distinguish levator ani syndrome from proctalgia fugax (F2b) or unspecified functional anorectal pain. All six criterion values must be pre-assessed by a qualified clinician before calling.

## Known failure modes

- Missing any required query parameter returns an error — all six boolean fields are mandatory
- Passing non-boolean values for any criterion will cause a validation error
- Network or payment failure (x402 payment required) if USDC payment is not included
- If caller incorrectly assigns clinical findings (e.g. tenderness not actually checked), the result reflects erroneous inputs — garbage in, garbage out

## How this service works

Rao 2016 Rome IV levator ani syndrome. rome_iv_levator_ani is true iff chronic or recurrent rectal pain or aching, episodes lasting 30 minutes or longer, tenderness during puborectalis traction (caller assigns; magent does not perform traction), other causes of rectal pain excluded, last-3-months criteria, and 6-month onset. Not a diagnosis, not proctalgia fugax, not unspecified functional anorectal pain (F2b).

## Output

Returns a boolean field rome_iv_levator_ani indicating true if all six Rome IV F2a criteria are simultaneously met (chronic/recurrent rectal pain or aching, episodes ≥30 min, puborectalis tenderness, other causes excluded, criteria fulfilled for last 3 months, onset ≥6 months prior), and false otherwise. This is a computational criterion check, not a medical diagnosis.

## 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": [
      "chronic_or_recurrent_rectal_pain_or_aching",
      "episodes_last_30_minutes_or_longer",
      "tenderness_during_puborectalis_traction",
      "other_causes_of_rectal_pain_excluded",
      "fulfilled_last_3_months",
      "onset_at_least_6_months"
     ],
     "properties": {
      "fulfilled_last_3_months": {
       "type": "boolean",
       "description": "Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "onset_at_least_6_months": {
       "type": "boolean",
       "description": "Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "episodes_last_30_minutes_or_longer": {
       "type": "boolean",
       "description": "Episodes last 30 minutes or longer (Rao 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "other_causes_of_rectal_pain_excluded": {
       "type": "boolean",
       "description": "Other causes of rectal pain excluded (IBD, intramuscular abscess, anal fissure, thrombosed hemorrhoids, prostatitis, coccygodynia, major pelvic-floor structural alteration), as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient."
      },
      "tenderness_during_puborectalis_traction": {
       "type": "boolean",
       "description": "Tenderness during posterior traction on the puborectalis (Rao 2016 F2a). true or false as assigned by the caller. magent does not perform traction on the puborectalis."
      },
      "chronic_or_recurrent_rectal_pain_or_aching": {
       "type": "boolean",
       "description": "Chronic or recurrent rectal pain or aching (Rao 2016 Rome IV levator ani syndrome F2a). true or false as assigned by the caller. magent does not take a history."
      }
     }
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rome-iv-levator-ani-syndrome-calculator-rao-2016-db8a451c/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)
