UnifyAPI
← Back to catalog

npm.downloads

mock data$0.001 / call

npm Download Stats

Get download count for any npm package over a time period: last-day, last-week, last-month, last-year. Useful for measuring package popularity, adoption trends, and comparing alternatives (e.g. express: 92M/week).

Developer Toolsprovider: Npm#npm#developer

Input schema

period

Time period for download stats (default: last-week)

string
packagerequired

npm package name (e.g. express, lodash, typescript)

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/npm.downloads \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"period":"<period>","package":"<package>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.