# Stack Facts License Compatibility Check

> Stack Facts License Compatibility Check is a paid API for AI agents from g5joilnmeep4ntz3nwezxt5dmu.srv.us, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Checks whether open-source package licenses are compatible with a project's license and intended use case (distribute, SaaS, or internal), returning verdicts and obligations per package.

## Facts

- Endpoint: POST https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/license/check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stack-facts-license-compatibility-check-45dbf2b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wERCT3RNtsHGxEF8cGzrD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stack-facts-license-compatibility-check-45dbf2b8 -d '<json body>'
```

Example prompt: Check if the licenses for express (MIT), lodash (MIT), and gpl-3.0-licensed code are compatible with my Apache-2.0 project that I plan to distribute publicly.

## When to prefer this

Choose this endpoint when you need automated, per-call license compatibility checking without setting up an account or API key, especially in agent workflows that process dependency lists before install or release. It's ideal for pay-as-you-go compliance checks that need to distinguish between distribute, SaaS, and internal use cases, with signed responses for auditability.

## Known failure modes

- Unknown or unrecognized license identifiers return 'unknown' verdict with no obligations
- More than 20 items in the items array will be rejected by schema validation
- Malformed PURL strings may cause item-level errors
- Payment in USDC not received causes 402 response and no data returned
- Ambiguous package names without ecosystem context may return incorrect license data

## How this service works

Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.

## Output

Returns a per-package verdict (compatible/incompatible/unknown), the normalized license identifier chosen, license class (permissive/copyleft/etc.), obligations (e.g. keep copyright notices), and a project-level summary with counts of compatible, incompatible, and unknown items. Also includes metadata about dataset freshness, SPDX list version, and rules version.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "use": {
   "enum": [
    "distribute",
    "saas",
    "internal"
   ],
   "type": "string"
  },
  "items": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "string",
      "maxLength": 512,
      "minLength": 1
     },
     {
      "type": "object",
      "properties": {
       "name": {
        "type": "string",
        "maxLength": 200
       },
       "purl": {
        "type": "string",
        "maxLength": 512
       },
       "license": {
        "type": "string",
        "maxLength": 200
       },
       "version": {
        "type": "string",
        "maxLength": 200
       },
       "ecosystem": {
        "type": "string",
        "maxLength": 200
       }
      },
      "additionalProperties": false
     }
    ]
   },
   "maxItems": 20,
   "minItems": 1
  },
  "project_license": {
   "type": "string",
   "maxLength": 200
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "project": {
    "use": "distribute",
    "class": "permissive",
    "license": "Apache-2.0"
   },
   "results": [
    {
     "class": "permissive",
     "input": "MIT",
     "chosen": "MIT",
     "licence": {},
     "package": null,
     "reasons": [],
     "verdict": "compatible",
     "obligations": [
      "Keep the copyright and licence …"
     ]
    }
   ],
   "summary": {
    "items": 3,
    "unknown": 0,
    "compatible": 2,
    "conditions": 0,
    "incompatible": 1
   },
   "verdict": "incompatible"
  },
  "meta": {
   "stale": false,
   "notice": "Normalised (modified) from the …",
   "dataset": "license",
   "licences": "/licences",
   "attribution": "Licence ids and names from the …",
   "rules_version": "2026-10-12",
   "spdx_list_version": "3.29.0"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stack-facts-license-compatibility-check-45dbf2b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from g5joilnmeep4ntz3nwezxt5dmu.srv.us](https://www.zero.xyz/host/g5joilnmeep4ntz3nwezxt5dmu.srv.us/llms.txt)
