{"uid":"cap_EkMt0QLpv1o6B84_L3R87","slug":"license-intel-compare-two-spdx-licenses-side-by-side-72cbb20d","name":"License Intel - Compare Two SPDX Licenses Side by Side","description":"Compare two open-source licenses side by side: what each permits, requires and disclaims, and which is stricter.","url":"https://license-intel.x402tookit.com/license-compare?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","description":"First SPDX license id, for example MIT"},"b":{"type":"string","description":"Second SPDX license id, for example GPL-3.0"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"a":{"type":["null","object"],"properties":{"id":{"type":["null","string"]},"title":{"type":["null","string"]},"family":{"type":["null","string"]}}},"b":{"type":["null","object"],"properties":{"id":{"type":["null","string"]},"title":{"type":["null","string"]},"family":{"type":["null","string"]}}},"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"stricter":{"type":["null","string"]},"conditions":{"type":["null","object"],"properties":{"onlyA":{"type":["array","null"]},"onlyB":{"type":["array","null"],"items":{"type":"string"}},"shared":{"type":["array","null"],"items":{"type":"string"}}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"limitations":{"type":["null","object"],"properties":{"onlyA":{"type":["array","null"]},"onlyB":{"type":["array","null"]},"shared":{"type":["array","null"],"items":{"type":"string"}}}},"permissions":{"type":["null","object"],"properties":{"onlyA":{"type":["array","null"]},"onlyB":{"type":["array","null"],"items":{"type":"string"}},"shared":{"type":["array","null"],"items":{"type":"string"}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3Ql6LrGU0G1OtkeFtmCTB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two open-source licenses by SPDX ID, returning what each permits, requires, and disclaims, plus which is stricter.","exampleAgentPrompt":"Can you compare the MIT and GPL-3.0 licenses side by side — what each one permits, requires, and disclaims, and which one is stricter?","exampleUseCases":[{"title":"Dependency license compatibility check","prompt":"I'm adding a dependency licensed under AGPL-3.0 to my MIT-licensed project — can you compare those two licenses and tell me what conflicts or extra obligations I'd take on?"},{"title":"Choosing between permissive licenses","prompt":"We're open-sourcing our library and debating between Apache-2.0 and BSD-2-Clause — can you compare them side by side, including what each requires and which is stricter?"},{"title":"Corporate OSS policy compliance","prompt":"Our legal team needs to know the differences between GPL-2.0 and GPL-3.0 — what conditions are unique to each, what they share, and which is the stricter of the two?"}],"resultDescription":"Returns structured data for both licenses including their SPDX id, title, and family; a permissions/conditions/limitations breakdown showing what each license uniquely requires or shares; a 'stricter' field identifying the more restrictive license; a plain-language summary and list of reasons; a verdict; and optional disclaimer, attribution, and degraded/notChecked flags.","failureModes":["Unknown SPDX ID returns null fields or an error for that license slot","Deprecated or non-standard SPDX identifiers may not resolve correctly","Degraded flag set to true if comparison data is incomplete","Missing required query params 'a' or 'b' returns a 400-level error","Network timeout or upstream SPDX data unavailability may result in partial response"],"whenToPreferThis":"Use this endpoint when you need a structured, machine-readable side-by-side comparison of exactly two licenses by SPDX ID, including which is stricter and where they differ in permissions, conditions, and limitations. Prefer this over the plain-language checklist endpoint when you need differential analysis rather than a standalone summary, and over the classify endpoint when you need more than just a strength tier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:34:50.208Z","isFirstParty":false,"canonicalSlug":"license-intel-compare-two-spdx-licenses-side-by-side-72cbb20d"}