{"uid":"cap_nU7wCQYF56KmjBE_f5gJt","slug":"license-compatibility-checker-spdx-12e7696d","name":"License Compatibility Checker (SPDX)","description":"Pure-compute license-compatibility verdict, no network. Give a list of SPDX ids or one SPDX expression with AND, OR and WITH plus a target license and a distribution model, and get the matrix verdict of safe, attribution-required, copyleft-risk or incompatible with the obligation and reasons. Automated indicators, not legal advice.","url":"https://payai.agentstools.dev/license/compat","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"licenses":{"type":"array","items":{"type":"string"},"description":"SPDX ids to check"},"spdx_expr":{"type":"string","description":"An SPDX expression instead of a list"},"distribution":{"enum":["saas","binary","internal"],"type":"string","description":"How you ship it (default saas)"},"target_license":{"type":"string","description":"Your project SPDX license"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lep9XfUQ8JbD717kVSdG0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a compatibility verdict (safe, attribution-required, copyleft-risk, or incompatible) for one or more SPDX licenses against a target project license and distribution model, with obligations and reasons.","exampleAgentPrompt":"Check whether GPL-2.0-only and MIT are compatible with my Apache-2.0 project when distributed as a SaaS — give me the verdict, any obligations, and the reasons.","exampleUseCases":[{"title":"SaaS startup open source audit","prompt":"I'm building a SaaS product licensed under MIT. Check if GPL-3.0, LGPL-2.1, and Apache-2.0 are compatible with that, assuming SaaS distribution — tell me the verdict and any attribution or copyleft obligations for each."},{"title":"Binary release compliance check","prompt":"We're about to ship a binary release of our BSD-2-Clause project. Can you check whether including MPL-2.0 and CDDL-1.0 libraries is safe, and flag any copyleft risks or required notices?"},{"title":"Internal tool dependency vetting","prompt":"Our internal tool uses an AGPL-3.0 library — the tool is never distributed externally, just used inside the company. Is AGPL-3.0 compatible with our MIT codebase under an internal distribution model, and what obligations apply?"}],"resultDescription":"A structured verdict for each license or expression checked, classified as 'safe', 'attribution-required', 'copyleft-risk', or 'incompatible', along with the specific obligations (e.g. include copyright notice, provide source) and the reasoning behind the verdict. Results are automated indicators, not legal advice.","failureModes":["Invalid or unrecognized SPDX identifier returns an error","Both licenses and spdx_expr provided simultaneously may cause conflict","Missing required target_license parameter returns validation error","Malformed SPDX expression (unbalanced AND/OR/WITH) rejected with parse error","Unknown distribution model value outside enum returns 400"],"whenToPreferThis":"Choose this endpoint when you need a fast, offline-style (no external network calls) SPDX-based license compatibility check with explicit verdicts and obligation explanations. Ideal for CI/CD pipelines, dependency review bots, or agent workflows that need a structured, machine-readable verdict per license. Prefer the sibling manifest-based endpoint when checking an entire dependency list or parsed lockfile in bulk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:13:01.504Z","isFirstParty":false}