← Back to all APIs

Npm Download Stats

$0.002

npm download counts by package: totals for the last day, week or month, with the counted period and start/end dates — trimmed server-side to the listed fields.

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

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/npm_download_stats \ -H "Content-Type: application/json" \ -d '{"package":"express","period":"last-week"}'

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.