{"uid":"cap_baTmyOLt-ZT6SV4m-3ulA","slug":"saylor-innovations-package-download-trends-0d4b155e","name":"Saylor Innovations Package Download Trends","description":"Package download trend - last day, week and 30 days of downloads, daily series and week-over-week change for any npm, PyPI or crates.io package","url":"https://saylorinnovations.com/api/downloads/npm/:ecosystem?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_-vN9I-FLAemcx7IUomD9o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns download trend statistics (last day, week, and 30 days) plus daily series and week-over-week change for any npm, PyPI, or crates.io package","exampleAgentPrompt":"Can you pull the download trend stats for the 'axios' npm package — I want to see last day, last week, 30-day totals, the daily series, and how it's changed week over week?","exampleUseCases":[{"title":"Tracking OSS library growth","prompt":"How is the 'requests' PyPI package trending? Show me downloads for the last day, week, and 30 days plus the week-over-week change so I can see if it's still growing."},{"title":"Evaluating npm package popularity","prompt":"I'm deciding between two npm packages — can you get me the download trends for 'lodash' including the daily series and 30-day total so I can gauge how widely used it still is?"},{"title":"Monitoring a new Rust crate launch","prompt":"We just published a crates.io crate called 'serde_json' — can you fetch its download stats for the past day, week, and month along with week-over-week change so I can see if our launch is getting traction?"}],"resultDescription":"Returns download counts for the last day, last week, and last 30 days, a daily time-series array of download counts, and the week-over-week percentage change for the specified package on the requested ecosystem (npm, PyPI, or crates.io).","failureModes":["Package not found on the specified ecosystem returns an error or empty result","Invalid or misspelled ecosystem name returns a bad request error","Very new packages with no download history may return zeros or sparse series data","Rate limiting or payment failure returns a 402 or 429 error","Network timeout if the upstream registry API is slow"],"whenToPreferThis":"Use this endpoint when you need quick, multi-period download statistics for a specific open source package across npm, PyPI, or crates.io — especially when you need both aggregate totals and a daily time series with week-over-week trend in a single call. Prefer this over scraping registry websites or piecing together multiple API calls to individual registries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:59.426Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-package-download-trends-0d4b155e"}