# Package Breaking Changes Migration API

> Package Breaking Changes Migration API is a paid API for AI agents from agentdataapi.onrender.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns structured breaking-changes data for a given package version, including removed APIs with replacements, changed defaults, behavior changes, incompatible dependencies, and codemod commands.

## Facts

- Endpoint: GET https://agentdataapi.onrender.com/dev/breaking-changes
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/package-breaking-changes-migration-api-f23d3557
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DyHzG0oRhs8bWqKGSvNdo

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-breaking-changes-migration-api-f23d3557
```

Example prompt: What are the breaking changes in React 19? I need to know which APIs were removed, what to use instead, and whether there are any codemod commands I can run.

## When to prefer this

Choose this endpoint when a coding agent needs structured, machine-readable migration data for a specific package upgrade rather than having to parse prose documentation. Especially useful when the agent's training data predates recent major releases (react 19, typescript 6, pandas 3, express 5, django 6) and needs authoritative breaking-change information to generate correct migration code or codemods.

## Known failure modes

- Package or version not supported — returns empty or 404 if the package isn't in the covered set (react, typescript, pandas, express, django)
- Missing required query parameters — ?package and version must be provided
- Version format mismatch — version string must match a supported release (e.g. 19.0.0 not just '19')
- Render cold-start latency — hosted on Render free tier, may have slow first response after inactivity

## How this service works

What breaks when you upgrade a package, and what to use instead. Structured migration data from each project's official upgrade guide: removed APIs with replacements and reasons, changed defaults, behavior changes, incompatible deps, and codemod commands. For coding agents whose training data predates recent releases. Covers react 19, typescript 6, pandas 3, express 5, django 6. Params: ?package=react&version=19.0.0. Free list at /dev/packages.

## Output

A structured JSON object containing breaking changes for the specified package version, including: removed APIs paired with their recommended replacements and reasons, changed default values, behavior changes, incompatible dependency versions, and codemod commands that can automate parts of the migration.

## 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",
     "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/package-breaking-changes-migration-api-f23d3557/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdataapi.onrender.com](https://www.zero.xyz/host/agentdataapi.onrender.com/llms.txt)
