# License Intel - Compare Two SPDX Licenses Side by Side

> License Intel - Compare Two SPDX Licenses Side by Side is a paid API for AI agents from license-intel.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Compares two open-source licenses by SPDX ID, returning what each permits, requires, and disclaims, plus which is stricter.

## Facts

- Endpoint: GET https://license-intel.x402tookit.com/license-compare?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/license-intel-compare-two-spdx-licenses-side-by-side-72cbb20d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EkMt0QLpv1o6B84_L3R87

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 license-intel-compare-two-spdx-licenses-side-by-side-72cbb20d
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Compare two open-source licenses side by side: what each permits, requires and disclaims, and which is stricter.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/license-intel-compare-two-spdx-licenses-side-by-side-72cbb20d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from license-intel.x402tookit.com](https://www.zero.xyz/host/license-intel.x402tookit.com/llms.txt)
