# Rome IV C5 Unspecified Functional Bowel Disorder Calculator

> Rome IV C5 Unspecified Functional Bowel Disorder Calculator 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-15).

Evaluates seven caller-assigned clinical flags to determine whether a patient meets Mearin 2016 Rome IV C5 criteria for unspecified functional bowel disorder

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_unspecified_bowel
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rome-iv-c5-unspecified-functional-bowel-disorder-calculator-ccbb66e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PDbDA_-hgIsZwRiOxrTZM

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-c5-unspecified-functional-bowel-disorder-calculator-ccbb66e0
```

Example prompt: Using the Rome IV C5 unspecified functional bowel calculator, check if this patient qualifies: bowel symptoms are not attributable to an organic etiology (true), does not meet IBS criteria (true), does not meet functional constipation criteria (true), does not meet functional diarrhea criteria (true), does not meet functional bloating/distension criteria (true), criteria fulfilled for the last 3 months (true), and symptom onset at least 6 months ago (true).

## When to prefer this

Use this endpoint when a clinical decision support agent or pipeline has already independently scored a patient for IBS, functional constipation, functional diarrhea, and functional bloating/distension and needs to apply the residual Rome IV C5 unspecified functional bowel classification. It does not re-evaluate the excluded diagnoses — the caller must supply those results. Prefer this over manual rule application when automating Rome IV classification in gastroenterology workflows.

## Known failure modes

- Missing any of the seven required boolean query parameters returns a 400 error
- Passing non-boolean values for any flag causes a validation error
- Payment not included or invalid x402 payment header results in 402 Payment Required
- Network timeout or server error returns a 5xx response

## How this service works

Mearin 2016 Rome IV C5 unspecified functional bowel. rome_iv_unspecified_bowel is true iff bowel symptoms not attributable to an organic etiology, does not meet criteria for IBS, functional constipation, functional diarrhea, or functional bloating/distension, last-3-months criteria, and 6-month onset. Caller assigns seven flags; magent does not re-score IBS/FC/diarrhea/bloating. Residual C5 only. Not a diagnosis. magent does not examine the patient.

## Output

Returns a boolean field rome_iv_unspecified_bowel indicating whether the patient meets all seven Rome IV C5 criteria for unspecified functional bowel disorder. True means all flags are satisfied; false means at least one criterion is not met. Not a clinical 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": [
      "bowel_symptoms_not_attributable_to_organic_etiology",
      "does_not_meet_criteria_for_ibs",
      "does_not_meet_criteria_for_functional_constipation",
      "does_not_meet_criteria_for_functional_diarrhea",
      "does_not_meet_criteria_for_functional_bloating_distension",
      "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 (Mearin 2016 C5). 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 (Mearin 2016 C5). true or false as assigned by the caller. magent does not take a history."
      },
      "does_not_meet_criteria_for_ibs": {
       "type": "boolean",
       "description": "Does not meet criteria for IBS, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score the IBS box."
      },
      "does_not_meet_criteria_for_functional_diarrhea": {
       "type": "boolean",
       "description": "Does not meet criteria for functional diarrhea, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional diarrhea."
      },
      "does_not_meet_criteria_for_functional_constipation": {
       "type": "boolean",
       "description": "Does not meet criteria for functional constipation, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional constipation."
      },
      "bowel_symptoms_not_attributable_to_organic_etiology": {
       "type": "boolean",
       "description": "Bowel symptoms not attributable to an organic etiology, as assigned (Mearin 2016 Rome IV C5). true or false as assigned by the caller. magent does not examine the pat
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rome-iv-c5-unspecified-functional-bowel-disorder-calculator-ccbb66e0/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)
