MA
Agent Service · x402 · early usage

Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditi…

Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditions, at most one high-risk surgery type plus emergency add-on, stacking trauma items, and risk modifiers including diabetes -1 only with sepsis. Score is a number; publishe…

by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12

30d calls3
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditions, at most one high-risk surgery type plus emergency add-on, stacking trauma items, and risk modifiers including diabetes -1 only with sepsis. Score is a number; published observed range 0-15.5. Band low if <4, high if >=4 (ROC cutoff). Not an ARDS diagnosis. magent does not examine the patient or read imaging.

Tags: lips · lung-injury · respiratory · score · calculator · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-12
Input example from Bazaar metadata
{
  "items": [
    {
      "acidosis_ph_lt_735": false,
      "acute_abdomen": false,
      "alcohol_abuse": true,
      "aortic_vascular": false,
      "aspiration": false,
      "cardiac": false,
      "chemotherapy": false,
      "diabetes_mellitus": false,
      "emergency_surgery": false,
      "fio2_gt_035": true,
      "hypoalbuminemia": false,
      "lung_contusion": false,
      "multiple_fractures": false,
      "near_drowning": false,
      "obesity_bmi_gt_30": false,
      "orthopedic_spine": false,
      "pneumonia": true,
      "sepsis": true,
      "shock": true,
      "smoke_inhalation": false,
      "spo2_lt_95": false,
      "tachypnea_rr_gt_30": false,
      "traumatic_brain_injury": false
    },
    {
      "acidosis_ph_lt_735": false,
      "acute_abdomen": false,
      "alcohol_abuse": true,
      "aortic_vascular": false,
      "aspiration": false,
      "cardiac": false,
      "chemotherapy": false,
      "diabetes_mellitus": false,
      "emergency_surgery": false,
      "fio2_gt_035": true,
      "hypoalbuminemia": false,
      "lung_contusion": false,
      "multiple_fractures": false,
      "near_drowning": false,
      "obesity_bmi_gt_30": false,
      "orthopedic_spine": false,
      "pneumonia": true,
      "sepsis": true,
      "shock": true,
      "smoke_inhalation": false,
      "spo2_lt_95": false,
      "tachypnea_rr_gt_30": false,
      "traumatic_brain_injury": false
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "citation": {
        "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
        "doi": "10.1164/rccm.201004-0549OC",
        "id": "gajic-2011",
        "pmid": "20802164",
        "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
        "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
      },
      "components": [
        {
          "factor": "shock",
          "points": 2,
          "present": true
        },
        {
          "factor": "aspiration",
          "points": 0,
          "present": false
        },
        {
          "factor": "sepsis",
          "points": 1,
          "present": true
        },
        {
          "factor": "pneumonia",
          "points": 1.5,
          "present": true
        },
        {
          "factor": "emergency_surgery",
          "points": 0,
          "present": false
        },
        {
          "factor": "traumatic_brain_injury",
          "points": 0,
          "present": false
        },
        {
          "factor": "smoke_inhalation",
          "points": 0,
          "present": false
        },
        {
          "factor": "near_drowning",
          "points": 0,
          "present": false
        },
        {
          "factor": "lung_contusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "multiple_fractures",
          "points": 0,
          "present": false
        },
        {
          "factor": "alcohol_abuse",
          "points": 1,
          "present": true
        },
        {
          "factor": "obesity_bmi_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "hypoalbuminemia",
          "points": 0,
          "present": false
        },
        {
          "factor": "chemotherapy",
          "points": 0,
          "present": false
        },
        {
          "factor": "fio2_gt_035",
          "points": 2,
          "present": true
        },
        {
          "factor": "tachypnea_rr_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "spo2_lt_95",
          "points": 0,
          "present": false
        },
        {
          "factor": "acidosis_ph_lt_735",
          "points": 0,
          "present": false
        },
        {
          "factor": "orthopedic_spine",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_abdomen",
          "points": 0,
          "present": false
        },
        {
          "factor": "cardiac",
          "points": 0,
          "present": false
        },
        {
          "factor": "aortic_vascular",
          "points": 0,
          "present": false
        },
        {
          "factor": "diabetes_mellitus",
          "points": 0,
          "present": false
        }
      ],
      "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": "lips",
      "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
      "lips_band": "high",
      "max_score": 15.5,
      "score": 7.5
    },
    {
      "citation": {
        "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
        "doi": "10.1164/rccm.201004-0549OC",
        "id": "gajic-2011",
        "pmid": "20802164",
        "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
        "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
      },
      "components": [
        {
          "factor": "shock",
          "points": 2,
          "present": true
        },
        {
          "factor": "aspiration",
          "points": 0,
          "present": false
        },
        {
          "factor": "sepsis",
          "points": 1,
          "present": true
        },
        {
          "factor": "pneumonia",
          "points": 1.5,
          "present": true
        },
        {
          "factor": "emergency_surgery",
          "points": 0,
          "present": false
        },
        {
          "factor": "traumatic_brain_injury",
          "points": 0,
          "present": false
        },
        {
          "factor": "smoke_inhalation",
          "points": 0,
          "present": false
        },
        {
          "factor": "near_drowning",
          "points": 0,
          "present": false
        },
        {
          "factor": "lung_contusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "multiple_fractures",
          "points": 0,
          "present": false
        },
        {
          "factor": "alcohol_abuse",
          "points": 1,
          "present": true
        },
        {
          "factor": "obesity_bmi_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "hypoalbuminemia",
          "points": 0,
          "present": false
        },
        {
          "factor": "chemotherapy",
          "points": 0,
          "present": false
        },
        {
          "factor": "fio2_gt_035",
          "points": 2,
          "present": true
        },
        {
          "factor": "tachypnea_rr_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "spo2_lt_95",
          "points": 0,
          "present": false
        },
        {
          "factor": "acidosis_ph_lt_735",
          "points": 0,
          "present": false
        },
        {
          "factor": "orthopedic_spine",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_abdomen",
          "points": 0,
          "present": false
        },
        {
          "factor": "cardiac",
          "points": 0,
          "present": false
        },
        {
          "factor": "aortic_vascular",
          "points": 0,
          "present": false
        },
        {
          "factor": "diabetes_mellitus",
          "points": 0,
          "present": false
        }
      ],
      "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": "lips",
      "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
      "lips_band": "high",
      "max_score": 15.5,
      "score": 7.5
    }
  ],
  "path": "/api/calc/lips"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39582.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/lips. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
3 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x836Be278f1739fB4308091cD1852F7971Bc19Ee2600s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 600
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.magentlab.com/api/calc/lips"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.magentlab.com/api/calc/lips");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.magentlab.com/api/calc/lips")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.magentlab.com
Endpoint
https://api.magentlab.com/api/calc/lips
Machine-readable
/resources/39582.json