{"uid":"cap_tA7Xq_VVXR-iCAkc6wtwe","slug":"npm-package-download-counts-3f9cf53b","name":"NPM Package Download Counts","description":"npm download counts for a package (?pkg=express) over last week and last month — real adoption signal. Returns JSON.","url":"https://clonecho.builda.company/x402/npm-downloads","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3piK4nKHcZzRTDcALtKOm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns npm package download counts for the last week and last month, serving as an adoption signal for a given package.","exampleAgentPrompt":"How many times has the 'express' npm package been downloaded in the last week and last month? I want to gauge its adoption.","exampleUseCases":null,"resultDescription":"A JSON object containing the npm package name along with its download counts for the past week and past month, providing a real adoption signal for the queried package.","failureModes":["Package not found on npm — may return empty or error JSON","Invalid or missing pkg query parameter — likely returns an error","Package exists but has zero downloads — returns zero counts","Rate limiting or payment failure for the x402 micropayment"],"whenToPreferThis":"Use this endpoint when you need a quick, quantitative adoption signal for a specific npm package — especially useful for comparing package popularity, vetting dependencies, or monitoring growth trends. Prefer this over scraping npm manually or using the full npm API when you only need weekly and monthly download counts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:14.328Z","isFirstParty":false}