← Back to all APIs

Npm Package Info

$0.002

npm registry package facts: latest version and publish date, description, license, homepage, repository, dependency count, weekly downloads, maintainers, total versions and deprecation flag, trimmed server-side to the latest version.

POST https://x402.freeq.one/tools/npm_package_info
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/npm_package_info \ -H "Content-Type: application/json" \ -d '{"package":"express","include_downloads":true}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.