npm Packages Search Scraper avatar

npm Packages Search Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
npm Packages Search Scraper

npm Packages Search Scraper

Scrapes npm package search results from npms.io by keyword. Returns each package as a flat row with name, description, version, publisher, and quality, popularity, and maintenance scores.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

ParseForge

npm Packages Search Scraper

Scrape npm package search results for any keyword, up to a million packages per run. Every package comes with its name, description, version, publisher, and quality scores. No API key or authentication required. Export to CSV, JSON, Excel, or XML.

The npm registry's official search API limits the number of results and the rate at which you can query it. This reads the public npms.io search endpoint directly, which aggregates and scores packages by quality, popularity, and maintenance. Feed it a package name or keyword like react, express, or csv parser, and it returns each matching package in one consistent flat row.

Who uses itWhat they scrape npm for
JavaScript developersFinding the best-rated package for a specific task before adding a dependency.
DevOps engineersAuditing which packages in a category are actively maintained and secure.
Security researchersScanning the top search results for a keyword to identify abandoned or vulnerable packages.
Technical foundersAnalyzing package popularity trends to spot emerging developer tools and libraries.

What it does

This Actor collects npm packages by search keyword and returns each one as a flat row with its name, description, version, publisher, and computed quality metrics.

  • ๐Ÿ” Keyword search: enter any package name or term, from react to csv parser, and get the top matching packages.
  • ๐Ÿ“Š Quality scores: each result includes the npms.io quality, popularity, and maintenance scores for quick comparison.
  • ๐Ÿ“ฆ Package metadata: name, description, version, publisher, and links are returned in a flat, predictable schema.
  • โšก High throughput: collect up to a million packages in a single run, limited only by the maxItems you set.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with npm data

๐Ÿ”Ž Vet a package before installing.

A developer searches for a utility like csv parser, scrapes the top 20 results, and compares their maintenance and quality scores to choose the healthiest dependency.

๐Ÿ“ˆ Monitor ecosystem trends.

A DevRel professional runs a weekly scrape for a keyword like ai or react to track which new libraries are gaining popularity and community traction.

๐Ÿ›ก๏ธ Audit supply chain health.

A security engineer scrapes the top 500 packages for a framework keyword and flags any with low maintenance scores for deeper review.

๐Ÿงช Build a package recommendation engine.

A startup founder collects thousands of packages across multiple keywords to seed a dataset that powers an internal tool for suggesting npm libraries.

Why choose this scraper

What you get
No API keyUses the public npms.io endpoint, so you can start scraping immediately without registration.
Flat outputEvery package is a single row with the same columns, ready for spreadsheets and databases.
Quality signalsIncludes npms scores for quality, popularity, and maintenance to help you pick the right package.
Scalable collectionSet maxItems up to 1,000,000 to gather a broad view of the ecosystem for a keyword.

How it compares

No other Store actor targets npm the same way, so the honest comparison is with the alternatives teams actually weigh.

npm Packages Search ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When npm changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a single search keyword and set a maximum number of packages to collect. The run stops when it reaches your limit or exhausts the available results. The Input tab lists every parameter.

A first run with the defaults:

{
"searchQuery": "react",
"maxItems": 10
}

A larger pull:

{
"searchQuery": "react",
"maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$2.10
1,000 results$21.00
10,000 results$210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the npm Packages Search Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to npm through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/npms-packages-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results for my search query?

Check that your searchQuery is spelled correctly and is specific enough. Very obscure or misspelled terms may return zero packages from npms.io. Try a broader or related keyword.

The run stopped before reaching my maxItems limit.

This happens when npms.io has no more results for your keyword. The Actor collects every available match, and if that number is smaller than your maxItems, it stops gracefully.

I am getting fewer results than I see on the npms.io website.

The npms.io API may apply different relevance thresholds than its web frontend. Try a more precise keyword or check if the packages you expect are indexed by npms.io.

The Actor is running slowly or timing out.

Reduce your maxItems to a smaller number and run multiple smaller batches. If the issue persists, the npms.io service may be experiencing high load; wait and retry later.

FAQ

QuestionAnswer
What is npms.io and how is it different from the official npm search?npms.io is a community project that analyzes npm packages and scores them on quality, popularity, and maintenance. It provides a cleaner search experience than the official registry and is the data source this Actor reads from.
Do I need an npm account or API token to use this scraper?No. This Actor reads from the public npms.io search endpoint, which does not require authentication, an API key, or an npm user account.
What data fields does the scraper return for each package?Each row includes the package name, description, version, publisher username, and the npms scores for quality, popularity, and maintenance, along with direct links to the package page.
Can I scrape all npm packages for a keyword, not the first page?Yes. The Actor paginates through the npms.io search results automatically and will keep collecting until it reaches the maxItems limit you set or there are no more results.
How many packages can I scrape in one run?You can set maxItems up to 1,000,000. The actual number returned depends on how many packages match your search keyword on npms.io.
Is this an official npm, Inc. product?No. This is an unofficial community scraper that reads publicly available data from npms.io. It is not affiliated with or endorsed by npm, Inc.
Can I search for scoped packages like @angular/core?Yes. You can enter scoped package names or partial scopes as your search query, and the Actor will return matching results from npms.io.
What output formats are supported?You can export your dataset in CSV, JSON, Excel, or XML format directly from the Apify platform after the run completes.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by npm, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.