{"uid":"cap__w11yqJUti5zUCqmYbKGW","slug":"license-compatibility-checker-spdx-0a8c4d92","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://api.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_OIi6aXushtg1TSKY1o3T2","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 a set of SPDX license identifiers or expression against a target project license and distribution model, with obligations and reasons.","exampleAgentPrompt":"Check whether combining MIT, Apache-2.0, and GPL-3.0 dependencies is compatible with my project licensed under GPL-3.0, distributed as SaaS — give me the verdict and any obligations I need to know about.","exampleUseCases":null,"resultDescription":"A JSON object containing a compatibility verdict (one of: safe, attribution-required, copyleft-risk, incompatible), the specific obligations triggered (e.g. attribution notices, source disclosure), and a human-readable explanation of why each license combination results in that verdict. Explicitly noted as automated indicators, not legal advice.","failureModes":["Invalid or unrecognized SPDX identifier returns an error indicating the unknown license","Malformed SPDX expression syntax causes a parse error response","Missing required target_license parameter results in a 400 bad request","Unknown distribution model value (not saas/binary/internal) triggers validation error","Conflicting or ambiguous SPDX WITH operator usage may produce an incompatible verdict with an explanation"],"whenToPreferThis":"Use this endpoint when you need a fast, pure-compute license compatibility check against SPDX-standardized identifiers without any network round-trips to external registries. Prefer it over manual legal review when you need automated pipeline integration, dependency auditing, or quick compatibility screening for open source projects. Ideal for CI/CD workflows, agent-based code review, or any situation where you need a structured machine-readable verdict with obligations rather than a narrative legal opinion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:04:57.150Z","isFirstParty":false}