npm Scraper — AI/LLM SDKs (OpenAI, LangChain) | $1/1K
Pricing
from $1.00 / 1,000 npm scraper — ai/llm sdks (openai, langchain) | $1/1ks
npm Scraper — AI/LLM SDKs (OpenAI, LangChain) | $1/1K
Scrape npm metadata, versions and download stats for AI/LLM SDK packages — openai, langchain, @anthropic-ai/sdk, ollama — via the official npm Registry JSON API. No proxy, no auth. Returns version, license, dependency count, downloads-last-month, parse_confidence per package.
Pricing
from $1.00 / 1,000 npm scraper — ai/llm sdks (openai, langchain) | $1/1ks
Rating
0.0
(0)
Developer
Vitalii Bondarev
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
npm Package Scraper — AI/LLM SDKs (OpenAI, LangChain, Anthropic) | $1/1K No Auth
Used by JS/TS AI-tooling developers, developer-tooling teams auditing dependency versions, and AI agents that need package metadata mid-conversation.
Scrape npm registry metadata, versions, and download statistics for AI/LLM SDK packages — openai, langchain, @anthropic-ai/sdk, ollama — via the official npm Registry JSON API. The openai, langchain, @anthropic-ai/sdk, and ollama packages are verified on npmjs.com. No proxy, no authentication, no HTML parsing. The registry exposes structured JSON endpoints that return the complete package graph.
What you get per package
| Field | Example |
|---|---|
package_name | openai |
version_latest | 4.52.0 |
description | The official Node.js / Typescript library for the OpenAI API |
author | openai |
license | Apache-2.0 |
homepage | https://github.com/openai/openai-node |
repository_url | https://github.com/openai/openai-node.git |
keywords | openai |
dependencies_count | 12 |
downloads_last_month | 10408593 |
modified | 2026-05-29T18:04:30.838Z |
created | 2020-10-26T17:46:21.942Z |
parse_confidence | 1.0 |
warnings | [] |
Two modes
1. Package lookup (packageNames)
Direct registry fetch for exact package names. Returns full metadata including dependency count. Supports scoped packages (@anthropic-ai/sdk).
2. Search (searchQueries)
Keyword search across the npm registry. Returns top matching packages with embedded download stats. No extra API calls needed for downloads in search mode.
Why this actor beats HTML-scrapers
The official registry.npmjs.org JSON API is:
- Stable — documented, versioned, used by npm CLI itself since 2011
- Fast — no JavaScript rendering, direct JSON
- Zero-cost — no proxy needed, no auth
- Honest —
parse_confidence=1.0on every real package (JSON fields, not fragile selectors)
HTML scrapers of npmjs.com break on every layout change. This actor will never silently return empty results — the parse_confidence field tells you immediately if something is wrong.
Input
{"packageNames": ["openai", "langchain", "@anthropic-ai/sdk", "ollama"],"searchQueries": ["llm sdk", "prompt engineering"],"maxItems": 100,"includeDownloads": true}
| Field | Type | Default | Description |
|---|---|---|---|
packageNames | list | [] | Package names to look up directly |
searchQueries | list | [] | Search keywords |
maxItems | int | 50 | Max total results (0 = unlimited) |
includeDownloads | bool | true | Fetch last-month download stats |
searchSize | int | 20 | Results per search query (max 250) |
Pricing examples
| Run | Items | Cost |
|---|---|---|
| 10 packages (direct lookup) | 10 | ~$0.01 |
| 100 packages | 100 | ~$0.10 |
| 1,000 packages | 1,000 | ~$1.00 |
| Search "llm sdk" — top 50 results | 50 | ~$0.05 |
You only pay for package records pushed. No surcharge for download stats or search runs.
FAQ
Do I need an API key or proxy? No. The npm Registry and downloads API are fully public. Zero proxy cost for buyers.
What is the difference between packageNames and searchQueries?
packageNames fetches exact package metadata by name (e.g. openai, @anthropic-ai/sdk) — fastest, most complete data. searchQueries performs keyword discovery (e.g. "llm sdk") and returns top-matching packages — useful for market research.
Can I monitor a list of packages for version changes?
Yes. Schedule daily runs on your package list and compare version_latest between runs. Cheaper than Dependabot for large custom lists and requires no repo access.
What if a package isn't found?
The actor logs a warning, skips it, and continues. Missing packages appear in the OUTPUT key-value store under failedDetails.
Pricing
Pricing: $1.00 per 1,000 packages. No compute surcharge for search runs.
Why this actor beats HTML-scrapers (named comparison)
| This actor | Any HTML npm scraper | npmjs.com UI | |
|---|---|---|---|
| API stability | Official registry API since 2011 | Breaks on layout change | Manual |
| Batch input | Yes (any list size) | No | No |
| Download stats | Yes (last month) | No | No |
| Scoped packages | Yes (@anthropic-ai/sdk) | Sometimes | Manual |
parse_confidence | Yes | No | — |
Version monitoring
Scheduled runs on a list of packages alert you when version_latest changes — dependency update automation without Dependabot. Run daily, pay only for what changes.
Use cases
- Competitor package research (who has more downloads, what license)
- Dependency audit across a list of package names
- Building npm package databases or dashboards
- Monitoring a set of packages for version changes
- Search-based discovery of packages for a topic
Notes
- Not affiliated with npm, Inc. or GitHub. Uses only public APIs with no rate-limit tricks.
- Download stats from
api.npmjs.orgcover the previous calendar month. For search mode, weekly+monthly stats are embedded in the search result — no extra API call. - Scoped packages (e.g.
@anthropic-ai/sdk) are supported. - The
parse_confidencefield is always 1.0 for a valid JSON API response. A sub-1.0 score means a field was missing from the API response — checkwarningsfor the reason.
Use with AI agents (MCP)
This actor is callable as a tool by AI agents (Claude Desktop, Cursor, VS Code, n8n, LangGraph, CrewAI, or any MCP-compatible client) via Apify's hosted Model Context Protocol server. An agent uses it to look up npm package metadata, version history, download counts, and dependency info mid-conversation — e.g. "what version of langchain is current and how many weekly downloads does it have?" or "compare the license and dep count of openai vs @anthropic-ai/sdk".
Point your MCP client at this single tool:
{"mcpServers": {"apify": {"command": "npx","args": ["mcp-remote","https://mcp.apify.com/?tools=bovi/npm-registry-scraper-ai-ml","--header","Authorization: Bearer <YOUR_APIFY_TOKEN>"]}}}
Minimal call an agent can make:
{ "packageNames": ["openai", "langchain"] }
Example output row the agent receives (flat, agent-friendly):
{ "package_name": "openai", "version_latest": "4.52.0", "description": "The official Node.js / Typescript library for the OpenAI API","author": "openai", "license": "Apache-2.0", "downloads_last_month": 10408593,"dependencies_count": 12, "keywords": "openai", "homepage": "https://github.com/openai/openai-node","repository_url": "https://github.com/openai/openai-node.git","modified": "2026-05-29T18:04:30.838Z", "parse_confidence": 1.0, "warnings": [] }
Reliability for agents: data comes from the official registry.npmjs.org JSON API — the same source the npm CLI uses since 2011. No HTML scraping, no proxy needed. parse_confidence reflects whether any expected fields were absent from the API response (1.0 = fully populated). No API key needed inside the tool — auth is your Apify token in the client config above.
Integrations
Built for DevSecOps and developer-tooling teams auditing package versions, downloads, and dependency graphs — the JSON/dataset output drops into the tools you already run, no glue code:
- n8n / Make / Zapier — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: n8n, Make, Zapier.
- Webhooks — fire your own endpoint the moment a run finishes, to push results straight into your pipeline (docs).
- MCP server — expose this actor as a tool to Claude, Cursor, or any MCP client so an AI agent can pull this data mid-conversation (guide).
- API & SDKs — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.
See all Apify integrations.