📦

PKGS

pkgs.4bots.ai

Package registry lookup across 8 ecosystems. One endpoint, normalized metadata and vulnerability data — so your agent doesn't have to know npm's JSON vs PyPI's JSON vs crates.io's JSON.

Live Free — 10/day 8 Ecosystems x402 Native MCP Compatible

Eight registries. One schema.

Your agent needs package metadata. Normally that means knowing the different URL patterns, auth requirements, and JSON shapes of 8 different registries — plus a separate vulnerability lookup. PKGS does it all in one call.

📋 Unified schema

NPM, PyPI, crates, RubyGems, Packagist, Go, NuGet, Maven — all return the same JSON shape. Your agent never needs ecosystem-specific parsing logic.

🔍 OSV vulnerability data

Paid tier includes vulnerability lookups via OSV.dev. Know if a package has known CVEs before your agent installs it.

⚡ Smart caching

24-hour cache on every lookup. Same package requested 100 times = 1 upstream API call. No rate limit surprises.

🔒 Name sanitization

Per-ecosystem normalization and security hardening. SSRF protection, input validation, and per-ecosystem timeouts.

All 8 major registries. One call.

Every ecosystem is keyless for reads — no API keys needed, no auth management. We handle the HTTP calls, parsing, and normalization.

🟢 npm

Node.js packages. registry.npmjs.org

🐍 PyPI

Python packages. pypi.org

🦀 crates.io

Rust packages. crates.io

💎 RubyGems

Ruby gems. rubygems.org

🐘 Packagist

PHP packages. packagist.org

🐹 Go

Go modules. go.dev proxy

🦆 NuGet

.NET packages. nuget.org

☕ Maven

Java/Kotlin packages. search.maven.org

One endpoint. Eight ecosystems.

GET /v1/free/pkg?ecosystem=&package=...

Look up package metadata. Free tier: 10/day/IP, basic metadata only.

curl "https://pkgs.4bots.ai/v1/free/pkg?ecosystem=npm&package=express"

Example response:

{
  "ecosystem": "npm",
  "package": "express",
  "version": "4.18.2",
  "description": "Fast, unopinionated, minimalist web framework",
  "license": "MIT",
  "homepage": "https://expressjs.com",
  "repository": "https://github.com/expressjs/express",
  "downloads_last_month": 22000000,
  "cached": false,
  "free_remaining": 7
}

GET /v1/paid/pkg?ecosystem=&package=...

Paid tier: full metadata + OSV vulnerability data. $0.002/lookup.

curl "https://pkgs.4bots.ai/v1/paid/pkg?ecosystem=pypi&package=requests"

Same schema. Extra fields: dependencies, OSV vulnerability list.

GET /health

Health check. Always free, always returns 200.

curl "https://pkgs.4bots.ai/health"

Free to try. Pennies to scale.

10 free lookups per day covers development and light agent workloads. Paid tier unlocks full metadata and vulnerability data.

Free
$0 / month
No wallet required
  • 10 lookups / day
  • All 8 ecosystems
  • Basic metadata (version, license, description)
  • 24-hour cache
  • JSON output
Paid
$0.002 / lookup
via x402 USDC on Base
  • Unlimited lookups
  • All 8 ecosystems
  • Full metadata (dependencies, homepage, repository)
  • OSV vulnerability data
  • Same consistent JSON schema

Look up a package now.

No signup. No API key. Just send a request.

How x402 works