{"uid":"cap_IcgQb-9i5c_Qw5CnmLl-u","slug":"dep-halowerk-com-alternative-package-ranker-88976f11","name":"dep.halowerk.com Alternative Package Ranker","description":"Ranks supplied alternative packages against explicit requirement weights. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age. ","url":"https://dep.halowerk.com/v1/alternative-packages","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","required":["name","features","maintenance_score"],"properties":{"name":{"type":"string","maxLength":512,"minLength":1,"description":""},"features":{"type":"array","items":{"type":"string","maxLength":512,"minLength":1,"description":""},"maxItems":100},"maintenance_score":{"type":"number","maximum":1,"minimum":0,"description":""}},"additionalProperties":false},"maxItems":1000},"requirements":{"type":"array","items":{"type":"string","maxLength":512,"minLength":1,"description":""},"maxItems":100}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MO4ljMvZ1Qzm6bGVl64q3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ranks candidate software packages against weighted requirements, disclosing data sources, derivation methods, and unavailable fields","exampleAgentPrompt":"I have three candidate packages — axios, got, and node-fetch — each with their features and maintenance scores, and my requirements are 'TypeScript support', 'active maintenance', and 'small bundle size'. Can you rank them against those requirements for me?","exampleUseCases":[{"title":"Choosing a logging library replacement","prompt":"I'm evaluating winston, pino, and bunyan as logging library alternatives. Here are their features and maintenance scores. My requirements are 'structured JSON output', 'low overhead', and 'active community'. Rank them for me so I know which to migrate to."},{"title":"Auditing third-party payment SDK options","prompt":"We're picking a payment SDK and have four candidates with their feature lists and maintenance scores. Our requirements are 'PCI compliance support', 'TypeScript types', and 'webhook handling'. Rank all four so we can make a decision."},{"title":"Open source dependency swap during security review","prompt":"We need to replace a deprecated package and have shortlisted lodash, ramda, and underscore. I have their features and maintenance scores — our requirements are 'tree-shaking support', 'no known CVEs', and 'active releases'. Please rank them."}],"resultDescription":"A ranked ordering of the candidate packages scored against the supplied requirements, with each score's derivation method disclosed, source-backed values annotated with their source and time window, and any fields that could not be computed listed in unavailable_fields as null.","failureModes":["Missing required fields (name, features, maintenance_score) on any candidate returns a validation error","Empty candidates array returns an empty ranking","Requirements array is empty — ranking may be trivial or undefined","Candidate name exceeds 512 characters — rejected","More than 1000 candidates or 100 requirements — rejected by schema limits","Some fields unavailable for a candidate — returned as null with field name in unavailable_fields"],"whenToPreferThis":"Use this endpoint when you have already gathered candidate package metadata (features, maintenance scores) and need a structured, weighted ranking against explicit project requirements. Prefer this over manual comparison when requirements can be enumerated as strings and when transparency about data provenance and derivation method matters. It complements the sibling endpoints on dep.halowerk.com that retrieve raw package metadata, release intervals, and dependency graphs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:08.983Z","isFirstParty":false}