{"uid":"cap_rgpAaO_V_-1Fnh6IMPSyv","slug":"magent-epds-edinburgh-postnatal-depression-scale-scorer-5648463e","name":"magent EPDS (Edinburgh Postnatal Depression Scale) Scorer","description":"Cox 1987 EPDS: 10 caller-assigned integers 0-3 (past 7 days). laugh, enjoyment, and anxious are reverse-scored in that paper; the caller assigns the published 0-3 (0 = least symptomatic pole after that reverse key). Total 0-30. This paper's threshold is 12/13 (at or above iff score ≥13). magent does not interview, apply later ≥10 community cuts, PHQ-9, QIDS, or MDI. Not a diagnosis.","url":"https://api.magentlab.com/api/calc/epds","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":["laugh","enjoyment","self_blame","anxious","scared","coping","sleep","sad","crying","self_harm"],"properties":{"sad":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 8 (integer 0-3): felt sad or miserable over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"laugh":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 1 (integer 0-3). Reverse-scored in that paper: ability to laugh and see the funny side of things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item."},"sleep":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 7 (integer 0-3): unhappiness with difficulty sleeping over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"coping":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 6 (integer 0-3): things getting on top of the respondent over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"crying":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 9 (integer 0-3): crying from unhappiness over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"scared":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 5 (integer 0-3): scared or panicky for no very good reason over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"anxious":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 4 (integer 0-3). Reverse-scored in that paper: anxious or worried for no good reason over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item."},"enjoyment":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 2 (integer 0-3). Reverse-scored in that paper: looking forward with enjoyment to things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item."},"self_harm":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 10 (integer 0-3): thoughts of harming oneself over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."},"self_blame":{"type":"integer","description":"Caller-assigned Cox 1987 EPDS item 3 (integer 0-3): blamed self unnecessarily when things went wrong over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item."}}}},"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_77cTfu4C0UWSPJJrk-Ntd","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 Cox 1987 Edinburgh Postnatal Depression Scale (EPDS) total score (0–30) and threshold flag from 10 caller-assigned item integers, without interviewing or diagnosing.","exampleAgentPrompt":"Score an Edinburgh Postnatal Depression Scale for me: laugh=0, enjoyment=1, self_blame=2, anxious=1, scared=0, coping=2, sleep=1, sad=2, crying=1, self_harm=0 — give me the total and tell me if it meets the Cox 1987 threshold of 13 or above.","exampleUseCases":[{"title":"Postnatal screening tool integration","prompt":"I have a patient's EPDS responses from the past 7 days — laugh=1, enjoyment=1, self_blame=1, anxious=2, scared=1, coping=2, sleep=2, sad=2, crying=1, self_harm=0 — can you compute the total score and flag whether it's at or above the 13-point threshold?"},{"title":"Automated perinatal chart scoring","prompt":"Automatically score this set of EPDS item values entered during a postpartum visit: laugh=0, enjoyment=0, self_blame=3, anxious=2, scared=2, coping=3, sleep=2, sad=3, crying=2, self_harm=1 — what is the total and does it exceed the Cox 1987 cutoff?"},{"title":"Research data batch quality check","prompt":"For a study dataset, verify the EPDS total for this participant's responses: laugh=2, enjoyment=2, self_blame=0, anxious=1, scared=0, coping=1, sleep=0, sad=1, crying=0, self_harm=0 — confirm the sum and whether the threshold flag is triggered."}],"resultDescription":"Returns the EPDS total score (integer 0–30), summing all 10 caller-assigned item integers as published in Cox 1987, and a boolean or flag indicating whether the score meets or exceeds the 13-point threshold. Does not diagnose, interview, or apply alternative community or clinical cutoffs.","failureModes":["Missing any of the 10 required query parameters returns an error","Any item value outside the integer range 0–3 returns a validation error","Non-integer values (e.g. floats or strings) for item scores cause a bad request","Network timeout if the API is unreachable"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, auditable EPDS total score computed per the Cox 1987 algorithm — especially in automated or agentic clinical workflows where you have already collected all 10 item integers and need the arithmetic plus threshold flag without any additional screening logic, diagnosis, or alternative cutoffs applied.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:53.168Z","isFirstParty":false}