{"uid":"cap_26cXsNr3PANdQtoZhEpkk","slug":"api-strale-io-ed91cef9","name":"License Compatibility Checker","description":"Check software license compatibility for a given use case","url":"https://api.strale.io/x402/license-compatibility-check?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["licenses"],"properties":{"licenses":{"type":"array","items":{"type":"string"},"description":"SPDX license identifiers"},"use_case":{"type":"string","description":"commercial, open-source, saas, internal"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"licenses":["MIT","Apache-2.0","GPL-3.0"],"use_case":"commercial"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xc447fd1371e1f6cac540ce9d9a5d702a056dde042f5fb44f1079bc404124302c"},"capability":"license-compatibility-check","latency_ms":0,"provenance":{"source":"SPDX license database (algorithmic analysis)","fetched_at":"2026-06-13T04:25:51.119Z"}},"summary":"1 compatibility conflict(s) found for commercial use. Strong copyleft licenses detected.","use_case":"commercial","warnings":[],"conflicts":[{"reason":"GPL-3.0-only is strong copyleft — requires distributing your source code under the same license. Incompatible with proprietary commercial distribution.","licenses":["GPL-3.0-only"],"severity":"error"}],"compatible":false,"license_count":3,"licenses_analyzed":[{"type":"permissive","input":"MIT","spdx_id":"MIT","osi_approved":true,"compatible_with_use_case":true},{"type":"permissive","input":"Apache-2.0","spdx_id":"Apache-2.0","osi_approved":true,"compatible_with_use_case":true},{"type":"strong_copyleft","input":"GPL-3.0","spdx_id":"GPL-3.0-only","osi_approved":true,"compatible_with_use_case":false}]}},"exampleRequest":{"licenses":["MIT","Apache-2.0","GPL-3.0"],"use_case":"commercial"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8-uI4HNPPkNBcPDRFOO2V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a set of software licenses (MIT, Apache-2.0, GPL, AGPL, MPL, etc.) are compatible with each other and a specified use case such as commercial, open-source, SaaS, or internal.","exampleAgentPrompt":"Are MIT, Apache-2.0, and GPL-3.0 licenses compatible with each other for a commercial product? I want to make sure I can legally combine these in my SaaS app.","exampleUseCases":[{"title":"Automated license check for CI/CD pipeline","prompt":"I'm setting up automated compliance checks in our CI/CD pipeline. Can you check if the licenses in our project dependencies are compatible for commercial use? We have MIT, Apache-2.0, and some BSD-3-Clause components that I need to verify before we deploy."},{"title":"Open-source project license compatibility validation","prompt":"We're starting an open-source project and want to ensure our dependencies work well together. Can you verify if MIT, LGPL-2.1, and MPL-2.0 licenses are compatible with each other? We plan to keep it fully open-source and want to make sure there are no conflicts."},{"title":"Internal tool dependency compliance review","prompt":"We're building an internal tool using several open-source libraries with different licenses. Can you check if AGPL-3.0, Apache-2.0, and MIT are compatible for internal use only? I want to make sure we're compliant before we finalize our dependencies."}],"resultDescription":"Returns a compatibility verdict indicating whether the provided SPDX licenses are mutually compatible and suitable for the given use case, along with any conflicts or restrictions between the licenses.","failureModes":["Unknown or non-SPDX license identifier returns an error or unsupported license response","Missing required 'licenses' query parameter returns a 400 bad request","Only one license provided may return trivially compatible result without conflict analysis","Invalid use_case value may be ignored or return an error","Payment failure or insufficient USDC returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify software license compatibility across 30+ SPDX licenses for a specific use case (commercial, SaaS, open-source, internal). Prefer this over manual legal review for quick automated compliance checks during dependency auditing, CI/CD pipelines, or when building software that combines multiple open-source components.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:59.774Z","isFirstParty":false,"canonicalSlug":"api-strale-io-ed91cef9"}