payai.agentstools.dev/license/scan
License-compliance verdict for a whole dependency list or parsed manifest in one call. Accepts name-at-version strings, a parsed package.json, a requirements.txt list or go.mod imports, resolves each declared SPDX license, and returns a per-dependency plus aggregate verdict with the worst copyleft contamination point. Automated indicators, not legal advice.
POST
https://payai.agentstools.dev/license/scanUptime100% of 1 check in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://payai.agentstools.dev/license/scan" \
-d '{"ecosystem":"npm","dependencies":["express@4.18.2","left-pad@1.3.0"],"distribution":"binary","target_license":"Apache-2.0"}'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{
"ecosystem": "npm",
"dependencies": [
"express@4.18.2",
"left-pad@1.3.0"
],
"distribution": "binary",
"target_license": "Apache-2.0"
}