{"uid":"cap_RVfl5FUtcWratztRxs4ey","slug":"brainiac-software-license-compatibility-check-a7447b1d","name":"BRAINIAC Software License Compatibility Check","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/software-security/license-compatibility-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sbom":{"type":"string","maxLength":400000,"minLength":2},"policy":{"type":"object","properties":{"deny":{"type":"array","items":{"type":"string","maxLength":80,"minLength":1},"maxItems":30},"allow":{"type":"array","items":{"type":"string","maxLength":80,"minLength":1},"maxItems":30}},"additionalProperties":false},"components":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"purl":{"type":"string","maxLength":500,"minLength":4},"license":{"type":"string","maxLength":200,"minLength":1},"version":{"type":"string","maxLength":100,"minLength":1},"ecosystem":{"type":"string","maxLength":40,"minLength":1}},"additionalProperties":false},"maxItems":25,"minItems":1}}},"responseSchema":{"type":"json","example":{"sources":[{"url":"https://registry.npmjs.org","detail":"npm, PyPI, crates.io, and RubyGems records are read when the ecosystem matches.","source":"Package registry","status":"ok","retrievedAt":"2026-11-02T18:00:00.000Z"}],"warnings":["Only the first 25 components were checked."],"truncated":false,"components":[{"name":"lodash","purl":"pkg:npm/lodash@4.17.21","policy":"allowed","problem":null,"version":"4.17.21","ecosystem":"npm","registryDetail":null,"registryStatus":"retrieved","declaredLicense":"MIT","registryLicense":"MIT"}],"limitations":["Without an allow or deny policy, licences are reported and not judged compatible."],"retrievedAt":"2026-11-02T18:00:00.000Z","approvesRelease":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TGrxFBJ9yiL-aRgF14tBp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks software components or an SBOM against a license policy to determine compatibility and release approval","exampleAgentPrompt":"Check whether my project's dependencies are license-compatible for a commercial release — here's the SBOM: [sbom content]. Deny any GPL or LGPL licenses and allow MIT, Apache-2.0, and BSD.","exampleUseCases":[{"title":"Pre-release license compliance gate","prompt":"Before we ship this release, check whether all our npm and PyPI dependencies are compatible with our commercial license policy — deny any GPL, AGPL, or LGPL licenses, and allow MIT and Apache-2.0. Here's the component list: lodash@4.17.21 (npm), requests@2.31.0 (PyPI), and flask@3.0.0 (PyPI)."},{"title":"SBOM audit for open source project","prompt":"I have an SBOM from our latest build — can you run a license compatibility check on it and tell me if anything would block a public open-source release? Allow MIT, BSD, and Apache-2.0, and flag anything else as a problem."},{"title":"Identify copyleft violations in dependency tree","prompt":"Scan these 10 packages from our Rust project for license issues and tell me which ones use copyleft licenses like GPL. Deny GPL-2.0, GPL-3.0, and LGPL, and let me know if the release is approved or not."}],"resultDescription":"Returns a per-component breakdown with declared and registry-verified licenses, policy decision (allowed/denied), any problems found, and a top-level approvesRelease boolean. Also includes warnings (e.g. truncation), source retrieval status from package registries (npm, PyPI, crates.io, RubyGems), and limitations notes.","failureModes":["Invalid or unparseable SBOM content returns an error","More than 25 components triggers truncation with a warning","Unrecognized ecosystem may result in missing registry license lookups","Missing or malformed purl causes registry lookup to fail for that component","No policy provided results in licenses being reported without a pass/fail judgment"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call license compliance check with no account setup, especially in CI/CD pipelines or agent workflows that handle SBOMs or component lists. It is well-suited when you need real-time registry lookups from npm, PyPI, crates.io, or RubyGems alongside a custom allow/deny policy. Prefer it over heavyweight SCA platforms when you want lightweight, per-invocation pricing via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:04.359Z","isFirstParty":false,"canonicalSlug":"brainiac-software-license-compatibility-check-a7447b1d"}