← Back to directory

Call before installing packages suggested by a language model. Returns, for each...

https://preflight402.com/v1/deps/check

Overview

Call before installing packages suggested by a language model. Returns, for each npm or PyPI package name, whether it actually exists in the registry, whether it is deprecated or yanked, and — when the name is not found — the closest real package names. Catches hallucinated dependencies (slopsquatting) before an agent installs them. Never inspects package contents and never returns a safety verdict.

Protocol x402 (POST)
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Preflight
Source bazaar
Indexed 2026-09-12 08:13:49

Health

Status healthy
Latency (p50) 1077ms
Uptime (30d) 97.0%
Reliability Score 83.5/100
Last Checked 2026-10-31 07:11:16
Last Healthy 2026-10-31 07:11:16
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "ecosystem": "npm", "packages": [ "left-pad" ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "checked_at": "2026-09-02T21:40:00Z", "ecosystem": "npm", "results": [ { "exists": false, "name": "jscodeshift-react", "official_url": "https://www.npmjs.com/package/jscodeshift-react", "verdict": "not_found" } ] }, "type": "json" }