{"uid":"cap_wERCT3RNtsHGxEF8cGzrD","slug":"stack-facts-license-compatibility-check-45dbf2b8","name":"Stack Facts License Compatibility Check","description":"Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.","url":"https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/license/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"use":{"enum":["distribute","saas","internal"],"type":"string"},"items":{"type":"array","items":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"object","properties":{"name":{"type":"string","maxLength":200},"purl":{"type":"string","maxLength":512},"license":{"type":"string","maxLength":200},"version":{"type":"string","maxLength":200},"ecosystem":{"type":"string","maxLength":200}},"additionalProperties":false}]},"maxItems":20,"minItems":1},"project_license":{"type":"string","maxLength":200}}},"responseSchema":{"type":"json","example":{"data":{"project":{"use":"distribute","class":"permissive","license":"Apache-2.0"},"results":[{"class":"permissive","input":"MIT","chosen":"MIT","licence":{},"package":null,"reasons":[],"verdict":"compatible","obligations":["Keep the copyright and licence …"]}],"summary":{"items":3,"unknown":0,"compatible":2,"conditions":0,"incompatible":1},"verdict":"incompatible"},"meta":{"stale":false,"notice":"Normalised (modified) from the …","dataset":"license","licences":"/licences","attribution":"Licence ids and names from the …","rules_version":"2026-10-12","spdx_list_version":"3.29.0"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CdsZn0qazgBhxCfHRgpx-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether open-source package licenses are compatible with a project's license and intended use case (distribute, SaaS, or internal), returning verdicts and obligations per package.","exampleAgentPrompt":"Check if the licenses for express (MIT), lodash (MIT), and gpl-3.0-licensed code are compatible with my Apache-2.0 project that I plan to distribute publicly.","exampleUseCases":[{"title":"Pre-release license compliance audit","prompt":"I'm about to release my Apache-2.0 SaaS product. Can you check whether these dependencies — react (MIT), moment (MIT), and ffmpeg (GPL-2.0) — are compatible with my project license for SaaS distribution?"},{"title":"Internal tooling legal check","prompt":"We're building an internal tool at work and want to use some open-source packages. Check if lodash (MIT), chalk (ISC), and a GPL-3.0 library are okay to use for internal use only under our MIT project license."},{"title":"Open source project dependency vetting","prompt":"For my new open-source project licensed under BSD-2-Clause that I'm distributing publicly, can you validate whether these packages are license-compatible: axios (MIT), webpack (MIT), and node-sass (MIT)?"}],"resultDescription":"Returns a per-package verdict (compatible/incompatible/unknown), the normalized license identifier chosen, license class (permissive/copyleft/etc.), obligations (e.g. keep copyright notices), and a project-level summary with counts of compatible, incompatible, and unknown items. Also includes metadata about dataset freshness, SPDX list version, and rules version.","failureModes":["Unknown or unrecognized license identifiers return 'unknown' verdict with no obligations","More than 20 items in the items array will be rejected by schema validation","Malformed PURL strings may cause item-level errors","Payment in USDC not received causes 402 response and no data returned","Ambiguous package names without ecosystem context may return incorrect license data"],"whenToPreferThis":"Choose this endpoint when you need automated, per-call license compatibility checking without setting up an account or API key, especially in agent workflows that process dependency lists before install or release. It's ideal for pay-as-you-go compliance checks that need to distinguish between distribute, SaaS, and internal use cases, with signed responses for auditability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:39:44.192Z","isFirstParty":false,"canonicalSlug":"stack-facts-license-compatibility-check-45dbf2b8"}