# npm Package Registry Lookup

> npm Package Registry Lookup is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns the latest version, license, description, homepage URL, and dependency list for any npm package from the npm registry.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/npm-package
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npm-package-registry-lookup-591dde89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G4GTn8dIel-KWih6veEti

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 npm-package-registry-lookup-591dde89 -d '<json body>'
```

Example prompt: Can you look up the latest version, license, and dependencies for the 'lodash' npm package?

## When to prefer this

Use this endpoint when you need current npm package metadata — version, license, homepage, or dependencies — directly from the npm registry without scraping. Prefer this over manual npm website lookups or running CLI commands when automating dependency audits, license checks, or package discovery workflows.

## Known failure modes

- Package not found on npm registry — returns error or empty result
- Misspelled package name — no match returned
- Private or unlisted package — not accessible via public registry
- Network or upstream npm registry timeout — service unavailable error

## How this service works

Latest version, license, description, homepage and dependencies for any npm package, from the npm registry. Query: ?pkg= Returns JSON.

## Output

A JSON object containing the npm package's latest published version number, SPDX license identifier, human-readable description, homepage URL, and a map of its declared dependencies (name to version range).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-package-registry-lookup-591dde89/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
