# docs-changelog

> docs-changelog is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-12).

Returns GitHub release notes, intermediate registry versions, and breaking-change markers for a library upgrade range across npm, PyPI, crates.io, or GitHub repos.

## Facts

- Endpoint: GET https://payai.agentstools.dev/docs/changelog?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docs-changelog-ef0d6dc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fofh7qaIEU7sN2otEGE_O

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 docs-changelog-ef0d6dc9
```

Example prompt: Can you check what breaking changes were introduced in the npm package 'react' between version 18.0.0 and 19.0.0, and tell me if upgrading is likely safe?

## When to prefer this

Use this endpoint when an AI agent needs to make an automated or semi-automated decision about whether a dependency upgrade is safe, specifically when you need the full changelog delta (release notes + intermediate versions + breaking-change signals) in a single structured call. Prefer this over manually scraping GitHub releases or calling the registry API directly when you need breaking-change markers synthesized alongside the raw notes. Ideal for CI/CD agents, dependency-audit workflows, or developer assistants that need to summarize upgrade risk.

## Known failure modes

- Package not found in specified ecosystem — returns error indicating unknown package name
- Invalid ecosystem value — returns validation error; must be npm, pypi, crates, or github
- Version not found — from_version or to_version does not exist in the registry
- No release notes available — package exists but has no GitHub releases in range; returns empty notes
- GitHub repo not linked — registry package has no associated GitHub repo for fetching release notes
- Rate limit or upstream registry unavailability — returns 5xx or timeout error

## How this service works

Version-delta changelog for a library between two versions. Give an ecosystem, package name and from_version and to_version and get the GitHub release notes in that range, the registry versions between them, and surfaced breaking-change markers. Built for agents deciding whether an upgrade is safe.

## Output

An object containing GitHub release notes for each version in the specified range, a list of intermediate registry versions between from_version and to_version, and surfaced breaking-change markers (e.g. semver major bumps, explicit BREAKING CHANGE annotations in release notes) to help an agent assess upgrade safety.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name",
      "ecosystem",
      "from_version",
      "to_version"
     ],
     "properties": {
      "name": {
       "type": "string",
       "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",
       "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",
       "description": "Upper bound version, such as 19.0.0 (inclusive)."
      },
      "from_version": {
       "type": "string",
       "description": "Lower bound version, such as 18.0.0 (exclusive)."
      }
     }
    }
   },
   "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/docs-changelog-ef0d6dc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
