# npm Package Profile Lookup

> npm Package Profile Lookup is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Returns detailed npm package metadata including version, license, dependencies, download stats, maintainers, and deprecation status for a given package name.

## Facts

- Endpoint: POST https://api.vextorium.com/npm-paquete-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npm-package-profile-lookup-9a5deb47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sSZFI5HRN58Mmy6uW5LxH

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-profile-lookup-9a5deb47 -d '<json body>'
```

Example prompt: Can you pull up the npm package profile for 'lodash' — I want to know the latest version, license, weekly downloads, number of dependencies, and whether it's deprecated?

## When to prefer this

Use this endpoint when you need a single, comprehensive npm package profile in one call — covering stats, metadata, dependencies, and health signals — rather than making multiple raw npm registry API calls. Ideal for dependency audits, automated tech-stack analysis, or agent workflows that need to evaluate or compare packages programmatically.

## Known failure modes

- Package name not found on npm registry — returns null fields or empty response
- Typo in package name yields no match
- Private or scoped packages may not be accessible
- Deprecated packages return a non-null 'obsoleto' field which agents should check
- Rate limiting or network issues may cause timeouts
- Missing 'nombre' field in request body causes validation error

## How this service works

npm package profile: latest version, description, license, repository, dependencies, unpacked size, weekly and monthly downloads, maintainers and deprecation flag. For dependency choice and audits.

## Output

A JSON object containing the package name, latest version, description, license, repository URL, homepage URL, number of versions, last modified date, number of dependencies with their names listed, number of maintainers, weekly and monthly download counts, unpacked size in KB, required Node.js version, deprecation status, and data source label.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "web": "https://expressjs.com/",
  "fuente": "npm registry",
  "paquete": "express",
  "licencia": "MIT",
  "obsoleto": null,
  "versiones": 289,
  "modificado": "2026-10-01T10:45:23.339Z",
  "descripcion": "Fast, unopinionated, minimalist web framework",
  "repositorio": "git+https://github.com/expressjs/express.git",
  "dependencias": 28,
  "mantenedores": 5,
  "descargas_mes": 561397501,
  "node_requerido": ">= 18",
  "ultima_version": "5.2.1",
  "descargas_semana": 163385304,
  "lista_dependencias": [
   "accepts",
   "body-parser"
  ],
  "tamano_descomprimido_kb": 73.7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-package-profile-lookup-9a5deb47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
