{"uid":"cap_kZAtlfUD9ZT8IJNcmqzhM","slug":"sitesignal-public-npm-weekly-downloads-snapshot-dd54be6d","name":"SiteSignal Public npm Weekly Downloads Snapshot","description":"Return the public npm registry download count for one package over the last completed weekly window.","url":"https://phases-prot-shine-royal.trycloudflare.com/x402/npm-downloads","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"package":{"type":"string","description":"Public scoped or unscoped npm package name."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3X25zel6Ho-hWsJpmabU2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the public npm registry download count for a single package over the last completed weekly window.","exampleAgentPrompt":"How many times was the 'axios' npm package downloaded in the last completed week? Pull the weekly download snapshot from npm.","exampleUseCases":[{"title":"Track open source package popularity","prompt":"Can you check how many weekly downloads 'lodash' got on npm last week? I want to see how popular it still is."},{"title":"Monitor my own package adoption","prompt":"Pull the weekly npm download count for my package '@myorg/ui-kit' so I can see how adoption is trending."},{"title":"Compare library usage before choosing a dependency","prompt":"What were the weekly npm downloads for 'zod' last week? I'm evaluating it against another validation library and want to see usage numbers."}],"resultDescription":"Returns the download count for the requested npm package over the last completed weekly window, along with the package name and the date range covered by the snapshot.","failureModes":["Package not found on npm registry — returns an error if the package name is misspelled or does not exist","Scoped package name not formatted correctly (e.g. missing @ prefix) may return no results","npm registry API downtime may cause upstream failures","Rate limiting or temporary Cloudflare tunnel unavailability could produce 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, current weekly download figure for a single public npm package without setting up direct npm API access. It is ideal for agent workflows that need lightweight popularity signals for package selection, dependency evaluation, or open source project monitoring. Prefer alternatives if you need historical trends, daily granularity, or bulk comparisons across many packages simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:26:37.325Z","isFirstParty":false}