{
  "x402Version": 2,
  "id": 39063,
  "slug": "39063",
  "resource": "https://api.magentlab.com/api/calc/kocher",
  "description": "Kocher 1999 four predictors for children with irritable hip: history of fever (oral temperature >38.5 C), non-weight-bearing, ESR >=40 mm/h, and serum WBC >12000/uL; 1 point each, max 4. Returns published predicted probability of septic arthritis vs transient synovitis. Deterministic published score with citation; not a diagnosis, not Caird CRP, not adults, and not an aspiration order.",
  "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": [
              {
                "esr_mm_h": 20,
                "history_of_fever": false,
                "non_weight_bearing": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              },
              {
                "esr_mm_h": 20,
                "history_of_fever": false,
                "non_weight_bearing": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Kocher MS, Zurakowski D, Kasser JR",
                  "doi": "10.2106/00004623-199912000-00002",
                  "id": "kocher-1999",
                  "pmid": "10608376",
                  "source": "J Bone Joint Surg Am. 1999;81(12):1662-1670",
                  "title": "Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"
                },
                "components": [
                  {
                    "factor": "history_of_fever",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "non_weight_bearing",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "esr_ge_40",
                    "points": 0,
                    "present": false,
                    "value": 20
                  },
                  {
                    "factor": "wbc_gt_12000",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  }
                ],
                "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.",
                "esr_mm_h": 20,
                "formula": "kocher",
                "formula_expression": "Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%",
                "max_score": 4,
                "predicted_probability": "<0.2%",
                "score": 0,
                "wbc_ul": 8000
              },
              {
                "citation": {
                  "authors": "Kocher MS, Zurakowski D, Kasser JR",
                  "doi": "10.2106/00004623-199912000-00002",
                  "id": "kocher-1999",
                  "pmid": "10608376",
                  "source": "J Bone Joint Surg Am. 1999;81(12):1662-1670",
                  "title": "Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"
                },
                "components": [
                  {
                    "factor": "history_of_fever",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "non_weight_bearing",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "esr_ge_40",
                    "points": 0,
                    "present": false,
                    "value": 20
                  },
                  {
                    "factor": "wbc_gt_12000",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  }
                ],
                "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.",
                "esr_mm_h": 20,
                "formula": "kocher",
                "formula_expression": "Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%",
                "max_score": 4,
                "predicted_probability": "<0.2%",
                "score": 0,
                "wbc_ul": 8000
              }
            ],
            "path": "/api/calc/kocher"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "esr_mm_h": {
                          "description": "Erythrocyte sedimentation rate in mm/h (1.0-150.0). ≥40 scores 1 (40 scores; 39.9 does not).",
                          "type": "number"
                        },
                        "history_of_fever": {
                          "description": "History of fever (oral temperature >38.5°C in Kocher 1999). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "non_weight_bearing": {
                          "description": "Non-weight-bearing on the affected limb (Kocher 1999). true or false as assigned by the caller.",
                          "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. >12000/µL scores 1.",
                          "type": "number"
                        },
                        "wbc_ul": {
                          "description": "WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).",
                          "type": "number"
                        }
                      },
                      "required": [
                        "history_of_fever",
                        "non_weight_bearing",
                        "esr_mm_h"
                      ],
                      "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": [
    "kocher",
    "septic-arthritis",
    "pediatric-hip",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:26:24.201Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:26:24.053Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "esr_mm_h": 20,
                  "history_of_fever": false,
                  "non_weight_bearing": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                },
                {
                  "esr_mm_h": 20,
                  "history_of_fever": false,
                  "non_weight_bearing": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Kocher MS, Zurakowski D, Kasser JR",
                    "doi": "10.2106/00004623-199912000-00002",
                    "id": "kocher-1999",
                    "pmid": "10608376",
                    "source": "J Bone Joint Surg Am. 1999;81(12):1662-1670",
                    "title": "Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"
                  },
                  "components": [
                    {
                      "factor": "history_of_fever",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "non_weight_bearing",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "esr_ge_40",
                      "points": 0,
                      "present": false,
                      "value": 20
                    },
                    {
                      "factor": "wbc_gt_12000",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    }
                  ],
                  "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.",
                  "esr_mm_h": 20,
                  "formula": "kocher",
                  "formula_expression": "Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%",
                  "max_score": 4,
                  "predicted_probability": "<0.2%",
                  "score": 0,
                  "wbc_ul": 8000
                },
                {
                  "citation": {
                    "authors": "Kocher MS, Zurakowski D, Kasser JR",
                    "doi": "10.2106/00004623-199912000-00002",
                    "id": "kocher-1999",
                    "pmid": "10608376",
                    "source": "J Bone Joint Surg Am. 1999;81(12):1662-1670",
                    "title": "Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"
                  },
                  "components": [
                    {
                      "factor": "history_of_fever",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "non_weight_bearing",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "esr_ge_40",
                      "points": 0,
                      "present": false,
                      "value": 20
                    },
                    {
                      "factor": "wbc_gt_12000",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    }
                  ],
                  "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.",
                  "esr_mm_h": 20,
                  "formula": "kocher",
                  "formula_expression": "Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%",
                  "max_score": 4,
                  "predicted_probability": "<0.2%",
                  "score": 0,
                  "wbc_ul": 8000
                }
              ],
              "path": "/api/calc/kocher"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "esr_mm_h": {
                            "description": "Erythrocyte sedimentation rate in mm/h (1.0-150.0). ≥40 scores 1 (40 scores; 39.9 does not).",
                            "type": "number"
                          },
                          "history_of_fever": {
                            "description": "History of fever (oral temperature >38.5°C in Kocher 1999). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "non_weight_bearing": {
                            "description": "Non-weight-bearing on the affected limb (Kocher 1999). true or false as assigned by the caller.",
                            "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. >12000/µL scores 1.",
                            "type": "number"
                          },
                          "wbc_ul": {
                            "description": "WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).",
                            "type": "number"
                          }
                        },
                        "required": [
                          "history_of_fever",
                          "non_weight_bearing",
                          "esr_mm_h"
                        ],
                        "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"
  }
}