{"uid":"cap_z5ySjQz5AVflea9h9S8bL","slug":"signaldesk-ai-npm-package-download-statistics-52a3eb73","name":"SignalDesk AI – NPM Package Download Statistics","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/dev/npm-downloads?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"period":{"enum":["last-week","last-month"],"type":"string","maxLength":4096,"description":"Window."},"package":{"type":"string","maxLength":200,"minLength":1,"description":"Package name."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"end":"2026-09-30","start":"2026-09-01","source":{"provider":"npm download statistics","expires_at":"2026-10-02T10:44:48.645Z","fetched_at":"2026-10-02T09:44:48.645Z","source_url":"https://api.npmjs.org/downloads/point/last-month/lodash","transformed":true},"package":"lodash","downloads":697061461}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sjeraZMXE6O-huezF1CUh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the download count for a specified npm package over a given time period (last week or last month) via the npm download statistics API.","exampleAgentPrompt":"How many times was lodash downloaded on npm last month?","exampleUseCases":[{"title":"Check popularity of a JavaScript library","prompt":"Can you look up how many times the 'axios' npm package was downloaded last month? I want to know if it's still widely used."},{"title":"Track weekly download trends for an open source project","prompt":"What were the npm download numbers for 'express' last week? I'm trying to see if there was a spike."},{"title":"Compare package adoption for a tech decision","prompt":"How many downloads did 'moment' get on npm last month? I'm trying to figure out whether it's still worth using or if people have moved on."}],"resultDescription":"Returns a JSON object containing the package name, total download count for the requested period, the start and end dates of the window, and source metadata including the provider name, the source URL queried, when the data was fetched, and when it expires.","failureModes":["Package name not found on npm — returns an error or zero downloads","Invalid period value (not 'last-week' or 'last-month') — request rejected by schema validation","Missing required 'package' query parameter — request fails validation","Network or upstream npm API timeout — call may fail or return stale cached data","Private or scoped packages may not have public download stats available"],"whenToPreferThis":"Use this endpoint when you need quick, paid-API-quality access to npm download statistics for any public package over standardized time windows (last week or last month), without building your own npm API integration. It is ideal for AI agents that need to assess JavaScript library popularity, monitor package adoption trends, or enrich software dependency analysis pipelines. Prefer this over direct npm API calls when operating within a paid x402 micropayment workflow that requires bounded, auditable data fetches.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:16.164Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-npm-package-download-statistics-52a3eb73"}