{
  "x402Version": 2,
  "id": 39071,
  "slug": "39071",
  "resource": "https://api.magentlab.com/api/calc/iss",
  "description": "Injury Severity Score (Baker 1974): ISS is the sum of squares of the three highest caller-assigned AIS body-region grades (head, face, chest, abdomen, extremity, external; each 0-6). Any AIS 6 (unsurvivable) is ISS 75. Deterministic published arithmetic with citation; not a triage order and not NISS (which squares the three worst injuries regardless of region).",
  "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": [
              {
                "ais_abdomen": 1,
                "ais_chest": 2,
                "ais_external": 0,
                "ais_extremity": 0,
                "ais_face": 0,
                "ais_head": 3
              },
              {
                "ais_abdomen": 1,
                "ais_chest": 2,
                "ais_external": 0,
                "ais_extremity": 0,
                "ais_face": 0,
                "ais_head": 3
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "ais_abdomen": 1,
                "ais_chest": 2,
                "ais_external": 0,
                "ais_extremity": 0,
                "ais_face": 0,
                "ais_head": 3,
                "citation": {
                  "authors": "Baker SP, O'Neill B, Haddon W Jr, Long WB",
                  "doi": "10.1097/00005373-197403000-00001",
                  "id": "baker-1974",
                  "source": "J Trauma. 1974;14(3):187-196",
                  "title": "The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"
                },
                "components": [
                  {
                    "ais": 3,
                    "factor": "ais_head",
                    "points": 9,
                    "present": true
                  },
                  {
                    "ais": 0,
                    "factor": "ais_face",
                    "points": 0,
                    "present": false
                  },
                  {
                    "ais": 2,
                    "factor": "ais_chest",
                    "points": 4,
                    "present": true
                  },
                  {
                    "ais": 1,
                    "factor": "ais_abdomen",
                    "points": 1,
                    "present": true
                  },
                  {
                    "ais": 0,
                    "factor": "ais_extremity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "ais": 0,
                    "factor": "ais_external",
                    "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": "iss",
                "formula_expression": "ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75",
                "max_score": 75,
                "score": 14,
                "used_ais": [
                  3,
                  2,
                  1
                ]
              },
              {
                "ais_abdomen": 1,
                "ais_chest": 2,
                "ais_external": 0,
                "ais_extremity": 0,
                "ais_face": 0,
                "ais_head": 3,
                "citation": {
                  "authors": "Baker SP, O'Neill B, Haddon W Jr, Long WB",
                  "doi": "10.1097/00005373-197403000-00001",
                  "id": "baker-1974",
                  "source": "J Trauma. 1974;14(3):187-196",
                  "title": "The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"
                },
                "components": [
                  {
                    "ais": 3,
                    "factor": "ais_head",
                    "points": 9,
                    "present": true
                  },
                  {
                    "ais": 0,
                    "factor": "ais_face",
                    "points": 0,
                    "present": false
                  },
                  {
                    "ais": 2,
                    "factor": "ais_chest",
                    "points": 4,
                    "present": true
                  },
                  {
                    "ais": 1,
                    "factor": "ais_abdomen",
                    "points": 1,
                    "present": true
                  },
                  {
                    "ais": 0,
                    "factor": "ais_extremity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "ais": 0,
                    "factor": "ais_external",
                    "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": "iss",
                "formula_expression": "ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75",
                "max_score": 75,
                "score": 14,
                "used_ais": [
                  3,
                  2,
                  1
                ]
              }
            ],
            "path": "/api/calc/iss"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "ais_abdomen": {
                          "description": "Caller-assigned AIS grade for the abdomen or pelvic contents (integer 0-6).",
                          "type": "integer"
                        },
                        "ais_chest": {
                          "description": "Caller-assigned AIS grade for the chest (integer 0-6).",
                          "type": "integer"
                        },
                        "ais_external": {
                          "description": "Caller-assigned AIS grade for external (integer 0-6).",
                          "type": "integer"
                        },
                        "ais_extremity": {
                          "description": "Caller-assigned AIS grade for the extremities or pelvic girdle (integer 0-6).",
                          "type": "integer"
                        },
                        "ais_face": {
                          "description": "Caller-assigned AIS grade for the face (integer 0-6).",
                          "type": "integer"
                        },
                        "ais_head": {
                          "description": "Caller-assigned AIS grade for the head or neck (integer 0-6). magent does not assign AIS from an injury list.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "ais_head",
                        "ais_face",
                        "ais_chest",
                        "ais_abdomen",
                        "ais_extremity",
                        "ais_external"
                      ],
                      "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": [
    "iss",
    "trauma",
    "ais",
    "injury-severity",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:16:57.623Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:16:57.419Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "ais_abdomen": 1,
                  "ais_chest": 2,
                  "ais_external": 0,
                  "ais_extremity": 0,
                  "ais_face": 0,
                  "ais_head": 3
                },
                {
                  "ais_abdomen": 1,
                  "ais_chest": 2,
                  "ais_external": 0,
                  "ais_extremity": 0,
                  "ais_face": 0,
                  "ais_head": 3
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "ais_abdomen": 1,
                  "ais_chest": 2,
                  "ais_external": 0,
                  "ais_extremity": 0,
                  "ais_face": 0,
                  "ais_head": 3,
                  "citation": {
                    "authors": "Baker SP, O'Neill B, Haddon W Jr, Long WB",
                    "doi": "10.1097/00005373-197403000-00001",
                    "id": "baker-1974",
                    "source": "J Trauma. 1974;14(3):187-196",
                    "title": "The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"
                  },
                  "components": [
                    {
                      "ais": 3,
                      "factor": "ais_head",
                      "points": 9,
                      "present": true
                    },
                    {
                      "ais": 0,
                      "factor": "ais_face",
                      "points": 0,
                      "present": false
                    },
                    {
                      "ais": 2,
                      "factor": "ais_chest",
                      "points": 4,
                      "present": true
                    },
                    {
                      "ais": 1,
                      "factor": "ais_abdomen",
                      "points": 1,
                      "present": true
                    },
                    {
                      "ais": 0,
                      "factor": "ais_extremity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "ais": 0,
                      "factor": "ais_external",
                      "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": "iss",
                  "formula_expression": "ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75",
                  "max_score": 75,
                  "score": 14,
                  "used_ais": [
                    3,
                    2,
                    1
                  ]
                },
                {
                  "ais_abdomen": 1,
                  "ais_chest": 2,
                  "ais_external": 0,
                  "ais_extremity": 0,
                  "ais_face": 0,
                  "ais_head": 3,
                  "citation": {
                    "authors": "Baker SP, O'Neill B, Haddon W Jr, Long WB",
                    "doi": "10.1097/00005373-197403000-00001",
                    "id": "baker-1974",
                    "source": "J Trauma. 1974;14(3):187-196",
                    "title": "The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"
                  },
                  "components": [
                    {
                      "ais": 3,
                      "factor": "ais_head",
                      "points": 9,
                      "present": true
                    },
                    {
                      "ais": 0,
                      "factor": "ais_face",
                      "points": 0,
                      "present": false
                    },
                    {
                      "ais": 2,
                      "factor": "ais_chest",
                      "points": 4,
                      "present": true
                    },
                    {
                      "ais": 1,
                      "factor": "ais_abdomen",
                      "points": 1,
                      "present": true
                    },
                    {
                      "ais": 0,
                      "factor": "ais_extremity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "ais": 0,
                      "factor": "ais_external",
                      "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": "iss",
                  "formula_expression": "ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75",
                  "max_score": 75,
                  "score": 14,
                  "used_ais": [
                    3,
                    2,
                    1
                  ]
                }
              ],
              "path": "/api/calc/iss"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "ais_abdomen": {
                            "description": "Caller-assigned AIS grade for the abdomen or pelvic contents (integer 0-6).",
                            "type": "integer"
                          },
                          "ais_chest": {
                            "description": "Caller-assigned AIS grade for the chest (integer 0-6).",
                            "type": "integer"
                          },
                          "ais_external": {
                            "description": "Caller-assigned AIS grade for external (integer 0-6).",
                            "type": "integer"
                          },
                          "ais_extremity": {
                            "description": "Caller-assigned AIS grade for the extremities or pelvic girdle (integer 0-6).",
                            "type": "integer"
                          },
                          "ais_face": {
                            "description": "Caller-assigned AIS grade for the face (integer 0-6).",
                            "type": "integer"
                          },
                          "ais_head": {
                            "description": "Caller-assigned AIS grade for the head or neck (integer 0-6). magent does not assign AIS from an injury list.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "ais_head",
                          "ais_face",
                          "ais_chest",
                          "ais_abdomen",
                          "ais_extremity",
                          "ais_external"
                        ],
                        "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"
  }
}