/npm/packages/downloads
npm
/npm/packages/downloads
Get npm package download counts for a given period
Price: 1 credit
💡 AI Hint: Get the download count for an npm package over a period (last-day, last-week, last-month, last-year). Returns the package name, total download count, and the start/end dates of the counted window.
⚠️ Common errors: 412: Package not found
POST
/npm/packages/downloads
Authorizations
API token from the dashboard
Headers
Body
application/json
Package name (e.g. 'react', '@types/node') or npm package URL
Minimum string length:
1Examples:
"react"
"@types/node"
Max scrapping execution timeout (in seconds)
Required range:
20 <= x <= 1500Download counting period
Available options:
last-day, last-week, last-month, last-year