{"uid":"cap_8ZzBha8ZLfRE68MnhUErO","slug":"magent-neonatal-glucose-infusion-rate-gir-calculator-19bf7e2a","name":"Magent Neonatal Glucose Infusion Rate (GIR) Calculator","description":"Neonatal glucose infusion rate (GIR, mg/kg/min) from the unit conversion used with AAP 2011 postnatal glucose homeostasis: GIR = (dextrose_percent x rate_ml_h) / (6 x weight_kg), or (dextrose_percent x rate_ml_kg_h) / 6. Provide rate_ml_h plus weight_kg, or rate_ml_kg_h, not both rate styles. Dextrose 2.5-25% and weight 0.4-10 kg are magent clamps, not AAP input bands. Reports GIR only. Does not order dextrose or TPN. Not a medical device.","url":"https://api.magentlab.com/api/calc/gir","method":"GET","headers":{},"bodySchema":{"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":["dextrose_percent"],"properties":{"rate_ml_h":{"type":"number","description":"Infusion rate in ml/h (0.5-200, magent clamp; AAP 2011 does not publish an input band). Provide this with weight_kg, or provide rate_ml_kg_h, not both rate styles."},"weight_kg":{"type":"number","description":"Weight in kg (0.4-10, magent clamp; AAP 2011 does not publish an input band). Required with rate_ml_h. Not required when rate_ml_kg_h is the only rate. magent does not weigh the infant."},"rate_ml_kg_h":{"type":"number","description":"Infusion rate in ml/kg/h (0.5-20, magent clamp). GIR = (dextrose_percent × rate_ml_kg_h) / 6. Provide this or rate_ml_h plus weight_kg, not both rate styles."},"dextrose_percent":{"type":"number","description":"Dextrose concentration as percent (2.5-25, magent clamp; AAP 2011 does not publish an input band). 10 is D10W. magent does not order dextrose."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NSu2Qwq7G_T7cX-lr7xLm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates neonatal glucose infusion rate (GIR) in mg/kg/min using the AAP 2011 formula from dextrose concentration, infusion rate, and optionally weight.","exampleAgentPrompt":"Calculate the glucose infusion rate for a 2.1 kg neonate receiving D10W at 6 ml/h — give me the GIR in mg/kg/min.","exampleUseCases":[{"title":"NICU bedside GIR verification","prompt":"I have a 1.5 kg preterm infant on D12.5 at 4 ml/h — what's the GIR in mg/kg/min so I can check if we're in range?"},{"title":"Weight-normalized rate to GIR","prompt":"Our 3.2 kg newborn is getting D10W at 5.5 ml/kg/h — can you calculate the glucose infusion rate in mg/kg/min for me?"},{"title":"Adjusting dextrose concentration check","prompt":"If I change a neonate's dextrose to 7.5% and keep the rate at 8 ml/h for a 2.8 kg infant, what GIR does that give me?"}],"resultDescription":"Returns the calculated GIR value in mg/kg/min, derived from the formula: GIR = (dextrose_percent × rate_ml_h) / (6 × weight_kg) or (dextrose_percent × rate_ml_kg_h) / 6. Does not include clinical recommendations, dextrose orders, or TPN guidance.","failureModes":["Missing required dextrose_percent returns an error","Providing both rate_ml_h and rate_ml_kg_h simultaneously is not permitted — only one rate style allowed","dextrose_percent outside 2.5–25% range rejected by clamp","weight_kg outside 0.4–10 kg range rejected by clamp","rate_ml_h outside 0.5–200 range rejected by clamp","rate_ml_kg_h outside 0.5–20 range rejected by clamp","Providing rate_ml_h without weight_kg returns an error (both required together)","Payment failure (x402) if USDC funds are insufficient"],"whenToPreferThis":"Use this endpoint when you need a fast, formula-based GIR calculation for neonatal patients following the AAP 2011 postnatal glucose homeostasis framework. Prefer it when inputs are in either ml/h + weight or ml/kg/h form and the concentration is between 2.5–25% dextrose. It is a pure computation tool, not a clinical decision support system — do not use it to order dextrose, make TPN decisions, or receive dosing recommendations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:05:35.883Z","isFirstParty":false}