{"uid":"cap_54H0_tjK7crAkMzJWFZq-","slug":"package-health-recent-versions-release-cadence-24059dbb","name":"Package Health - Recent Versions & Release Cadence","description":"Recent versions of a package with publish dates, deprecation flags and release cadence in days between releases.","url":"https://package-health.x402tookit.com/package-versions?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":{"n":{"type":"integer","description":"How many recent versions, 1 to 30, default 10"},"name":{"type":"string","description":"Package name"},"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"]},"total":{"type":["null","number"]},"recent":{"type":["array","null"],"items":{"type":"object","properties":{"version":{"type":["null","string"]},"isDefault":{"type":["boolean","null"]},"deprecated":{"type":["boolean","null"]},"publishedAt":{"type":["null","string"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"daysSinceLastRelease":{"type":["null","number"]},"medianDaysBetweenReleases":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OV4gKz4_E44A8OY1B11JC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent versions of a package with publish dates, deprecation flags, and release cadence metrics (median days between releases).","exampleAgentPrompt":"Can you pull the last 15 versions of the npm package 'lodash' and tell me how often it releases and whether any recent versions are deprecated?","exampleUseCases":[{"title":"Vetting a dependency before adopting it","prompt":"Show me the 10 most recent versions of the PyPI package 'requests' with their publish dates, and tell me if any are deprecated or how many days it typically takes between releases."},{"title":"Monitoring a Go module release cadence","prompt":"How actively maintained is the Go package 'github.com/gin-gonic/gin'? Fetch the last 20 versions so I can see how frequently they ship and when the latest one landed."},{"title":"Checking for deprecated Cargo crate versions","prompt":"I'm using a Cargo crate called 'serde' — can you list its 10 most recent releases and flag any that are marked deprecated, along with their publish dates?"}],"resultDescription":"Returns an object containing a list of recent package versions (each with version string, publish date, deprecation flag, and default flag), total version count, days since last release, median days between releases, a verdict and summary about release health, source URL, and any degraded/disclaimer notices.","failureModes":["Unknown package name returns empty or error response","Unsupported ecosystem value causes validation failure","Requesting n outside 1–30 range may be rejected or clamped","Package registry temporarily unavailable causes degraded=true response","Very new packages with few versions may return incomplete cadence metrics"],"whenToPreferThis":"Use this endpoint when you need a quick snapshot of a package's version history and release rhythm across npm, PyPI, Go, Maven, Cargo, or NuGet — especially when evaluating whether a dependency is actively maintained or has deprecated releases in circulation. Prefer this over a general package health check when release cadence and version timeline are the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:38.460Z","isFirstParty":false,"canonicalSlug":"package-health-recent-versions-release-cadence-24059dbb"}