{"uid":"cap_tTMz4hWe-7lCcwhclqNos","slug":"magent-apgar-score-calculator-7911b325","name":"Magent Apgar Score Calculator","description":"Apgar score from five 0-2 newborn signs (appearance, pulse, grimace, activity, respiration). Deterministic published score with citation; not a diagnosis.","url":"https://api.magentlab.com/api/calc/apgar","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":["appearance","pulse","grimace","activity","respiration"],"properties":{"pulse":{"type":"integer","description":"Heart rate (P). Integer 0, 1, or 2 as assigned by the caller."},"grimace":{"type":"integer","description":"Reflex irritability (G). Integer 0, 1, or 2 as assigned by the caller."},"activity":{"type":"integer","description":"Muscle tone (A). Integer 0, 1, or 2 as assigned by the caller."},"appearance":{"type":"integer","description":"Color (A). Integer 0, 1, or 2 as assigned by the caller."},"respiration":{"type":"integer","description":"Respiratory effort (R). Integer 0, 1, or 2 as assigned by the caller."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/apgar","count":2,"items":[{"score":8,"formula":"apgar","citation":{"id":"apgar-1953","doi":null,"title":"A proposal for a new method of evaluation of the newborn infant","source":"Curr Res Anesth Analg. 1953;32(4):260-267","authors":"Virginia Apgar"},"max_score":10,"components":[{"value":1,"factor":"appearance","points":1,"present":true},{"value":2,"factor":"pulse","points":2,"present":true},{"value":1,"factor":"grimace","points":1,"present":true},{"value":2,"factor":"activity","points":2,"present":true},{"value":2,"factor":"respiration","points":2,"present":true}],"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":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10"},{"score":8,"formula":"apgar","citation":{"id":"apgar-1953","doi":null,"title":"A proposal for a new method of evaluation of the newborn infant","source":"Curr Res Anesth Analg. 1953;32(4):260-267","authors":"Virginia Apgar"},"max_score":10,"components":[{"value":1,"factor":"appearance","points":1,"present":true},{"value":2,"factor":"pulse","points":2,"present":true},{"value":1,"factor":"grimace","points":1,"present":true},{"value":2,"factor":"activity","points":2,"present":true},{"value":2,"factor":"respiration","points":2,"present":true}],"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":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10"}]}},"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_q3Ei00wXq4oULHee6t9-d","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 the Apgar score (0–10) by summing five newborn clinical signs each rated 0–2: appearance, pulse, grimace, activity, and respiration.","exampleAgentPrompt":"Calculate the Apgar score for a newborn with appearance 1, pulse 2, grimace 1, activity 2, and respiration 1 — give me the total score and the citation.","exampleUseCases":[{"title":"Neonatal delivery room scoring","prompt":"The baby just delivered — appearance is 1, pulse is 2, grimace is 2, activity is 1, respiration is 2. Calculate the Apgar score for me with the published citation."},{"title":"Clinical documentation assistant","prompt":"I need to record the Apgar score for my patient: appearance 0, pulse 1, grimace 0, activity 1, respiration 1 — what's the total and where does the scoring come from?"},{"title":"Medical education scoring exercise","prompt":"For a practice scenario: appearance 2, pulse 2, grimace 2, activity 2, respiration 2 — compute the Apgar score and tell me what that means clinically."}],"resultDescription":"Returns the total Apgar score (0–10) derived from summing the five caller-supplied component scores (each 0, 1, or 2), accompanied by the published citation for the scoring method. The result is deterministic and not a clinical diagnosis.","failureModes":["Missing required query parameters (appearance, pulse, grimace, activity, or respiration) returns an error","Values outside the valid range 0–2 for any parameter will likely produce an error or invalid result","Non-integer values for any of the five parameters will fail schema validation","Endpoint does not provide diagnostic interpretation — result is a score only"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, citeable Apgar score computed from five pre-assessed 0–2 component values. It is ideal for clinical documentation tools, obstetric EMR integrations, medical education platforms, or any agent workflow that already has the five component assessments and needs the authoritative total with a published reference. It does not interpret the score diagnostically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:08:59.340Z","isFirstParty":false}