{"uid":"cap_ZwUzqhz4rcOtc0adURINs","slug":"energybilltoolkit-package-health-audit-920020b9","name":"EnergyBillToolkit Package Health Audit","description":"Pay-per-use EBT screening endpoint","url":"https://energybilltoolkit.co.uk/decision-tools/api/package/health-audit","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ecosystem":{"enum":["npm","pypi"],"type":"string"},"packageName":{"type":"string","maxLength":214,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Npbnbd9A9B52oWqv2Bww","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Screens an npm or PyPI package for health and safety signals on a pay-per-use basis","exampleAgentPrompt":"Can you do a health audit on the npm package 'lodash' to check if it's safe and well-maintained before I add it as a dependency?","exampleUseCases":[{"title":"Vetting a new npm dependency","prompt":"Before I add 'axios' to my project's package.json, can you screen it on npm for health issues and tell me if it's safe to use?"},{"title":"Auditing a PyPI package for a Python project","prompt":"I'm considering using 'requests' from PyPI in my Python app — can you run a health audit on it and let me know if there are any concerns?"},{"title":"Checking an unfamiliar open source package","prompt":"I found a package called 'colors' on npm that I've never used before — can you audit it and tell me if it looks well-maintained and trustworthy?"}],"resultDescription":"Returns a health audit report for the specified package, including signals about maintenance status, safety, and overall package health for the given ecosystem (npm or PyPI).","failureModes":["Package name not found in the specified ecosystem — returns not-found error","Invalid ecosystem value (only 'npm' or 'pypi' accepted) — returns validation error","Package name exceeds 214 characters or is empty — returns schema validation error","Payment failure via x402 — endpoint returns 402 before processing","Transient upstream data unavailability — may return partial or error response"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use health screening of a specific npm or PyPI package before adding it as a dependency, especially in automated CI/CD pipelines or agent-driven dependency vetting workflows where you want per-call pricing rather than a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:30:41.151Z","isFirstParty":false}