Free, open API. No auth required. 200 requests/minute. JSON responses.
Base URL: https://depscope.dev
Auth: None required. Just call it.
Rate Limit: 200 req/min per IP
Format: JSON (UTF-8)
/api/check/{ecosystem}/{package}Full package intelligence: health score, vulnerabilities, versions, recommendation.
Parameters
ecosystemstringnpm, pypi, or cargopackagestringPackage name (supports scoped: @org/pkg)versionquery stringOptional: specific version to checkcurl https://depscope.dev/api/check/npm/express/api/latest/{ecosystem}/{package}Get latest version only. Ultra-fast, cached response.
Parameters
ecosystemstringnpm, pypi, or cargopackagestringPackage namecurl https://depscope.dev/api/latest/npm/express/api/exists/{ecosystem}/{package}Check if a package exists in the registry. Returns true/false.
Parameters
ecosystemstringnpm, pypi, or cargopackagestringPackage namecurl https://depscope.dev/api/exists/pypi/django/api/health/{ecosystem}/{package}Quick health score only (0-100).
curl https://depscope.dev/api/health/pypi/fastapi/api/vulns/{ecosystem}/{package}Known vulnerabilities from OSV database.
curl https://depscope.dev/api/vulns/npm/lodash/api/versions/{ecosystem}/{package}Version history and latest version info.
curl https://depscope.dev/api/versions/cargo/serde/api/search/{ecosystem}Search packages by keyword within an ecosystem.
Parameters
ecosystemstringnpm, pypi, or cargoqquery stringSearch keywordcurl https://depscope.dev/api/search/npm?q=http/api/alternatives/{ecosystem}/{package}Get recommended alternatives for a package (especially useful for deprecated ones).
Parameters
ecosystemstringnpm, pypi, or cargopackagestringPackage namecurl https://depscope.dev/api/alternatives/npm/request/api/compare/{ecosystem}/{pkg1},{pkg2},{pkg3}Compare multiple packages side by side (2-10 packages).
curl https://depscope.dev/api/compare/npm/express,fastify,hono/api/scanAudit an entire project's dependencies at once (max 100 packages).
curl -X POST https://depscope.dev/api/scan -H "Content-Type: application/json" -d '{"ecosystem":"npm","packages":{"express":"^4.0","lodash":"^4.17"}}'/api/nowCurrent UTC date/time. Useful for agents to check server time.
curl https://depscope.dev/api/now/api/statsPublic usage statistics and trending packages.
curl https://depscope.dev/api/statsEmbed health score badges in your README, docs, or website. Returns SVG images with color-coded scores.
/badge/{ecosystem}/{package}Health score badge (SVG). Embed in README or docs. Shows score 0-100 with color coding.
curl:
curl https://depscope.dev/badge/npm/expressMarkdown (README):
HTML:
<img src="https://depscope.dev/badge/npm/express" alt="DepScope health score">/badge/score/{ecosystem}/{package}Score-only badge variant (compact). Same SVG format, minimal style.
curl:
curl https://depscope.dev/badge/score/pypi/djangoMarkdown (README):
HTML:
<img src="https://depscope.dev/badge/score/pypi/django" alt="DepScope score">The health score (0-100) is calculated algorithmically from multiple signals:
DepScope is designed to be called by AI agents before they suggest installing any package. The API returns structured JSON that any agent can parse.
ChatGPT / OpenAI Actions:
https://depscope.dev/.well-known/ai-plugin.jsonOpenAPI spec:
https://depscope.dev/openapi.jsonInteractive docs (Swagger):
https://depscope.dev/docs