the402 endpoint detail

← All endpoints

2s.io security package

https://2s.io/api/security/package

answers 402

Security and provenance for an open-source package, composed live from three authoritative sources in one call. Pass ecosystem (npm, pypi, go, maven, cargo, nuget) + name (+ optional version; defaults to latest). Returns: known vulnerabilities from OSV (osv.dev — aggregates GitHub Security Advisories, PyPA, RustSec, Go vuln DB, etc.) each with its id, CVE aliases, summary, severity, and references

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.0054
Network
base
Pay to
0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
262 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:22:28.177Z (2h ago)
Category
search

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Fsecurity%2Fpackage"