{"slug":"code-halowerk-com-v1-license-headers-f0c81a","title":"Check source files for license headers","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/license-headers","category":"code","description":"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","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1173,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"bundle_base64":{"maxLength":250000,"minLength":24,"type":"string"},"copyright_holder":{"maxLength":200,"minLength":1,"type":"string"},"exclude":{"items":{"maxLength":200,"minLength":1,"type":"string"},"maxItems":50,"type":"array"},"expected_license":{"maxLength":200,"minLength":2,"type":"string"},"files":{"items":{"additionalProperties":false,"properties":{"content":{"maxLength":100000,"type":"string"},"path":{"maxLength":500,"minLength":1,"type":"string"}},"required":["path","content"],"type":"object"},"maxItems":300,"minItems":1,"type":"array"},"include":{"items":{"maxLength":200,"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"max_files":{"default":1000,"maximum":3000,"minimum":1,"type":"integer"},"max_header_lines":{"default":25,"maximum":100,"minimum":3,"type":"integer"},"ref":{"maxLength":200,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._/-]*$","type":"string"},"repo_url":{"maxLength":300,"minLength":12,"pattern":"^https://\\S+$","type":"string"},"require_copyright":{"default":true,"type":"boolean"}},"required":["expected_license"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1167,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1219,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1204,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1173,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1151,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1171,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1176,"error":null}],"description_full":"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).","last_updated":"2026-11-20T12:57:52.372Z","schemes":["exact"]}