# magent Rebound Hyperbilirubinemia Score (Chang 2017)

> magent Rebound Hyperbilirubinemia Score (Chang 2017) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Computes the Chang 2017 three-variable rebound hyperbilirubinemia score to estimate likelihood of TSB returning to phototherapy threshold within 72 hours after stopping phototherapy in neonates.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rebound_hyperbilirubinemia
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-rebound-hyperbilirubinemia-score-chang-2017-8ba41a31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ns-Axr3vbHxgabQAbIOE_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-rebound-hyperbilirubinemia-score-chang-2017-8ba41a31
```

Example prompt: Use the Chang 2017 rebound score to assess this baby: gestational age 36 weeks, phototherapy started at day 2, TSB at termination was 11.5 mg/dL, and the AAP phototherapy threshold at the time of stopping was 15.0 mg/dL.

## When to prefer this

Use this endpoint when you need the specific Chang 2017 three-variable rebound hyperbilirubinemia score for neonates ≥35 weeks gestational age being considered for phototherapy discontinuation. Prefer this over generic bilirubin tools when you need a validated, scored risk estimate (with the <20 = <4% rebound risk cutpoint). Do not use if you need the 2019 Chang model, AAP nomogram threshold computation, or actual bilirubin measurement.

## Known failure modes

- Missing required query parameters (gestational_age_weeks, age_at_initiation_days, tsb_at_termination_mg_dl, phototherapy_threshold_mg_dl) result in a 400 error
- Gestational age outside supported range (35-45 weeks) may yield out-of-cohort results
- Age at initiation outside 0-14 days may be outside validated cohort range
- TSB or threshold values outside 0-40 mg/dL range may produce unexpected results
- Payment not provided or insufficient USDC may result in 402 Payment Required response
- Confusing this with Chang 2019 (different model) may yield clinically inappropriate interpretation

## How this service works

Chang 2017 three-variable rebound hyperbilirubinemia score: +15 if GA <38 weeks, −7 × age at phototherapy start in days, −4 × (caller AAP phototherapy threshold − TSB at termination), +50. Scores <20 correspond to a <4% chance of TSB returning to threshold within 72 hours. magent does not assay bilirubin or compute the AAP nomogram. Not Chang 2019. Not a phototherapy order.

## Output

Returns the computed Chang 2017 rebound hyperbilirubinemia score (a numeric value). Scores below 20 indicate less than a 4% probability that TSB will return to the phototherapy threshold within 72 hours after stopping phototherapy. The endpoint does not itself assay bilirubin, compute AAP thresholds, or issue phototherapy orders.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "gestational_age_weeks",
      "age_at_initiation_days",
      "tsb_at_termination_mg_dl",
      "phototherapy_threshold_mg_dl"
     ],
     "properties": {
      "gestational_age_weeks": {
       "type": "integer",
       "description": "Gestational age in completed weeks, integer 35-45. Chang 2017 cohort was ≥35 weeks. Scores +15 when <38 weeks; 38 weeks and above score 0. magent does not convert days."
      },
      "age_at_initiation_days": {
       "type": "number",
       "description": "Chronologic age at phototherapy initiation in days (0-14; fractional days allowed). Chang 2017 treated infants before age 14 days. magent does not convert hours."
      },
      "tsb_at_termination_mg_dl": {
       "type": "number",
       "description": "Total serum bilirubin at phototherapy termination in mg/dL (0-40). magent does not assay bilirubin."
      },
      "phototherapy_threshold_mg_dl": {
       "type": "number",
       "description": "Caller-supplied AAP phototherapy threshold in mg/dL at termination (0-40). Difference is (threshold − TSB) and may be negative if TSB is still above threshold. magent does not compute the AAP nomogram."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-rebound-hyperbilirubinemia-score-chang-2017-8ba41a31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
