{
  "x402Version": 2,
  "id": 38982,
  "slug": "38982",
  "resource": "https://api.magentlab.com/api/calc/parc",
  "description": "Kharbanda 2018 Table 3 pediatric appendicitis risk calculator (pARC): logistic probability from sex, age (5-18 years), pain duration, pain with walking, migration of pain to RLQ, maximal RLQ tenderness, abdominal guarding, and ANC (x10^3/uL; 1.77*sqrt(ANC) if <14, else constant 6.62). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not PAS, and not Alvarado. magent does not examine the child.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "abdominal_guarding": false,
                "age": 15,
                "anc_10e3_ul": 2,
                "maximal_tenderness_rlq": false,
                "pain_duration": "lt_24",
                "pain_migration_rlq": false,
                "pain_with_walking": false,
                "sex": "female"
              },
              {
                "abdominal_guarding": false,
                "age": 15,
                "anc_10e3_ul": 2,
                "maximal_tenderness_rlq": false,
                "pain_duration": "lt_24",
                "pain_migration_rlq": false,
                "pain_with_walking": false,
                "sex": "female"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "abdominal_guarding": false,
                "age_years": 15,
                "anc_10e3_ul": 2,
                "citation": {
                  "authors": "Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.",
                  "doi": "10.1542/peds.2017-2699",
                  "id": "kharbanda-2018",
                  "pmid": "29535251",
                  "source": "Pediatrics. 2018;141(4):e20172699",
                  "title": "Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"
                },
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "estimated_probability": 0.002032,
                "estimated_probability_percent": 0.2,
                "formula": "parc",
                "formula_expression": "L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability",
                "logit": -6.1968,
                "maximal_tenderness_rlq": false,
                "pain_duration": "lt_24",
                "pain_migration_rlq": false,
                "pain_with_walking": false,
                "sex": "female"
              },
              {
                "abdominal_guarding": false,
                "age_years": 15,
                "anc_10e3_ul": 2,
                "citation": {
                  "authors": "Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.",
                  "doi": "10.1542/peds.2017-2699",
                  "id": "kharbanda-2018",
                  "pmid": "29535251",
                  "source": "Pediatrics. 2018;141(4):e20172699",
                  "title": "Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"
                },
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "estimated_probability": 0.002032,
                "estimated_probability_percent": 0.2,
                "formula": "parc",
                "formula_expression": "L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability",
                "logit": -6.1968,
                "maximal_tenderness_rlq": false,
                "pain_duration": "lt_24",
                "pain_migration_rlq": false,
                "pain_with_walking": false,
                "sex": "female"
              }
            ],
            "path": "/api/calc/parc"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "abdominal_guarding": {
                          "description": "Caller-assigned abdominal guarding (Kharbanda 2018 Table 3 +0.67). magent does not examine the child.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in whole years from 5 to 18 (Kharbanda 2018 derivation). Age 5-7 maps to 5-7.9 y; male 8-13 and female 8-11 use the age 8-13.9 y term; male 14-18 y and female 12-18 y are the Table 3 reference.",
                          "type": "integer"
                        },
                        "anc_10e3_ul": {
                          "description": "Absolute neutrophil count in x10^3/uL (0-80). Kharbanda 2018 Table 3: if ANC < 14, add 1.77*sqrt(ANC); if ANC >= 14, add 6.62 instead of the sqrt term. Required; magent does not impute ANC from WBC.",
                          "type": "number"
                        },
                        "maximal_tenderness_rlq": {
                          "description": "Caller-assigned maximal tenderness in the right-lower quadrant (Kharbanda 2018 Table 3 +1.14). magent does not examine the child.",
                          "type": "boolean"
                        },
                        "pain_duration": {
                          "description": "Kharbanda 2018 Table 3 duration of pain as assigned by the caller: lt_24 (reference, 0), 24_lt_48 (+0.47), or 48_96 (+0.10). Derivation excluded pain beyond 96 hours. Do not send a nausea or vomiting flag.",
                          "enum": [
                            "lt_24",
                            "24_lt_48",
                            "48_96"
                          ],
                          "type": "string"
                        },
                        "pain_migration_rlq": {
                          "description": "Caller-assigned history of migration of pain to the right-lower quadrant (Kharbanda 2018 Table 3 +0.46). magent does not examine the child.",
                          "type": "boolean"
                        },
                        "pain_with_walking": {
                          "description": "Caller-assigned presence of pain with walking (Kharbanda 2018 Table 3 +1.05). magent does not examine the child.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "Caller-assigned sex. Male adds 1.28. Combined with age for the Table 3 age-and-sex terms. magent does not examine the child.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "pain_duration",
                        "pain_with_walking",
                        "pain_migration_rlq",
                        "maximal_tenderness_rlq",
                        "abdominal_guarding",
                        "anc_10e3_ul"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "parc",
    "appendicitis",
    "pediatric",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T10:26:50.286Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T10:26:50.148Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "abdominal_guarding": false,
                  "age": 15,
                  "anc_10e3_ul": 2,
                  "maximal_tenderness_rlq": false,
                  "pain_duration": "lt_24",
                  "pain_migration_rlq": false,
                  "pain_with_walking": false,
                  "sex": "female"
                },
                {
                  "abdominal_guarding": false,
                  "age": 15,
                  "anc_10e3_ul": 2,
                  "maximal_tenderness_rlq": false,
                  "pain_duration": "lt_24",
                  "pain_migration_rlq": false,
                  "pain_with_walking": false,
                  "sex": "female"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "abdominal_guarding": false,
                  "age_years": 15,
                  "anc_10e3_ul": 2,
                  "citation": {
                    "authors": "Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.",
                    "doi": "10.1542/peds.2017-2699",
                    "id": "kharbanda-2018",
                    "pmid": "29535251",
                    "source": "Pediatrics. 2018;141(4):e20172699",
                    "title": "Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"
                  },
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "estimated_probability": 0.002032,
                  "estimated_probability_percent": 0.2,
                  "formula": "parc",
                  "formula_expression": "L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability",
                  "logit": -6.1968,
                  "maximal_tenderness_rlq": false,
                  "pain_duration": "lt_24",
                  "pain_migration_rlq": false,
                  "pain_with_walking": false,
                  "sex": "female"
                },
                {
                  "abdominal_guarding": false,
                  "age_years": 15,
                  "anc_10e3_ul": 2,
                  "citation": {
                    "authors": "Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.",
                    "doi": "10.1542/peds.2017-2699",
                    "id": "kharbanda-2018",
                    "pmid": "29535251",
                    "source": "Pediatrics. 2018;141(4):e20172699",
                    "title": "Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"
                  },
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "estimated_probability": 0.002032,
                  "estimated_probability_percent": 0.2,
                  "formula": "parc",
                  "formula_expression": "L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability",
                  "logit": -6.1968,
                  "maximal_tenderness_rlq": false,
                  "pain_duration": "lt_24",
                  "pain_migration_rlq": false,
                  "pain_with_walking": false,
                  "sex": "female"
                }
              ],
              "path": "/api/calc/parc"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "abdominal_guarding": {
                            "description": "Caller-assigned abdominal guarding (Kharbanda 2018 Table 3 +0.67). magent does not examine the child.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in whole years from 5 to 18 (Kharbanda 2018 derivation). Age 5-7 maps to 5-7.9 y; male 8-13 and female 8-11 use the age 8-13.9 y term; male 14-18 y and female 12-18 y are the Table 3 reference.",
                            "type": "integer"
                          },
                          "anc_10e3_ul": {
                            "description": "Absolute neutrophil count in x10^3/uL (0-80). Kharbanda 2018 Table 3: if ANC < 14, add 1.77*sqrt(ANC); if ANC >= 14, add 6.62 instead of the sqrt term. Required; magent does not impute ANC from WBC.",
                            "type": "number"
                          },
                          "maximal_tenderness_rlq": {
                            "description": "Caller-assigned maximal tenderness in the right-lower quadrant (Kharbanda 2018 Table 3 +1.14). magent does not examine the child.",
                            "type": "boolean"
                          },
                          "pain_duration": {
                            "description": "Kharbanda 2018 Table 3 duration of pain as assigned by the caller: lt_24 (reference, 0), 24_lt_48 (+0.47), or 48_96 (+0.10). Derivation excluded pain beyond 96 hours. Do not send a nausea or vomiting flag.",
                            "enum": [
                              "lt_24",
                              "24_lt_48",
                              "48_96"
                            ],
                            "type": "string"
                          },
                          "pain_migration_rlq": {
                            "description": "Caller-assigned history of migration of pain to the right-lower quadrant (Kharbanda 2018 Table 3 +0.46). magent does not examine the child.",
                            "type": "boolean"
                          },
                          "pain_with_walking": {
                            "description": "Caller-assigned presence of pain with walking (Kharbanda 2018 Table 3 +1.05). magent does not examine the child.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "Caller-assigned sex. Male adds 1.28. Combined with age for the Table 3 age-and-sex terms. magent does not examine the child.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "pain_duration",
                          "pain_with_walking",
                          "pain_migration_rlq",
                          "maximal_tenderness_rlq",
                          "abdominal_guarding",
                          "anc_10e3_ul"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}