{"slug":"code-halowerk-com-v1-license-compat-tree-b638ef","title":"Walk the production dependency tree of an npm package, collect SPDX licenses and","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/license-compat-tree","category":"code","description":"Walk the production dependency tree of an npm package, collect SPDX licenses and flag those incompatible with your target license. Resolves the package version and its production dependencies breadth-first through the npm registry (semver ranges resolved to the highest matching published version, up","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":894,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"name":"express","target_license":"proprietary","version":"4.21.2"},"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":{"max_packages":{"default":60,"maximum":80,"minimum":1,"type":"integer"},"name":{"maxLength":214,"minLength":1,"type":"string"},"target_license":{"enum":["MIT","Apache-2.0","BSD-3-Clause","proprietary","GPL-3.0"],"type":"string"},"version":{"default":"latest","maxLength":60,"type":"string"}},"required":["name","target_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.003,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":920,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":897,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":912,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":889,"error":null}],"description_full":"Walk the production dependency tree of an npm package, collect SPDX licenses and flag those incompatible with your target license. Resolves the package version and its production dependencies breadth-first through the npm registry (semver ranges resolved to the highest matching published version, up to 80 packages), reads each declared SPDX license expression and classifies it as permissive, weak copyleft, strong copyleft, network copyleft or unknown.","last_updated":"2026-11-20T12:57:48.341Z","schemes":["exact"]}