{"uid":"cap_ZReXlgnX8Zju2x9uoDwQ4","slug":"magent-nafld-activity-score-nas-calculator-8211a479","name":"magent NAFLD Activity Score (NAS) Calculator","description":"Kleiner 2005 NAFLD activity score (NAS): caller-assigned steatosis 0-3 (<5% / 5–33% / >33–66% / >66%), lobular_inflammation 0-3 (none / <2 foci per 200× / 2–4 / >4), ballooning 0-2 (none / few / many or prominent). magent sums only (max 8). Fibrosis is not in NAS. Kleiner 2005 reported NAS ≥5 correlated with NASH in that study; that is not a diagnostic algorithm. magent does not read histology and does not return NASH bands.","url":"https://api.magentlab.com/api/calc/nafld_nas","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":["steatosis","lobular_inflammation","ballooning"],"properties":{"steatosis":{"type":"integer","description":"Caller-assigned Kleiner 2005 steatosis points 0-3 (paper bins: 0 <5%; 1 5–33%; 2 >33–66%; 3 >66%). magent does not read histology."},"ballooning":{"type":"integer","description":"Caller-assigned Kleiner 2005 hepatocellular ballooning points 0-2 (paper bins: 0 none; 1 few; 2 many/prominent). magent does not read histology."},"lobular_inflammation":{"type":"integer","description":"Caller-assigned Kleiner 2005 lobular inflammation points 0-3 (paper bins: 0 none; 1 <2 foci/200×; 2 2–4 foci/200×; 3 >4 foci/200×). magent does not read histology."}}}},"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_vlTiRZAhZJBKut41IOyOc","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 Kleiner 2005 NAFLD Activity Score (NAS) by summing caller-assigned steatosis (0-3), lobular inflammation (0-3), and hepatocellular ballooning (0-2) scores, returning a total out of 8.","exampleAgentPrompt":"Calculate the NAFLD activity score for a patient with steatosis 2 (>33–66%), lobular inflammation 1 (fewer than 2 foci per 200x field), and hepatocellular ballooning 1 (few ballooned cells).","exampleUseCases":[{"title":"Research cohort NAS scoring","prompt":"I have a patient cohort and need to compute NAS scores. For this subject: steatosis 3 (>66%), lobular inflammation 2 (2–4 foci per 200x), and ballooning 2 (many/prominent). What's the total NAS?"},{"title":"Clinical trial data entry support","prompt":"We're entering histology data for a NAFLD trial. This biopsy has steatosis grade 1 (5–33%), lobular inflammation 0 (none), and ballooning 0 (none). Can you give me the Kleiner 2005 NAS total?"},{"title":"Bedside histology score review","prompt":"My pathologist read steatosis as 2, lobular inflammation as 3 (more than 4 foci per 200x), and ballooning as 1. What does that add up to on the NAS scale?"}],"resultDescription":"Returns the summed NAFLD Activity Score (NAS) integer ranging from 0 to 8, calculated as steatosis + lobular_inflammation + ballooning. No NASH diagnosis, fibrosis stage, or histology interpretation is included in the response.","failureModes":["Missing required query parameters (steatosis, lobular_inflammation, or ballooning) result in a validation error","Out-of-range integer values (e.g., steatosis >3, ballooning >2) may cause rejection or unexpected behavior","Non-integer values for any parameter will fail schema validation","Payment failure via x402 protocol results in a 402 response with no score returned"],"whenToPreferThis":"Use this endpoint when you need a fast, reproducible computation of the Kleiner 2005 NAS from already-graded histology component scores. It is ideal for automating scoring in clinical research pipelines, EHR integrations, or trial data entry where a pathologist has already assigned the three component grades and you need the sum. Do not use it as a NASH diagnostic tool or to obtain a fibrosis stage — it strictly sums the three NAS components.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:36.331Z","isFirstParty":false}