{
  "x402Version": 2,
  "id": 39317,
  "slug": "39317",
  "resource": "https://api.magentlab.com/api/calc/air",
  "description": "Andersson 2008 appendicitis inflammatory response (AIR) score from caller-assigned vomiting, right-iliac-fossa pain, rebound or guarding (none/light/medium/strong), temperature, WBC, neutrophil percent, and CRP in mg/L (max 12). Bands 0-4, 5-8, and 9-12. Deterministic published score with citation; not a diagnosis or operating-room protocol. magent does not examine the abdomen.",
  "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": [
              {
                "crp_mg_l": 5,
                "neutrophil_percent": 60,
                "rebound_or_guarding": "none",
                "rif_pain": false,
                "temperature_c": 37,
                "vomiting": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              },
              {
                "crp_mg_l": 5,
                "neutrophil_percent": 60,
                "rebound_or_guarding": "none",
                "rif_pain": false,
                "temperature_c": 37,
                "vomiting": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "air_band": "0-4",
                "citation": {
                  "authors": "Andersson M, Andersson RE",
                  "doi": "10.1007/s00268-008-9649-y",
                  "id": "andersson-2008",
                  "pmid": "18553045",
                  "source": "World J Surg. 2008;32(8):1843-1849",
                  "title": "The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"
                },
                "components": [
                  {
                    "factor": "vomiting",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "rif_pain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "rebound_or_guarding",
                    "points": 0,
                    "present": false,
                    "value": "none"
                  },
                  {
                    "factor": "temperature_c",
                    "points": 0,
                    "present": false,
                    "value": 37
                  },
                  {
                    "factor": "wbc",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  },
                  {
                    "factor": "neutrophil_percent",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "crp_mg_l",
                    "points": 0,
                    "present": false,
                    "value": 5
                  }
                ],
                "crp_mg_l": 5,
                "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.",
                "formula": "air",
                "formula_expression": "AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12",
                "max_score": 12,
                "neutrophil_percent": 60,
                "rebound_or_guarding": "none",
                "rif_pain": false,
                "score": 0,
                "temperature_c": 37,
                "vomiting": false,
                "wbc_10e9_l": 8,
                "wbc_ul": 8000
              },
              {
                "air_band": "0-4",
                "citation": {
                  "authors": "Andersson M, Andersson RE",
                  "doi": "10.1007/s00268-008-9649-y",
                  "id": "andersson-2008",
                  "pmid": "18553045",
                  "source": "World J Surg. 2008;32(8):1843-1849",
                  "title": "The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"
                },
                "components": [
                  {
                    "factor": "vomiting",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "rif_pain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "rebound_or_guarding",
                    "points": 0,
                    "present": false,
                    "value": "none"
                  },
                  {
                    "factor": "temperature_c",
                    "points": 0,
                    "present": false,
                    "value": 37
                  },
                  {
                    "factor": "wbc",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  },
                  {
                    "factor": "neutrophil_percent",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "crp_mg_l",
                    "points": 0,
                    "present": false,
                    "value": 5
                  }
                ],
                "crp_mg_l": 5,
                "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.",
                "formula": "air",
                "formula_expression": "AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12",
                "max_score": 12,
                "neutrophil_percent": 60,
                "rebound_or_guarding": "none",
                "rif_pain": false,
                "score": 0,
                "temperature_c": 37,
                "vomiting": false,
                "wbc_10e9_l": 8,
                "wbc_ul": 8000
              }
            ],
            "path": "/api/calc/air"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "crp_mg_l": {
                          "description": "C-reactive protein in mg/L (0-500), not mg/dL. <10 scores 0; 10-49 scores 1; ≥50 scores 2 (9.9 does not; 10 and 49 score 1; 50 scores 2).",
                          "type": "number"
                        },
                        "neutrophil_percent": {
                          "description": "Neutrophil percent (0-100). <70 scores 0; 70-84 scores 1; ≥85 scores 2 (69.9 does not; 70 and 84 score 1; 85 scores 2).",
                          "type": "number"
                        },
                        "rebound_or_guarding": {
                          "description": "Caller-assigned rebound tenderness or muscular guarding (Andersson 2008). none scores 0; light 1; medium 2; strong 3. magent does not examine the abdomen.",
                          "enum": [
                            "none",
                            "light",
                            "medium",
                            "strong"
                          ],
                          "type": "string"
                        },
                        "rif_pain": {
                          "description": "Pain in the right iliac fossa / right lower quadrant (Andersson 2008). true scores 1; false scores 0.",
                          "type": "boolean"
                        },
                        "temperature_c": {
                          "description": "Temperature in °C (30.0-45.0). ≥38.5 scores 1 (38.5 scores; 38.49 does not).",
                          "type": "number"
                        },
                        "vomiting": {
                          "description": "Vomiting (Andersson 2008). true scores 1; false scores 0.",
                          "type": "boolean"
                        },
                        "wbc_k_ul": {
                          "description": "WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Converted to ×10^9/L: <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.",
                          "type": "number"
                        },
                        "wbc_ul": {
                          "description": "WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "vomiting",
                        "rif_pain",
                        "rebound_or_guarding",
                        "temperature_c",
                        "neutrophil_percent",
                        "crp_mg_l"
                      ],
                      "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": [
    "air",
    "appendicitis",
    "air-score",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T23:30:49.714Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:30:49.585Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "crp_mg_l": 5,
                  "neutrophil_percent": 60,
                  "rebound_or_guarding": "none",
                  "rif_pain": false,
                  "temperature_c": 37,
                  "vomiting": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                },
                {
                  "crp_mg_l": 5,
                  "neutrophil_percent": 60,
                  "rebound_or_guarding": "none",
                  "rif_pain": false,
                  "temperature_c": 37,
                  "vomiting": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "air_band": "0-4",
                  "citation": {
                    "authors": "Andersson M, Andersson RE",
                    "doi": "10.1007/s00268-008-9649-y",
                    "id": "andersson-2008",
                    "pmid": "18553045",
                    "source": "World J Surg. 2008;32(8):1843-1849",
                    "title": "The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"
                  },
                  "components": [
                    {
                      "factor": "vomiting",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "rif_pain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "rebound_or_guarding",
                      "points": 0,
                      "present": false,
                      "value": "none"
                    },
                    {
                      "factor": "temperature_c",
                      "points": 0,
                      "present": false,
                      "value": 37
                    },
                    {
                      "factor": "wbc",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    },
                    {
                      "factor": "neutrophil_percent",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "crp_mg_l",
                      "points": 0,
                      "present": false,
                      "value": 5
                    }
                  ],
                  "crp_mg_l": 5,
                  "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.",
                  "formula": "air",
                  "formula_expression": "AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12",
                  "max_score": 12,
                  "neutrophil_percent": 60,
                  "rebound_or_guarding": "none",
                  "rif_pain": false,
                  "score": 0,
                  "temperature_c": 37,
                  "vomiting": false,
                  "wbc_10e9_l": 8,
                  "wbc_ul": 8000
                },
                {
                  "air_band": "0-4",
                  "citation": {
                    "authors": "Andersson M, Andersson RE",
                    "doi": "10.1007/s00268-008-9649-y",
                    "id": "andersson-2008",
                    "pmid": "18553045",
                    "source": "World J Surg. 2008;32(8):1843-1849",
                    "title": "The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"
                  },
                  "components": [
                    {
                      "factor": "vomiting",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "rif_pain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "rebound_or_guarding",
                      "points": 0,
                      "present": false,
                      "value": "none"
                    },
                    {
                      "factor": "temperature_c",
                      "points": 0,
                      "present": false,
                      "value": 37
                    },
                    {
                      "factor": "wbc",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    },
                    {
                      "factor": "neutrophil_percent",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "crp_mg_l",
                      "points": 0,
                      "present": false,
                      "value": 5
                    }
                  ],
                  "crp_mg_l": 5,
                  "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.",
                  "formula": "air",
                  "formula_expression": "AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12",
                  "max_score": 12,
                  "neutrophil_percent": 60,
                  "rebound_or_guarding": "none",
                  "rif_pain": false,
                  "score": 0,
                  "temperature_c": 37,
                  "vomiting": false,
                  "wbc_10e9_l": 8,
                  "wbc_ul": 8000
                }
              ],
              "path": "/api/calc/air"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "crp_mg_l": {
                            "description": "C-reactive protein in mg/L (0-500), not mg/dL. <10 scores 0; 10-49 scores 1; ≥50 scores 2 (9.9 does not; 10 and 49 score 1; 50 scores 2).",
                            "type": "number"
                          },
                          "neutrophil_percent": {
                            "description": "Neutrophil percent (0-100). <70 scores 0; 70-84 scores 1; ≥85 scores 2 (69.9 does not; 70 and 84 score 1; 85 scores 2).",
                            "type": "number"
                          },
                          "rebound_or_guarding": {
                            "description": "Caller-assigned rebound tenderness or muscular guarding (Andersson 2008). none scores 0; light 1; medium 2; strong 3. magent does not examine the abdomen.",
                            "enum": [
                              "none",
                              "light",
                              "medium",
                              "strong"
                            ],
                            "type": "string"
                          },
                          "rif_pain": {
                            "description": "Pain in the right iliac fossa / right lower quadrant (Andersson 2008). true scores 1; false scores 0.",
                            "type": "boolean"
                          },
                          "temperature_c": {
                            "description": "Temperature in °C (30.0-45.0). ≥38.5 scores 1 (38.5 scores; 38.49 does not).",
                            "type": "number"
                          },
                          "vomiting": {
                            "description": "Vomiting (Andersson 2008). true scores 1; false scores 0.",
                            "type": "boolean"
                          },
                          "wbc_k_ul": {
                            "description": "WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Converted to ×10^9/L: <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.",
                            "type": "number"
                          },
                          "wbc_ul": {
                            "description": "WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "vomiting",
                          "rif_pain",
                          "rebound_or_guarding",
                          "temperature_c",
                          "neutrophil_percent",
                          "crp_mg_l"
                        ],
                        "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"
  }
}