# deps.dev Package Version History Lookup

> deps.dev Package Version History Lookup is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the full published version history of an npm package from deps.dev, including all releases and their metadata.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/patient_maple/deps-dev-package-lookup
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deps-dev-package-version-history-lookup-dd7c0445
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKf3OX2Z1GK4UMkU59Pay

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 deps-dev-package-version-history-lookup-dd7c0445 -d '<json body>'
```

Example prompt: Can you pull the full version history for the 'lodash' npm package from deps.dev so I can see every release and check when the security fix landed?

## When to prefer this

Choose this endpoint when you need the complete version history of an npm package, not just the latest version — ideal for auditing lockfiles, determining when a specific fix landed, analyzing release cadence, or comparing your installed version against the full release timeline. Prefer this over PyPI Version Lookup (which is for Python packages) or npm weekly downloads (which returns adoption metrics, not version history).

## Known failure modes

- Package name not found on deps.dev — returns empty or error response
- Misspelled package name yields no results
- deps.dev API unavailable — upstream timeout or error
- Private or scoped packages not indexed by deps.dev may return no data
- Rate limiting or payment failure at $0.005 USDC per call

## How this service works

deps.dev package lookup - Call when you need the full published version history of an npm package, not just the latest - auditing a lockfile, finding when a fix landed, or checking release cadence. Send the package name. Returns deps.dev's versions array with each release.

## Output

Returns deps.dev's versions array for the specified npm package, containing each published release with version numbers and associated metadata such as publication timestamps and release details.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deps-dev-package-version-history-lookup-dd7c0445/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
