Npm Package Scraper avatar

Npm Package Scraper

Pricing

Pay per usage

Go to Apify Store
Npm Package Scraper

Npm Package Scraper

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

What does npm Package Scraper do?

npm Package Scraper is an Apify actor that extracts detailed information about packages from the npm registry, including version, description, weekly download counts, license, and repository links. It is perfect for developers and researchers who need to track package popularity, compare libraries, or audit dependencies at scale. Feed it package names like react, express, or lodash and get structured data back instantly.

Why use npm Package Scraper?

  • Bulk package analysis -- Retrieve metadata for dozens or hundreds of npm packages in a single automated run.
  • Download statistics -- Get weekly download counts to compare package popularity and adoption trends.
  • Dependency auditing -- Check licenses, versions, and repository links for packages used in your projects.
  • API integration -- Feed package data into dashboards and reporting tools via the Apify API.
  • Reliable fetching -- Uses Apify Proxy to ensure consistent access to the npm registry.

How to use npm Package Scraper

  1. Go to the Apify Store and search for npm Package Scraper.
  2. Click Try for free to open the actor in Apify Console.
  3. Enter the npm package names you want to scrape in the Package Names field.
  4. Toggle Include Download Stats to fetch weekly download counts (enabled by default).
  5. Click Start and download results as JSON, CSV, or Excel from the Dataset tab.

Input configuration

FieldTypeDescriptionDefault
packagesArray of stringsnpm package names to scrape["react", "express", "lodash"]
includeDownloadStatsBooleanWhether to fetch download statisticstrue

Output data

Each record represents a single npm package with its current metadata. Download statistics are included when the includeDownloadStats option is enabled.

{
"name": "react",
"version": "19.1.0",
"description": "The library for web and native user interfaces.",
"weeklyDownloads": 28450312,
"license": "MIT",
"repository": "https://github.com/facebook/react"
}

Cost of usage

npm Package Scraper uses pay-per-event (PPE) pricing at the Utility tier:

TierCost per 1,000 eventsFree events per month
Utility$0.30~16,600

Each package scraped counts as approximately 1 event. Scraping 100 packages costs about $0.03. The generous free tier covers over 16,000 packages per month, making this actor virtually free for most use cases.

Tips and advanced usage

  • Schedule weekly reports -- Set up scheduled runs to track download trends for key packages over time and spot adoption shifts.
  • License compliance auditing -- Scrape all packages in your package.json to verify they use compatible licenses for your project.
  • Compare frameworks -- Enter competing libraries (e.g., react, vue, svelte) to compare download counts and versions.
  • Monitor new releases -- Track the version field over time to get notified when dependencies release new versions.
  • Feed into dashboards -- Use the Apify API to pull npm data into Grafana, Notion, or Google Sheets for team-wide visibility.

Built with Crawlee and Apify SDK. See more scrapers by consummate_mandala on Apify Store.