Dollar Hunter - NPM Package Search & Info avatar

Dollar Hunter - NPM Package Search & Info

Pricing

from $0.00005 / actor start

Go to Apify Store
Dollar Hunter - NPM Package Search & Info

Dollar Hunter - NPM Package Search & Info

Search and get detailed info on NPM packages. Search by keyword, get package metadata, dependencies, download counts, and maintainer info. No API key required.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Jonatan J. Martinez Collymoore

Jonatan J. Martinez Collymoore

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

NPM Package Search & Download Stats

Search, inspect, and analyze NPM packages with zero configuration. Get package metadata, dependency trees, download statistics, and maintainer insights. No API key or login required — works directly with the public NPM Registry API.

Features

ModeWhat it doesOutput
🔍 searchFind packages by keyword with NPM scoringName, version, description, score (popularity/quality/maintenance), keywords, author, publisher, maintainers, repo URL
📋 package_infoFull metadata for any packageVersion, license, dependencies/devDependencies/peerDependencies, maintainers, readme excerpt, creation/modified dates, all versions, dist-tags
📊 downloadsDownload statisticsWeekly downloads, daily average, monthly estimate
🔁 Auto-retry3 retries with exponential backoffReliable even during API rate limits
ProfilingBuilt-in timingLogs elapsed time per run

Input

FieldTypeDefaultDescription
modestring (select)searchOperation mode: search, package_info, or downloads
querystringreactSearch keyword (search mode) or exact package name (other modes)
maxResultsinteger25Max packages to return (1–100). Search mode only.

Example Inputs

Search for web frameworks:

{
"mode": "search",
"query": "web framework",
"maxResults": 10
}

Get full info on lodash:

{
"mode": "package_info",
"query": "lodash"
}

Get download stats for express:

{
"mode": "downloads",
"query": "express"
}

Output Schema

Each run produces a dataset with the following structure:

{
"mode": "search",
"query": "web framework",
"maxResults": 10,
"totalResults": 10,
"results": [
{
"name": "express",
"version": "4.21.0",
"description": "Fast, unopinionated, minimalist web framework...",
"url": "https://www.npmjs.com/package/express",
"homepage": "http://expressjs.com/",
"repository": "git+https://github.com/expressjs/express.git",
"author": "...",
"publisher": "...",
"maintainers": ["...", "..."],
"keywords": ["web", "framework", "http", "..."],
"date": "2024-08-15T...",
"score": { "final": 0.9, "popularity": 0.9, "quality": 0.8, "maintenance": 0.9 },
...
}
]
}

Use Cases

Use CaseDescription
🛠 Developer Tools ResearchFind the best packages by NPM quality/popularity scores for your next project
🔒 Dependency AuditsInspect dependency trees and maintainers for security reviews
📈 Market IntelligenceTrack download trends and popularity of competing packages
🤖 AI / ML Training DataCurate package metadata datasets for training code-aware models
📋 License ComplianceCheck licenses across package ecosystems
🏗 Migration PlanningCompare alternatives before switching dependencies

FAQ

Q: Do I need an NPM API key or token? A: No. This actor uses the public NPM Registry API which requires no authentication.

Q: What rate limits apply? A: The NPM Registry API allows ~200 requests/min from a single IP. The actor includes automatic retry with exponential backoff.

Q: Can I get download stats for multiple packages? A: Run the actor once per package in downloads mode, or use search to discover packages then batch runs programmatically.

Q: How fresh is the data? A: Results come directly from the live NPM Registry API in real-time — no caching layer.

Q: Does the actor work with scoped packages? A: Yes. Use the full package name including scope (e.g. @angular/core, @nestjs/common).

Pricing

Pay per event — estimated cost:

ModeTypical cost per run
search (10 results)~$0.001
search (100 results)~$0.005
package_info~$0.001
downloads~$0.001

You only pay for successful runs.

Changelog

  • v2.0 — Automatic retry with exponential backoff, console profiling, input validation, richer package_info output (versions, dist-tags)
  • v1.0 — Initial release (search, package_info, downloads modes)