Catalog / ToolMint Docs Deltas
Coming soon Developer & security
ToolMint Docs Deltas
Exported-API deltas between npm versions from published TypeScript declarations, for coding agents planning upgrades.
Routes and prices
| Route | Price | What it does | Parameters (* required) |
|---|---|---|---|
GET /delta | $0.02 | What changed in an npm package's exported API between two versions, read from its published TypeScript declarations: added, removed, changed signatures, members, newly @deprecated. Example: pkg=zod&from=3.22.4&to=3.23.8 | pkg*, from*, to*, allowPartial |
GET /surface | $0.01 | Exported API surface of one npm package version from its TypeScript declarations (names, kinds, normalized signatures, members, @deprecated). Example: pkg=ky&version=1.2.0 | pkg*, version* |
Free routes: /, /health, /openapi.json, /.well-known/x402.
Try it
Not deployed yet. The URL below is the planned address. After launch, an unpaid call returns
402 with the terms in the price table.curl -i "https://toolmint-docs-deltas.toolmint.workers.dev/delta?pkg=zod&from=3.22.4&to=3.23.8"
Errors are not charged
Payment settles only on a successful answer. These responses are never settled:
| Status | Meaning (from the OpenAPI) | Charged? |
|---|---|---|
400 | Bad input (no charge; rejected before payment) | No |
404 | Package/version not found or no TypeScript declarations (not charged) | No |
422 | Too large to read fully (not charged) | No |
502 | npm registry or jsDelivr unavailable (not charged) | No |