{"uid":"cap_NJjZGq0sBlSK3CkYeHABY","slug":"magent-bmi-calculator-a7550330","name":"magent BMI Calculator","description":"Body-mass index from height and weight (Keys/Quetelet). Use for GLP-1 and bariatric prior-auth arithmetic. Deterministic published index with citation; not a diagnosis.","url":"https://api.magentlab.com/api/calc/bmi","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":[],"properties":{"height_cm":{"type":"number","description":"Height in centimeters. Provide height_cm or height_in."},"height_in":{"type":"number","description":"Height in inches. Converted as cm = in * 2.54."},"weight_kg":{"type":"number","description":"Weight in kilograms. Provide weight_kg or weight_lb."},"weight_lb":{"type":"number","description":"Weight in pounds. Converted as kg = lb * 0.45359237."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/bmi","count":2,"items":[{"bmi":24.2,"formula":"bmi","citation":{"id":"keys-1972","doi":"10.1016/0021-9681(72)90027-6","title":"Indices of relative weight and obesity","source":"J Chronic Dis. 1972;25(6):329-343","authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL"},"height_cm":170,"weight_kg":70,"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_expression":"BMI = weight_kg / (height_m ^ 2)","who_adult_category":"normal"},{"bmi":24.2,"formula":"bmi","citation":{"id":"keys-1972","doi":"10.1016/0021-9681(72)90027-6","title":"Indices of relative weight and obesity","source":"J Chronic Dis. 1972;25(6):329-343","authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL"},"height_cm":170,"weight_kg":70,"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_expression":"BMI = weight_kg / (height_m ^ 2)","who_adult_category":"normal"}]}},"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_bbTKj5wzz6wDCYr6zni2g","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":"Computes Body Mass Index (BMI) from height and weight using the Keys/Quetelet formula, returning the deterministic index value with citation.","exampleAgentPrompt":"Calculate the BMI for a patient who is 175 cm tall and weighs 92 kg — I need the result with a citation for a GLP-1 prior authorization form.","exampleUseCases":[{"title":"GLP-1 prior authorization arithmetic","prompt":"I'm filling out a prior auth for semaglutide and need the patient's BMI — they're 5 feet 8 inches tall and weigh 245 pounds. Can you calculate that and give me the cited index value?"},{"title":"Bariatric surgery eligibility check","prompt":"Does this patient qualify for bariatric surgery based on BMI? They're 162 cm and 110 kg — please compute their BMI using the standard Keys/Quetelet formula."},{"title":"Population health screening workflow","prompt":"I have a patient who is 68 inches tall and weighs 190 pounds. What's their BMI? I need the deterministic calculated value for their chart."}],"resultDescription":"Returns a numeric BMI value computed as weight_kg divided by height_m squared (Keys/Quetelet), accompanied by a citation to the published formula. Not a clinical diagnosis — a deterministic arithmetic result suitable for documentation in prior authorization workflows.","failureModes":["Missing both height parameters (height_cm and height_in not provided) — returns error","Missing both weight parameters (weight_kg and weight_lb not provided) — returns error","Implausible or zero/negative input values may produce nonsensical BMI output","Payment failure via x402 protocol results in 402 response with no calculation"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, citable BMI value for clinical documentation, insurance prior authorization (especially GLP-1 or bariatric), or structured medical workflows where reproducibility and citation are required. Prefer it over general-purpose calculators when the citation lineage (Keys/Quetelet) matters for audit trails or payer forms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:17:59.941Z","isFirstParty":false}