Overview
Check source files for license headers: SPDX-License-Identifier against the expected SPDX expression, classic license notices, copyright lines; suggests headers per language. Reads the first lines of every source file (inline files, or up to 3000 files of a public repository or git bundle; languages and comment syntax from the scc language table, data and prose formats skipped).
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"expected_license": "MIT",
"files": [
{
"content": "// SPDX-License-Identifier: MIT\n// Copyright (c) 2026 Acme\nexport const a = 1;\n",
"path": "src/a.js"
},
{
"content": "import os\n",
"path": "src/b.py"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Header detection is text based; license compatibility of dependencies is not assessed."
],
"result": {
"expected_license": "MIT",
"files": [
{
"copyright": {
"present": true,
"years": [
2026
]
},
"language": "JavaScript",
"path": "src/a.js",
"spdx": "MIT",
"status": "ok"
},
{
"copyright": {
"present": false
},
"copyright_missing": true,
"language": "Python",
"path": "src/b.py",
"status": "missing"
}
],
"suggested_headers": {
"Python": "# SPDX-License-Identifier: MIT\n# SPDX-FileCopyrightText: 2026 <copyright holder>\n"
},
"summary": {
"checked": 2,
"copyright_missing": 1,
"invalid_spdx": 0,
"mismatch": 0,
"missing": 1,
"ok": 1,
"ok_notice": 0,
"skipped": 0
}
},
"service": "license-headers",
"status": "success"
},
"type": "json"
}