x402

License Compatibility Check (x402)

Check software license compatibility for a given use case

get/x402/v2/license-compatibility-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/license-compatibility-check
  • Auth: none required

Query parameters

licensesstring[] required

SPDX license identifiers

use_casestring

commercial, open-source, saas, internal

Response

Success

summarystring
use_casestring
compatibleboolean
license_countinteger

Example response

{
  "summary": "All 1 licenses are compatible for commercial use.",
  "use_case": "commercial",
  "warnings": [],
  "conflicts": [],
  "compatible": true,
  "license_count": 1,
  "licenses_analyzed": [
    {
      "type": "permissive",
      "input": "MIT",
      "spdx_id": "MIT",
      "osi_approved": true,
      "compatible_with_use_case": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.