{"uid":"cap_i1FepKuEyWVpyPJSkqMtB","slug":"npm-package-monthly-downloads-lookup-cf1edb52","name":"npm Package Monthly Downloads Lookup","description":"Total downloads for an npm package over the last month, from the npm downloads API. Param is the package name. Query: ?pkg= Returns JSON.","url":"https://clonecho.builda.company/x402/s/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_zWZrW3ewE231xxrgacUXs","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 the total download count for a specified npm package over the last month, sourced from the npm downloads API.","exampleAgentPrompt":"How many times was the 'lodash' npm package downloaded last month?","exampleUseCases":null,"resultDescription":"A JSON object containing the npm package name and its total download count over the last calendar month, pulled from the npm downloads API.","failureModes":["Package name not found or misspelled — returns error or empty result","Missing ?pkg= query parameter — returns error response","npm downloads API upstream outage — may return error or stale data","Private/scoped packages may return no data if not publicly tracked"],"whenToPreferThis":"Use this endpoint when you need a quick, single-call lookup of an npm package's monthly download count to gauge popularity, compare adoption, or enrich package metadata. Prefer this over scraping npmjs.com directly or building your own API integration with npm's downloads endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:48:43.367Z","isFirstParty":false}