# DepWatch Package Version Status

> DepWatch Package Version Status is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the latest version, release date, and release URL for any npm/GitHub package by ID, name, or repository.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/depwatch/status
- 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/depwatch-package-version-status-ad4dea06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kw3kmiVNffqU3Wy9HO7It

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 depwatch-package-version-status-ad4dea06
```

Example prompt: What's the latest version of react right now — can you check using the package ID pkg:react and give me the version number, release date, and a link to the release?

## When to prefer this

Use this endpoint when you need the current latest version, release date, or release URL for an npm package or GitHub repository. It supports both tracked packages via pkg: IDs and on-demand live resolution for any package by name or repo. Prefer this over static databases when you need up-to-date release info.

## Known failure modes

- Package not found — unknown package name or repo returns empty or error entity
- Invalid pkg: ID format causes query to fail
- Live resolution failure if upstream npm registry or GitHub is unreachable
- Missing required query parameter returns 400 or empty result
- Payment not processed (x402) results in 402 response before data is returned

## How this service works

Current latest version, date, and release URL for a package. Use ?id=pkg:react for tracked packages, or ?package=<name> / ?repo=owner/repo for any package (resolved and fetched live).

## Output

Returns a package entity object with the current latest version string, release date, and a URL to the official release or changelog page for the requested package.

## 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": {
      "id": {
       "type": "string",
       "description": "entityId to look up; omit to list tracked entities"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "entity": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "entity": {
   "state": {
    "publishedAt": "2026-07-01T00:00:00Z",
    "latestVersion": "v19.2.0"
   },
   "entityId": "pkg:react"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/depwatch-package-version-status-ad4dea06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
