npm Package Scraper - Registry Data & Downloads API avatar
npm Package Scraper - Registry Data & Downloads API

Pricing

$2.00 / 1,000 results

Go to Apify Store
npm Package Scraper - Registry Data & Downloads API

npm Package Scraper - Registry Data & Downloads API

Extract npm package data with download stats, dependencies, maintainers, and quality scores. Search by keyword, author, or get popular packages. Perfect for JavaScript ecosystem research, competitor tracking, and dependency analysis. Fast API-based extraction, pay-per-result.

Pricing

$2.00 / 1,000 results

Rating

0.0

(0)

Developer

ben

ben

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

npm Package Scraper

Extract data from the npm registry. Get package details including download statistics, dependencies, maintainers, and npm quality scores.

Features

  • 5 Scrape Modes: Popular, Search, Keyword, Author, Details
  • Rich Data: Downloads, dependencies, maintainers, scores, license info
  • Fast API-Based: Direct npm registry API access
  • Quality Scores: npm's popularity, quality, and maintenance scores

Use Cases

  • JavaScript Ecosystem Research: Analyze package trends and popularity
  • Dependency Auditing: Track dependencies and their maintainers
  • Competitor Analysis: Monitor competing packages
  • Author Portfolio: Get all packages from specific developers
  • Tech Trend Tracking: Discover trending packages and technologies

Input Parameters

ParameterTypeDescription
scrapeModestringMode: popular, search, keyword, author, details
searchQuerystringSearch term (for search mode)
keywordstringPackage keyword/tag (for keyword mode)
authorstringAuthor username (for author mode)
packageNamesarrayList of package names (for details mode)
sortBystringSort by: popularity, quality, maintenance, optimal
maxResultsintegerMaximum results (1-1000)

Output Data

Each package includes:

{
"name": "express",
"version": "4.18.2",
"description": "Fast, unopinionated, minimalist web framework",
"keywords": ["express", "framework", "web", "http", "rest", "api"],
"author_name": "TJ Holowaychuk",
"publisher_name": "dougwilson",
"maintainers": ["dougwilson", "jasnell"],
"license": "MIT",
"homepage": "http://expressjs.com/",
"repository_url": "https://github.com/expressjs/express",
"npm_url": "https://www.npmjs.com/package/express",
"downloads_weekly": 25000000,
"downloads_monthly": 100000000,
"dependents_count": 85000,
"dependencies": ["accepts", "body-parser", "..."],
"dev_dependencies": ["mocha", "nyc", "..."],
"has_types": false,
"score_final": 0.95,
"score_quality": 0.92,
"score_popularity": 0.99,
"score_maintenance": 0.88
}

Example Usage

{
"scrapeMode": "popular",
"maxResults": 100
}

Search for React Packages

{
"scrapeMode": "search",
"searchQuery": "react",
"sortBy": "popularity",
"maxResults": 50
}

Get Packages by Keyword

{
"scrapeMode": "keyword",
"keyword": "cli",
"maxResults": 100
}

Get All Packages from an Author

{
"scrapeMode": "author",
"author": "sindresorhus",
"maxResults": 200
}

Get Details for Specific Packages

{
"scrapeMode": "details",
"packageNames": ["lodash", "express", "react", "vue", "angular"]
}
  • cli - Command line tools
  • framework - Web frameworks
  • database - Database clients
  • testing - Testing utilities
  • typescript - TypeScript tools
  • react - React ecosystem
  • vue - Vue ecosystem
  • utility - Utility libraries

npm Quality Scores

The scraper includes npm's official quality metrics:

  • Popularity: Based on downloads and dependents
  • Quality: Based on tests, documentation, linting
  • Maintenance: Based on release frequency, issue response

Integrations

Export data to:

  • JSON, CSV, Excel
  • Google Sheets
  • Webhooks
  • API endpoints

Pricing

Pay-per-result: $2.00 per 1,000 packages

Support

For issues or feature requests, contact the developer through Apify.