P

pkgproof · Verify

by pkgproof

POSTBase

$0.05

per call · USD Coin on Base

One pkgproof package verification

Endpoint

POST https://x402.pkgproof.net/v1/verify

24

Calls / 30d

3

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.pkgproof.net/v1/verify", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "ecosystem": "npm",
    "name": "left-pad",
    "version": "1.3.0"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.pkgproof.net/v1/verify" \
  -H "Content-Type: application/json" \
  -d '{"ecosystem":"npm","name":"left-pad","version":"1.3.0"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "checked_at": "2026-08-26T12:00:00Z",
  "ecosystem": "npm",
  "name": "left-pad",
  "reasons": [
    {
      "code": "package_exists",
      "detail": "left-pad 1.3.0 is published on the npm registry.",
      "kind": "fact",
      "source": "npm registry",
      "verdict": "safe"
    },
    {
      "code": "no_known_advisories",
      "detail": "OSV lists no advisories for this version.",
      "kind": "fact",
      "source": "osv.dev",
      "verdict": "safe"
    }
  ],
  "sources": {
    "npm registry": "https://registry.npmjs.org",
    "osv.dev": "https://api.osv.dev"
  },
  "verdict": "safe",
  "version": "1.3.0"
}

Payment details

Pay to0xb1fe0fd90c16800c3d5e811c6f07972de9d2b98e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from pkgproof & similar services