# npm Package Metadata Lookup

> npm Package Metadata 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 metadata for an npm package including latest version, license, dependency count, maintainers, dist-tags, keywords, and publish dates.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/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-metadata-lookup-09fe83ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u46CbHZdS0PRxhVP7sIbu

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-metadata-lookup-09fe83ed -d '<json body>'
```

Example prompt: Can you pull up the npm package metadata for express — I want to know the latest version, license, maintainers, and how many dependencies it has?

## When to prefer this

Use this endpoint when you need quick structured metadata about an npm package — version, license, dependencies, maintainers — without needing to scrape the npm website or authenticate with the npm API directly. Ideal for automated dependency audits, license checks, or developer tooling pipelines.

## Known failure modes

- Package not found on npm registry — returns error or empty result
- Invalid or misspelled package name — may return 404 or null data
- Private or scoped package not accessible — returns error
- npm registry downtime — upstream fetch failure

## How this service works

npm package metadata (?pkg=express): latest version, license, dependency count, maintainers, dist-tags, keywords, publish dates. Returns JSON.

## Output

A JSON object containing the npm package's latest version number, SPDX license identifier, total dependency count, list of maintainers, dist-tags (e.g. latest, next), keywords, and publish date information.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-package-metadata-lookup-09fe83ed/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)
