{"uid":"cap_N9IJmHikkY1nYwpazWKKa","slug":"sitesignal-public-npm-weekly-downloads-snapshot-14dbb622","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://trinity-throw-thursday-gravity.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_yMfsY-uLNTUbk4nJbKAyn","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 last week? Can you pull the weekly download count from the npm registry?","exampleUseCases":[{"title":"Checking library popularity before adopting","prompt":"Before I add 'zod' as a dependency, can you check how many npm downloads it got last week so I know how widely it's being used?"},{"title":"Monitoring own package traction","prompt":"Can you look up the weekly npm download count for my package '@myorg/design-tokens' so I can see if our latest release is gaining adoption?"},{"title":"Comparing competitor package usage","prompt":"What were the npm weekly downloads for 'date-fns' last week? I want to see how it stacks up in terms of community usage."}],"resultDescription":"Returns the total download count for the specified npm package over the most recently completed weekly window, sourced directly from the public npm registry. Typically includes the package name, the numeric download count, and the date range of the window measured.","failureModes":["Package name not found on npm registry — returns an error or zero result","Scoped package name not correctly formatted (e.g. missing @scope/ prefix) — query fails","npm registry API temporarily unavailable — upstream timeout or error","Rate limiting or transient Cloudflare tunnel error — HTTP 5xx response","No completed weekly window data available yet for a very newly published package"],"whenToPreferThis":"Choose this endpoint when you need a quick, point-in-time weekly download snapshot for a single npm package without needing historical trends or multi-package comparisons. It is ideal for lightweight popularity checks, dependency vetting, or monitoring a specific package's adoption after a release. Prefer alternatives (like the full npm API or analytics tools) when you need daily granularity, historical time series, or bulk queries across many packages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:28:29.761Z","isFirstParty":false}