# Package Changelog Lookup (npm/PyPI/crates/GitHub)

> Package Changelog Lookup (npm/PyPI/crates/GitHub) is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-31).

Returns the changelog or release notes for a given package version range across npm, PyPI, crates.io, or GitHub ecosystems.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/docs/changelog?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/package-changelog-lookup-npm-pypi-crates-github-35cb9943
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nTlst2TRnM1dd0Pk8lfpf

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 package-changelog-lookup-npm-pypi-crates-github-35cb9943
```

Example prompt: Can you pull the changelog for the npm package 'react' between version 17.0.0 and 18.0.0 and summarize what changed?

## When to prefer this

Use this endpoint when you need structured changelog or release notes data for a specific version range of a package across npm, PyPI, crates.io, or GitHub. Prefer it over manually scraping GitHub releases or package registry pages when you need programmatic access to version diffs for dependency auditing, upgrade planning, or automated release summaries.

## Known failure modes

- Package name not found in the specified ecosystem — returns error or empty result
- Version range not valid or no releases exist between from_version and to_version
- Unsupported ecosystem value supplied (must be npm, pypi, crates, or github)
- GitHub repo path not in owner/repo format causing lookup failure
- Payment failure or insufficient USDC balance preventing endpoint access
- Rate limiting or network timeout on upstream package registry

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a 'result' field containing changelog or release notes data for the specified package and version range, along with a 'success' boolean indicating whether the lookup succeeded.

## 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",
     "required": [
      "name",
      "ecosystem",
      "from_version",
      "to_version"
     ],
     "properties": {
      "name": {
       "type": "string",
       "default": null,
       "description": "Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."
      },
      "ecosystem": {
       "enum": [
        "npm",
        "pypi",
        "crates",
        "github"
       ],
       "type": "string",
       "default": null,
       "description": "Package ecosystem. Aliases accepted: pip and python map to pypi; cargo and rust map to crates; node maps to npm; gh maps to github."
      },
      "to_version": {
       "type": "string",
       "default": null,
       "description": "Upper bound version, such as 19.0.0 (inclusive)."
      },
      "from_version": {
       "type": "string",
       "default": null,
       "description": "Lower bound version, such as 18.0.0 (exclusive)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/package-changelog-lookup-npm-pypi-crates-github-35cb9943/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
