# x402-toolbox NPM Package Info

> x402-toolbox NPM Package Info 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).

Retrieves metadata and details about an NPM package, paid per-call via x402 USDC microtransaction with no API key required.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/npm-package-info?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-info-3f7eb520
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gMzXVi50qntxS_Cj24YWW

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-info-3f7eb520
```

Example prompt: Can you look up the npm package info for 'lodash' — I want to know the latest version, description, and who maintains it?

## When to prefer this

Choose this endpoint when you need quick, pay-per-use npm package metadata lookups without managing API keys or OAuth. It is ideal for AI agents operating autonomously in environments where per-call micropayments via USDC on Base are preferable to subscription-based npm registry APIs. Best suited for occasional or on-demand lookups rather than bulk registry crawling.

## Known failure modes

- Package not found in npm registry — returns error or empty result
- Invalid or malformed package name input — may return validation error
- Network or upstream npm registry timeout — transient failure
- x402 payment failure — if USDC balance is insufficient the call is rejected before execution

## 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

Returns a JSON object with package metadata from the npm registry, including fields such as name, version, description, author, license, dependencies, and publication timestamps. The response includes an 'ok' and 'paid' status field confirming the microtransaction was processed.

## 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-info-3f7eb520/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)
