{"openapi":"3.1.0","info":{"title":"Open-source license compatibility checker (SPDX IDs and expressions, both directions, with clause citations)","version":"0.1.0","description":"Send 2 to 6 SPDX license IDs or expressions (AND, OR, WITH exceptions, or-later) and an optional use context; get, for each pair and each direction (code under A included into a project under B, and the reverse), compatible / conditional / incompatible, the obligations that apply (attribution, NOTICE, source disclosure, same-license, patent grant and termination, AGPL network clause, state changes, relinking), and the exact license-text clause each one rests on. Covers MIT, BSD-2-Clause, BSD-3-Clause, ISC, Zlib, Unlicense, CC0-1.0, Apache-2.0, MPL-2.0, EPL-2.0, CDDL-1.0, LGPL-2.1-only, LGPL-3.0-only, GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later, AGPL-3.0-or-later and deprecated SPDX IDs. Built on an SPDX license list snapshot (2026-11-25, 745 licenses) and a curated matrix. Free public data only. Read-only; no outbound requests. This report is informational and is not legal advice. The verdicts come from a curated compatibility matrix that reads the license texts and widely used community positions (for example the FSF and Apache Software Foundation views on Apache-2.0 and GPL). Courts have not settled every case, and some answers depend on facts we cannot see: how the code is combined, what the copyright holders have added, which other terms apply. Where a position is contested the report says so. Ask a lawyer before shipping a product on the strength of it.","termsOfService":"https://ordstirr.com/agents/terms"},"servers":[{"url":"https://licensecheck.ordstirr.com"}],"paths":{"/v1/check":{"post":{"summary":"License compatibility for 2 to 6 SPDX licenses or expressions: per direction compatible / conditional / incompatible with obligations and the exact clauses they rest on. Informational, not legal advice. Empty or invalid input, and input where no license can be assessed, is not charged. Price: $0.005 USDC per call.","x-payment-info":{"protocol":"x402","price":{"amount":"0.005","currency":"USD","asset":"USDC","atomic":"5000"},"network":"eip155:8453","pay_to":"0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6"},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["licenses"],"properties":{"licenses":{"type":"array","minItems":2,"maxItems":6,"items":{"type":"string","minLength":1,"maxLength":300},"description":"2 to 6 SPDX license IDs or SPDX expressions (AND, OR, WITH, parentheses, \"+\"). Case and deprecated IDs are normalised."},"context":{"type":"string","maxLength":500,"description":"Optional plain-English use context, e.g. \"combine into a distributed binary\", \"SaaS / network use\", \"dynamic linking\", \"we modify the library\". Keywords are read; structured \"use\" wins over text."},"use":{"type":"object","additionalProperties":false,"description":"Optional structured use context.","properties":{"distribution":{"enum":["distributed","network_service","internal_only"],"description":"distributed = you convey copies to others; network_service = hosted/SaaS only; internal_only = never leaves your organization."},"linking":{"enum":["source_copy","static","dynamic","separate_process"],"description":"How the code is combined: copied into your source files, statically linked or merged into one program, dynamically linked, or a separate program (process, command line, network call)."},"modified":{"type":"boolean","description":"Whether you modify the incoming code."}}}}},"example":{"licenses":["Apache-2.0","GPL-2.0-or-later"],"context":"combine into a distributed binary"}}}},"responses":{"200":{"description":"Paid answer with a signed receipt.","content":{"application/json":{"example":{"found":true,"inputs":[{"index":0,"input":"Apache-2.0","normalized":"Apache-2.0","status":"supported","components":[{"id":"Apache-2.0","spdx_name":"Apache License 2.0","on_spdx_list":true,"supported":true,"means":["Apache-2.0"]}],"notes":[]},{"index":1,"input":"GPL-2.0-or-later","normalized":"GPL-2.0-or-later","status":"supported","components":[{"id":"GPL-2.0-or-later","spdx_name":"GNU General Public License v2.0 or later","on_spdx_list":true,"supported":true,"means":["GPL-2.0-only","GPL-3.0-only"]}],"notes":[]}],"context":{"distribution":"distributed","linking":"static","modified":null,"linking_assumed":true,"from":{"distribution":"context text","linking":"default","modified":"default"},"read_from_text":["distributed to others"]},"assumptions":["No linking style given: assumed one combined program (static linking or merged code, the strictest common case). The by_linking field shows how the answer changes for other styles."],"pairs":[{"a":0,"b":1,"a_expression":"Apache-2.0","b_expression":"GPL-2.0-or-later","a_into_b":{"direction":"code under Apache-2.0 included into a project under GPL-2.0-or-later","status":"conditional","position":"widely_held","summary":"Can be included in a project under GPL-2.0-or-later only if the combined work is distributed under GPL-3.0-only (not GPL-2.0-only): Apache-2.0 code can be included in a GPL-3.0-only project.","conditions":["Distribute the combined work only under GPL-3.0-only; do not offer it under GPL-2.0-only even though GPL-2.0-or-later would allow it (GPL-2.0 §9)."],"combined_work_license":"GPL-3.0-only","obligations":[{"kind":"license_text","applies":"yes","text":"Give every recipient a copy of the Apache License.","clause":"Apache-2.0 §4(a)","license":"Apache-2.0"},{"kind":"notice_file","applies":"yes","text":"If the work ships a NOTICE file, include a readable copy of its attribution notices in your distribution.","clause":"Apache-2.0 §4(d)","license":"Apache-2.0"}],"basis":[{"clause":"Apache-2.0 §3 (termination)","why":"Apache's patent license ends if you sue over the work; GPL-2.0 treats that as a further restriction"}],"notes":["Under GPL-2.0-only: Apache-2.0 code cannot be combined into a GPL-2.0-only project."]},"b_into_a":{"direction":"code under GPL-2.0-or-later included into a project under Apache-2.0","status":"incompatible","position":"widely_held","summary":"GPL-2.0-only code cannot go into a project that stays under Apache-2.0: GPL-2.0-only needs the whole combined work under GPL-2.0-only.","obligations":[],"basis":[{"clause":"GPL-2.0 §2(b)","why":"GPL-2.0-only requires the whole combined work to be licensed under GPL-2.0-only"}]}}],"clauses":{"Apache-2.0 §3 (termination)":{"license":"Apache-2.0","spdx_text":"Apache-2.0","section":"§3 (termination)","quote":"If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed."}},"summary_counts":{"assessed_directions":2,"uncertain_directions":0},"spdx_list":{"version":"4103e93","release_date":"2026-11-25T00:00:00Z","licenses":745,"exceptions":86},"notes":["Verdicts are curated positions built on the license texts; where a position is contested the verdict says so (position: contested)."],"disclaimer":"This report is informational and is not legal advice. The verdicts come from a curated compatibility matrix that reads the license texts and widely used community positions (for example the FSF and Apache Software Foundation views on Apache-2.0 and GPL). Courts have not settled every case, and some answers depend on facts we cannot see: how the code is combined, what the copyright holders have added, which other terms apply. Where a position is contested the report says so. Ask a lawyer before shipping a product on the strength of it.","rules_version":"2026-12-02.1","checked_at":"2026-12-02T18:00:00.000Z","latency_ms":2,"terms_url":"https://ordstirr.com/agents/terms","notice":"Informational only, not legal advice. Compatibility verdicts come from a curated matrix (rules 2026-12-02.1) built on the SPDX license texts. Review with a lawyer before relying on it."}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required. The PAYMENT-REQUIRED header and resource.description state the price."},"404":{"description":"Lookup found nothing. Not charged."},"429":{"description":"Rate limited. Not charged."},"503":{"description":"Our side failed (or payments not configured). Not charged."}}}}}}