Audit Python and npm dependencies for vulnerabilities
Audit exact Python/PyPI, npm, Go, Maven, NuGet, crates.io, or RubyGems dependencies against OSV and return affected packages and vulnerabilities.
$0.05 USDCBasex402 v2POST
Endpoint
https://apiacre.com/v1/developer/dependency-auditSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Input example
{
"ecosystem": "PyPI",
"dependencies": [
{
"name": "requests",
"version": "2.32.3"
}
]
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "developer.dependency-audit",
"version": "1",
"data": {
"ecosystem": "example",
"dependencies": [],
"vulnerabilityCount": 1,
"clean": true,
"findings": [],
"source": "example"
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/developer/dependency-audit' \
-H 'content-type: application/json' \
--data '{"ecosystem":"PyPI","dependencies":[{"name":"requests","version":"2.32.3"}]}'