Npm Registry Scraper
Pricing
from $10.00 / 1,000 results
Npm Registry Scraper
Searches the npm registry for JavaScript and Node.js packages matching a query and extracts package metadata including name, version, description, publish date, publisher, and links.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer

Donny
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 hours ago
Last modified
Categories
Share
npm Registry Package Scraper
What it does
Searches the npm registry for JavaScript and Node.js packages matching a query and extracts package metadata including name, version, description, publish date, publisher, and links.
This Apify actor automates the collection of data from a public API, extracting structured information and saving it directly into an Apify dataset. It handles pagination automatically, supports configurable result limits, and includes robust error handling with timeouts on all HTTP requests. The actor is designed for reliability: it validates inputs, applies sensible defaults, and produces a fallback record when no results are found, so your downstream workflows never receive an empty dataset.
Why use it
Manually collecting data from web APIs is tedious and error-prone. This actor eliminates that burden by running in the cloud on the Apify platform, where it can be scheduled, integrated with webhooks, or chained with other actors. Whether you are conducting market research, building a knowledge base, monitoring package ecosystems, or feeding data into an analytics pipeline, this actor gives you structured, ready-to-use JSON output with zero browser overhead. It uses lightweight HTTP requests instead of a full browser, which makes it fast and cost-effective.
Input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
searchQuery | string | Yes | "web scraping" | The search term to use when querying the API. |
maxResults | integer | No | 100 | Maximum number of results to return (1 to 1000). |
Output data
Each item in the output dataset contains the following fields:
- name - The npm package name.
- version - Latest published version string.
- description - Short package description.
- publishDate - ISO date of last publish.
- publisher - npm username of the publisher.
- npmUrl - Direct URL to the npm package page.
- keywords - Comma-separated list of package keywords.
All string fields are null-checked; missing values are stored as null rather than undefined.
Example output
{"name": "crawlee","version": "3.11.5","description": "A web scraping and browser automation library","publishDate": "2024-01-15T10:30:00.000Z","publisher": "apify","npmUrl": "https://www.npmjs.com/package/crawlee","keywords": "scraping, crawling, automation"}
Pricing
This actor is priced on a usage basis:
- $0.01 per result returned in the dataset.
- $0.005 per actor start (fixed platform fee).
For example, scraping 500 results would cost approximately $5.005. Apify provides free monthly credits for new users, so you can try the actor at no charge.
More scrapers from brave_paradise
Check out other useful scrapers built by brave_paradise:
Visit the brave_paradise profile on Apify to see the full catalogue of actors.