← Back to directory

Use before a coding agent installs an unfamiliar npm dependency. Returns current...

https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight

Overview

Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target Node version (real SemVer evaluation), license, days since release, best-effort weekly downloads, repository URL and maintainer count. Facts only — no safety, trust, or malware verdict.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Agent Miner Tools
Source bazaar
Indexed 2026-08-30 17:13:35

Health

Status healthy
Latency (p50) 616ms
Uptime (30d) 98.5%
Reliability Score 89.2/100
Last Checked 2026-10-31 07:09:00
Last Healthy 2026-10-31 07:09:00
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "nodeVersion": "22.14.0", "packageName": "zod" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "checkedAt": "2026-08-30T10:00:02.000Z", "daysSinceRelease": 12, "deprecated": false, "deprecationMessage": null, "enginesNode": ">=18", "found": true, "homepage": "https://zod.dev", "latestIsPrerelease": false, "latestVersion": "3.24.1", "license": "MIT", "maintainerCount": 2, "nodeCompatible": true, "packageName": "zod", "publishedAt": "2026-01-15T09:12:00.000Z", "repositoryUrl": "https://github.com/colinhacks/zod", "requestedNodeVersion": "22.14.0", "source": "npm", "warnings": [], "weeklyDownloads": 23456789 }, "type": "json" }