{
  "x402Version": 2,
  "id": 39091,
  "slug": "39091",
  "resource": "https://api.magentlab.com/api/calc/infant_scalp",
  "description": "Greenes 2001 infant scalp score: age points (0-2 months → 3; 3-5 → 2; 6-11 → 1; 12-24 months → 0) plus caller-assigned hematoma size (0 none, 1 small, 2 medium, 3 large) and location (0 frontal, 1 occipital, 2 temporal/parietal). Total 0-8. magent does not examine the scalp, measure the hematoma, or decide CT. Does not apply later ≥4 clinically important TBI cuts.",
  "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": [
              {
                "age_months": 13,
                "hematoma_location": 0,
                "hematoma_size": 0
              },
              {
                "age_months": 13,
                "hematoma_location": 0,
                "hematoma_size": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Greenes DS, Schutzman SA",
                  "doi": "10.1097/00006565-200104000-00002",
                  "id": "greenes-2001",
                  "pmid": "11334014",
                  "source": "Pediatr Emerg Care. 2001;17(2):88-92",
                  "title": "Clinical significance of scalp abnormalities in asymptomatic head-injured infants"
                },
                "components": [
                  {
                    "factor": "age_months",
                    "points": 0,
                    "present": true,
                    "value": 13
                  },
                  {
                    "factor": "hematoma_size",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hematoma_location",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "infant_scalp",
                "formula_expression": "Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8",
                "max_score": 8,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Greenes DS, Schutzman SA",
                  "doi": "10.1097/00006565-200104000-00002",
                  "id": "greenes-2001",
                  "pmid": "11334014",
                  "source": "Pediatr Emerg Care. 2001;17(2):88-92",
                  "title": "Clinical significance of scalp abnormalities in asymptomatic head-injured infants"
                },
                "components": [
                  {
                    "factor": "age_months",
                    "points": 0,
                    "present": true,
                    "value": 13
                  },
                  {
                    "factor": "hematoma_size",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hematoma_location",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "infant_scalp",
                "formula_expression": "Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8",
                "max_score": 8,
                "score": 0
              }
            ],
            "path": "/api/calc/infant_scalp"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age_months": {
                          "description": "Age in completed months, integer 0-24 as in Greenes 2001 (infants 0-24 months). Points: 0-2 months → 3; 3-5 → 2; 6-11 → 1; ≥12 → 0. magent does not convert years or days.",
                          "type": "integer"
                        },
                        "hematoma_location": {
                          "description": "Caller-assigned hematoma location points (0 frontal, 1 occipital, 2 temporal/parietal). magent does not examine the scalp.",
                          "type": "integer"
                        },
                        "hematoma_size": {
                          "description": "Caller-assigned hematoma size points 0-3 (0 none, 1 small, 2 medium, 3 large). magent does not measure the hematoma or invent centimeter cuts.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "age_months",
                        "hematoma_size",
                        "hematoma_location"
                      ],
                      "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": [
    "infant-scalp",
    "scalp-hematoma",
    "head-injury",
    "infant",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:41:44.348Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:41:44.198Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_months": 13,
                  "hematoma_location": 0,
                  "hematoma_size": 0
                },
                {
                  "age_months": 13,
                  "hematoma_location": 0,
                  "hematoma_size": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Greenes DS, Schutzman SA",
                    "doi": "10.1097/00006565-200104000-00002",
                    "id": "greenes-2001",
                    "pmid": "11334014",
                    "source": "Pediatr Emerg Care. 2001;17(2):88-92",
                    "title": "Clinical significance of scalp abnormalities in asymptomatic head-injured infants"
                  },
                  "components": [
                    {
                      "factor": "age_months",
                      "points": 0,
                      "present": true,
                      "value": 13
                    },
                    {
                      "factor": "hematoma_size",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hematoma_location",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "infant_scalp",
                  "formula_expression": "Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8",
                  "max_score": 8,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Greenes DS, Schutzman SA",
                    "doi": "10.1097/00006565-200104000-00002",
                    "id": "greenes-2001",
                    "pmid": "11334014",
                    "source": "Pediatr Emerg Care. 2001;17(2):88-92",
                    "title": "Clinical significance of scalp abnormalities in asymptomatic head-injured infants"
                  },
                  "components": [
                    {
                      "factor": "age_months",
                      "points": 0,
                      "present": true,
                      "value": 13
                    },
                    {
                      "factor": "hematoma_size",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hematoma_location",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "infant_scalp",
                  "formula_expression": "Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8",
                  "max_score": 8,
                  "score": 0
                }
              ],
              "path": "/api/calc/infant_scalp"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age_months": {
                            "description": "Age in completed months, integer 0-24 as in Greenes 2001 (infants 0-24 months). Points: 0-2 months → 3; 3-5 → 2; 6-11 → 1; ≥12 → 0. magent does not convert years or days.",
                            "type": "integer"
                          },
                          "hematoma_location": {
                            "description": "Caller-assigned hematoma location points (0 frontal, 1 occipital, 2 temporal/parietal). magent does not examine the scalp.",
                            "type": "integer"
                          },
                          "hematoma_size": {
                            "description": "Caller-assigned hematoma size points 0-3 (0 none, 1 small, 2 medium, 3 large). magent does not measure the hematoma or invent centimeter cuts.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "age_months",
                          "hematoma_size",
                          "hematoma_location"
                        ],
                        "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"
  }
}