# EnergyBillToolkit Package Health Audit

> EnergyBillToolkit Package Health Audit is a paid API for AI agents from energybilltoolkit.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Screens an npm or PyPI package for health and safety signals on a pay-per-use basis

## Facts

- Endpoint: POST https://energybilltoolkit.co.uk/decision-tools/api/package/health-audit
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/energybilltoolkit-package-health-audit-920020b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZwUzqhz4rcOtc0adURINs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability energybilltoolkit-package-health-audit-920020b9 -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-use EBT screening endpoint

## Output

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).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ecosystem": {
   "enum": [
    "npm",
    "pypi"
   ],
   "type": "string"
  },
  "packageName": {
   "type": "string",
   "maxLength": 214,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/energybilltoolkit-package-health-audit-920020b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from energybilltoolkit.co.uk](https://www.zero.xyz/host/energybilltoolkit.co.uk/llms.txt)
