# npm-versions-list

> npm-versions-list is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns all published versions of an npm package with publish dates, dist-tags, version count, first/latest publish dates, recent release cadence, and the 30 most recent versions.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dev/npm-versions
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npm-versions-list-321ce485
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5lWyuVkno18pPPXdGjgCG

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-versions-list-321ce485
```

Example prompt: Can you pull up all the published npm versions of 'react', including the dist-tags like latest and next, how many total versions there are, and how many releases happened in the last 90 days?

## When to prefer this

Choose this endpoint when you need comprehensive version history and release cadence data for an npm package in a single call — particularly when you want dist-tag resolution (latest, next, beta), publication timestamps, or want to assess how actively a package is maintained. Prefer this over the npm registry API directly when you want a pre-processed, agent-friendly summary including the 90-day release count and 30 most recent versions without parsing raw registry JSON yourself.

## Known failure modes

- Package not found on npm — returns an error or empty result
- Misspelled or scoped package name not resolved correctly
- Network timeout fetching npm registry data
- Rate limiting or payment failure for the $0.01 USDC per-call fee

## How this service works

All published versions of an npm package with publish dates, the dist-tags (latest, next, beta...), total version count, first and latest publish dates, releases in the last 90 days, and the 30 most recent versions. Release-cadence and pin-selection helper. $0.01 per package.

## Output

Returns a structured payload containing all published version strings with their individual publish dates, all dist-tags (e.g. latest, next, beta) mapped to their version numbers, total version count, the date of the first published version, the date of the most recent published version, the count of releases in the last 90 days, and a list of the 30 most recent versions — enabling release cadence analysis and informed version pinning.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-versions-list-321ce485/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
