# x402-toolbox NPM Package Versions

> x402-toolbox NPM Package Versions is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns available versions of a specified npm package, paid per-call via x402 USDC micropayment on Base.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/npm-package-versions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-npm-package-versions-67a5827f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NE1SfQJgZuugyOXYDaCu7

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 x402-toolbox-npm-package-versions-67a5827f
```

Example prompt: What versions of the 'lodash' npm package are available right now?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically check npm package versions without requiring an API key or account — ideal for lightweight, pay-per-call workflows where setting up npm registry credentials is impractical. Prefer over direct npm registry calls when operating inside an x402 micropayment-enabled agent environment.

## Known failure modes

- Unknown or misspelled package name returns empty or error response
- Network timeout to npm registry
- Invalid schema parameter format returns error
- Payment failure prevents response (402 not fulfilled)

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON response indicating success (ok: true, paid: true) along with a list of published versions for the specified npm package, drawn from the npm registry.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-npm-package-versions-67a5827f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
