{"uid":"cap_TsUV50rNvoDRShkd3w3-K","slug":"package-health-overall-health-check-6272b5f3","name":"Package Health – Overall Health Check","description":"Package health for npm, PyPI, Go, Maven, Cargo or NuGet: maintained, stale or abandoned, deprecation, license, adoption.","url":"https://package-health.x402tookit.com/package-health?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["system","name"],"properties":{"name":{"type":"string","description":"Package name, e.g. express"},"system":{"type":"string","description":"npm, pypi, go, maven, cargo or nuget"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"name":{"type":["null","string"]},"source":{"type":["null","string"]},"system":{"type":["null","string"]},"ageDays":{"type":["null","number"]},"license":{"type":["null","object"],"properties":{"cls":{"type":["null","string"]},"ids":{"type":["array","null"],"items":{"type":"string"}}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"versions":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"deprecated":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"thresholds":{"type":["null","object"],"properties":{"staleAfterDays":{"type":["null","number"]},"abandonedAfterDays":{"type":["null","number"]}}},"lastReleased":{"type":["null","string"]},"defaultVersion":{"type":["null","string"]},"firstPublished":{"type":["null","string"]},"weeklyDownloads":{"type":["null","number"]},"daysSinceLastRelease":{"type":["null","number"]},"advisoriesOnDefaultVersion":{"type":["null","number"]},"medianDaysBetweenRecentReleases":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iLrjb2XoS21T_jCzz1OTq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a health verdict (maintained, stale, or abandoned) for an npm, PyPI, Go, Maven, Cargo, or NuGet package, including deprecation status, license info, release cadence, and adoption signals.","exampleAgentPrompt":"Is the 'express' npm package still actively maintained, or is it stale or abandoned? Give me the health verdict, license info, and how long since the last release.","exampleUseCases":[{"title":"Vetting a new Python dependency","prompt":"Before I add 'httpx' to my PyPI project, can you check if it's actively maintained, what license it uses, and whether it's been deprecated?"},{"title":"Auditing a stale Go module","prompt":"I think the 'gorilla/mux' Go package might be abandoned — can you check its health status, how many days since the last release, and whether it's still recommended?"},{"title":"Checking a Maven library before shipping","prompt":"We're about to ship with 'log4j' as a Maven dependency — can you tell me if it's maintained, what its license classification is, and whether there are any known advisories on the default version?"}],"resultDescription":"Returns a structured JSON object with: a health verdict (maintained/stale/abandoned), deprecation flag, license details (class and SPDX IDs), summary text, reasons for the verdict, age in days, days since last release, first published and last released dates, number of versions, weekly downloads, release cadence (median days between releases), advisories count on the default version, thresholds used for stale/abandoned classification, and a source URL.","failureModes":["Unknown package name returns null fields or empty verdict","Unsupported ecosystem value returns validation error","Package registry may be temporarily unavailable causing degraded or null response","Very new packages with minimal history may return incomplete cadence data","Rate limiting or payment failure returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need a single, opinionated health verdict for a package across any of the six major ecosystems (npm, PyPI, Go, Maven, Cargo, NuGet). It is the right choice when you want a holistic summary — combining maintenance status, deprecation, license, downloads, and release cadence — rather than drilling into one specific dimension like license-only or downloads-only. Prefer sibling endpoints when you need granular data on a specific version, exact release history, or attestation provenance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:57.831Z","isFirstParty":false,"canonicalSlug":"package-health-overall-health-check-6272b5f3"}