# License Intel – SPDX Deprecated Check

> License Intel – SPDX Deprecated Check 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).

Check up to 50 SPDX license IDs to determine whether each is current, deprecated, or unknown, and get suggested modern GNU -only/-or-later equivalents.

## Facts

- Endpoint: GET https://license-intel.x402tookit.com/deprecated-check?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-spdx-deprecated-check-517c3377
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W9u59wyVKMCyXqBCrFZ_o

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-spdx-deprecated-check-517c3377
```

Example prompt: Check whether these license IDs are current, deprecated, or unknown according to SPDX: GPL-2.0, LGPL-2.1, MIT, Apache-2.0, and Classpath-exception-2.0 — and if any are deprecated, tell me the suggested modern replacement.

## When to prefer this

Use this endpoint when you need to batch-validate a known list of SPDX license identifiers for deprecation status and want modern GNU replacement suggestions. Prefer it over the single-ID lookup endpoint when processing multiple licenses at once (up to 50), and over the expression validator when working with individual flat IDs rather than compound SPDX expressions.

## Known failure modes

- More than 50 IDs submitted — excess IDs may appear in notChecked array
- Malformed or empty ids parameter — likely returns an error or empty results
- SPDX list temporarily unavailable — degraded flag set to true with partial or no results
- Network timeout or upstream API outage — service may return error response

## How this service works

Check a list of license ids against SPDX: current, deprecated or unknown, with the modern GNU -only / -or-later form.

## Output

Returns a per-ID breakdown with deprecation status (current, deprecated, or unknown), canonical SPDX ID, and suggested modern replacement (e.g. GPL-2.0-only or GPL-2.0-or-later) for each queried license. Also provides an overall verdict, summary, deprecated count, unknown count, SPDX list version and date, source URL, and any IDs that could not be checked.

## 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": [
      "ids"
     ],
     "properties": {
      "ids": {
       "type": "string",
       "description": "License ids separated by commas, up to 50, for example GPL-2.0,MIT,Apache-2.0"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "results": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": [
           "null",
           "string"
          ]
         },
         "status": {
          "type": [
           "null",
           "string"
          ]
         },
         "suggested": {
          "type": [
           "null",
           "string"
          ]
         },
         "canonicalId": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
        "null",
        "string"
       ]
      },
      "listVersion": {
       "type": [
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/license-intel-spdx-deprecated-check-517c3377/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)
