{"slug":"saylorinnovations-com-api-downloads-npm-ecosystem-002286","title":"Package download trend","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/downloads/npm/:ecosystem","category":"other","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","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":595,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"ecosystem":"express"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"pathParams":{"properties":{"ecosystem":{"description":"npm, pypi or crates in the path","type":"string"}},"required":["ecosystem"],"type":"object"},"queryParams":{"properties":{"name":{"description":"Package name in the path (scoped npm names allowed)","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","pathParams"],"type":"object"},"output":{"properties":{"example":{"properties":{"checked_at":{"description":"Time the check was run (UTC)","type":["string","null"]},"daily":{"description":"Daily values","items":{"properties":{"date":{"description":"Date (YYYY-MM-DD)","type":"string"},"downloads":{"description":"Download count","type":["number","null"]}},"type":"object"},"type":"array"},"daily_average_30d":{"description":"Daily average 30d","type":["number","null"]},"ecosystem":{"description":"Package ecosystem the record belongs to","type":"string"},"last_30d":{"description":"Last 30d","type":["number","null"]},"last_7d":{"description":"Last 7d","type":["number","null"]},"last_day":{"description":"Last day","type":["number","null"]},"last_week":{"description":"Last week","type":["number","null"]},"package":{"type":"string"},"peak_day":{"description":"Day with the highest value"},"prior_7d":{"description":"Prior 7d","type":["number","null"]},"source":{"description":"Data source the values come from","type":["string","null"]},"total_downloads":{"description":"Total downloads"},"trend":{"description":"Direction of recent change","type":["string","null"]},"week_over_week_pct":{"description":"Week over week, as a percentage","type":["number","null"]}},"required":["ecosystem","package","daily"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":595,"error":null}],"description_full":"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","last_updated":"2026-10-16T01:16:15.104Z","schemes":["exact"]}