{"uid":"cap_k63uX44nMwgTh8au21sKt","slug":"paket-package-freshness-scorer-f9a893e8","name":"Paket Package Freshness Scorer","description":"Turns the release history of a package into a maintenance signal an agent can act on. Four measurements go in: the age in days of the newest stable release, the median gap between the last ten releases, the ratio of the current silence to that median, and whether the newest version is deprecated. Each maps to a component score and the components combine into a grade from A to E.","url":"https://paket.halowerk.com/v1/package-freshness","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","maxLength":300,"minLength":1},"system":{"enum":["npm","pypi","maven","go","cargo","nuget","rubygems"],"type":"string"},"include_prereleases":{"type":"boolean","default":false,"description":"Whether pre-releases count as releases for the rhythm. Off by default: a nightly build stream would mask a dormant stable line."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PVYcl2XrHPt-byvLcnMiO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores the maintenance health of a software package by analyzing its release cadence and deprecation status, returning a letter grade from A to E.","exampleAgentPrompt":"Can you score the maintenance freshness of the 'lodash' package? The newest stable release is 180 days old, the median gap between the last ten releases is 60 days, the silence-to-median ratio is 3.0, and the package is not deprecated.","exampleUseCases":[{"title":"Flagging stale production dependencies","prompt":"I want to know if 'moment' is still worth depending on — the newest release is 400 days old, the median release gap over the last ten releases is 90 days, that puts the silence ratio at about 4.4, and I've heard it might be deprecated. Give me a freshness grade."},{"title":"Validating a new library before adoption","prompt":"Before we add 'axios' to our codebase, can you check its release freshness? Latest stable is 30 days old, median gap between last ten releases is 45 days, silence ratio is 0.7, and it's not deprecated."},{"title":"Automated dependency audit in CI pipeline","prompt":"As part of our weekly dependency review, score the freshness of 'express' — newest stable release was 120 days ago, median release gap is 40 days, silence ratio is 3.0, not deprecated — and tell me what grade it gets."}],"resultDescription":"Returns a structured response containing individual component scores (for release age, median release gap, silence ratio, and deprecation status) plus a combined maintenance grade from A (healthy, active) to E (stale or abandoned), which an agent can use to decide whether to retain, replace, or flag a dependency.","failureModes":["Missing required input fields (age, median gap, silence ratio, or deprecation flag) result in a validation error","Negative or nonsensical numeric inputs (e.g. negative age) may return an error or undefined grade","If the silence ratio is extremely large due to a division-near-zero scenario, the grade may default to E","Network or service errors return a non-200 response with an error message"],"whenToPreferThis":"Use this endpoint when you need a structured, quantitative maintenance signal for a package and already have (or can compute) the four numeric inputs. It is ideal for CI pipelines, dependency audits, or agent workflows that need a normalized A–E grade rather than raw release data. Prefer sibling endpoints if you need to first fetch the release history or resolve the version timeline before scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:42:36.527Z","isFirstParty":false}